/* ================================================
   TravelAgent — Design System & Styles
   Inspired by Klook.com
   ================================================ */

/* --- CSS Custom Properties --- */
:root {
    --primary: #F45D48;
    --primary-hover: #e04a35;
    --primary-light: #fff0ee;
    --secondary: #FF8C42;
    --accent: #6C63FF;
    --text-primary: #1a1a2e;
    --text-secondary: #555770;
    --text-muted: #8b8da3;
    --bg-primary: #ffffff;
    --bg-secondary: #f7f8fc;
    --bg-tertiary: #eef0f6;
    --border-color: #e8eaf0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 5px;
    --radius-full: 50%;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 64px;
    --nav-height: 48px;
    --max-width: 1220px;
}

/* --- Green Theme (go365.vn inspired) --- */
[data-theme="green"] {
    --primary: #244900;
    --primary-hover: #1a3500;
    --primary-light: #e8f0de;
    --secondary: #ff5c00;
    --accent: #7a9c59;
    --text-primary: #1a1a1a;
    --text-secondary: #444444;
    --text-muted: #757575;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    padding-top: calc(var(--header-height) + var(--nav-height));
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul { list-style: none; }

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input {
    font-family: inherit;
    border: none;
    outline: none;
}

/* --- Container --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================
   HEADER
   ================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.header-search-shell {
    flex: 1;
    max-width: 700px;
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-form {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    background: var(--bg-primary);
    border: 1px solid rgba(244, 93, 72, 0.15);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.header-search-shell:focus-within .header-search-form,
.header-search-shell.is-open .header-search-form {
    transform: translateY(-1px);
    border-color: rgba(244, 93, 72, 0.28);
    box-shadow: 0 18px 36px rgba(244, 93, 72, 0.14);
}

.header-search-input-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-icon {
    position: absolute;
    left: 16px;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}

.header-search-input-wrap input {
    width: 100%;
    min-width: 0;
    padding: 14px 16px 14px 46px;
    background: transparent;
    font-size: 0.96rem;
    color: var(--text-primary);
}

.header-search-input-wrap input::placeholder {
    color: var(--text-muted);
}

.header-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(244, 93, 72, 0.22);
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    flex-shrink: 0;
}

.header-search-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(244, 93, 72, 0.28);
}

.header-search-submit:disabled {
    opacity: 0.75;
    cursor: wait;
}

.header-search-submit svg {
    width: 18px;
    height: 18px;
}

.header-search-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.header-search-mobile-toggle svg {
    width: 20px;
    height: 20px;
}

.header-search-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    box-shadow: var(--shadow-xl);
    z-index: 1002;
}

.header-search-loading,
.header-search-empty {
    padding: 14px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.header-search-group + .header-search-group {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.header-search-group h3 {
    margin-bottom: 8px;
    padding: 0 8px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.header-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border-radius: 16px;
    transition: background var(--transition), transform var(--transition), color var(--transition);
}

.header-search-item:hover,
.header-search-item.active {
    background: var(--primary-light);
    color: var(--text-primary);
    transform: translateX(2px);
}

.header-search-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(244, 93, 72, 0.1);
    color: var(--primary);
    flex-shrink: 0;
}

.header-search-item-icon svg {
    width: 18px;
    height: 18px;
}

.header-search-item-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.header-search-item-copy strong {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--text-primary);
}

.header-search-item-copy small {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition);
}

.header-btn svg {
    width: 20px;
    height: 20px;
}

.header-btn:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

/* ================================================
   NAVIGATION
   ================================================ */
.site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-item > a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.dropdown-arrow {
    width: 14px;
    height: 14px;
    transition: transform var(--transition);
}

/* Mega Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 600px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    pointer-events: none;
    border: 1px solid var(--border-color);
}

.nav-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mega-menu-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.mega-menu-col a {
    display: block;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.mega-menu-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
    position: relative;
    height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.7) 0%, rgba(244, 93, 72, 0.4) 50%, rgba(255, 140, 66, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 24px;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 28px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(244, 93, 72, 0.4);
}

.hero-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244, 93, 72, 0.5);
}

/* ================================================
   SECTION COMMON
   ================================================ */
.section {
    padding: 64px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px 32px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* ================================================
   OFFERS CAROUSEL
   ================================================ */
.carousel-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 4px 0 16px;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.offer-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    cursor: pointer;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.offer-card-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.offer-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    letter-spacing: 0.3px;
}

.offer-card-body {
    padding: 16px;
}

.offer-card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.offer-card-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition);
    cursor: pointer;
}

.carousel-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-btn-left {
    left: 4px;
}

.carousel-btn-right {
    right: 4px;
}

/* ================================================
   DESTINATION CARDS (Top Destinations Carousel)
   ================================================ */
.destination-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.destination-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.destination-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.destination-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    transition: background var(--transition);
}

.destination-card:hover .destination-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
}

.destination-card-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    width: 100%;
}

.destination-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.destination-tour-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.destination-tour-count svg {
    width: 14px;
    height: 14px;
}

/* ================================================
   INSPIRATION GRID
   ================================================ */
.inspiration-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.inspiration-item {
    text-align: center;
    transition: all var(--transition);
}

.inspiration-item:hover {
    transform: translateY(-4px);
}

.inspiration-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    margin: 0 auto 14px;
    background-size: cover;
    background-position: center;
    border: 4px solid var(--bg-primary);
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.inspiration-item:hover .inspiration-image {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light), var(--shadow-md);
}

.inspiration-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ================================================
   TABS — Travelers' Favorite
   ================================================ */
.tabs-header {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 32px;
}

.tab-btn {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    bottom: -2px;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

/* ================================================
   ACTIVITY CARD
   ================================================ */
.activity-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.activity-card-image {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.activity-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.15));
}

.activity-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    z-index: 1;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.activity-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.activity-card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-card-body h3 a {
    transition: color var(--transition);
}

.activity-card-body h3 a:hover {
    color: var(--primary);
}

.activity-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.transport-card-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.transport-card-kicker span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.transport-card-kicker span + span::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: var(--text-muted);
}

.activity-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    gap: 8px; /* space between rating and price */
    flex-wrap: nowrap;
}

.activity-card-meta--price-only {
    justify-content: flex-end;
}

.activity-rating {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    min-width: 0;
}

.activity-rating span {
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.2;
}

.activity-rating svg {
    width: 14px;
    height: 14px;
    fill: #FBBF24;
    stroke: none;
    flex-shrink: 0;
}

.activity-rating strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1.2;
}

.activity-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.activity-price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
}

.section-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    transition: all var(--transition);
}

.section-more-link:hover {
    gap: 10px;
}

.section-more-link svg {
    width: 18px;
    height: 18px;
}

/* ================================================
   APP DOWNLOAD CTA
   ================================================ */
.app-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-text h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.app-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.app-email-form {
    display: flex;
    gap: 12px;
}

.app-email-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.app-email-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.app-email-form button {
    padding: 14px 28px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
}

.app-email-form button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.app-image {
    display: flex;
    justify-content: center;
}

.app-image-placeholder {
    width: 280px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 50%, rgba(108,99,255,0.08) 100%);
    border-radius: 36px;
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.app-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--primary);
    border-radius: 36px 36px 0 0;
}

.app-image-placeholder svg {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    color: #fff;
    margin-top: 10px;
}

.app-image-placeholder span {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ================================================
   WHY CHOOSE US
   ================================================ */
.why-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-item {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    transition: all var(--transition);
}

.why-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.why-item:hover .why-icon {
    background: var(--primary);
}

.why-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    transition: color var(--transition);
}

.why-item:hover .why-icon svg {
    color: #fff;
}

.why-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
    background: var(--text-primary);
    color: #ccc;
    padding: 60px 0 0;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    color: var(--primary);
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.6);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: rgba(255,255,255,0.6);
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    transition: all var(--transition);
}

.footer-col ul a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.support-hotline {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
}

.support-hotline svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.support-hotline small {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 2px;
}

.support-hotline strong {
    color: #fff;
    font-size: 0.95rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.35);
    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ================================================
   ACTIVITIES LIST PAGE
   ================================================ */
.page-header {
    padding: 40px 0 24px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.page-header .container h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.page-header .container p {
    color: var(--text-secondary);
}

.filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px 24px 0;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.filter-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-pill.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.activities-list-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

/* Pagination */
.pagination {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px 48px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}

.pagination a {
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
}

/* ================================================
   ACTIVITY DETAIL PAGE
   ================================================ */
.breadcrumb {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb svg {
    width: 14px;
    height: 14px;
}

.detail-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px 64px;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
}

.detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
}

.detail-info {
    padding-top: 8px;
}

.detail-badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 6px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.detail-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.detail-rating svg {
    width: 16px;
    height: 16px;
    fill: #FBBF24;
}

.detail-rating strong {
    color: var(--text-primary);
}

.detail-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.detail-price-block {
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.detail-price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.detail-price small {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.btn-book {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-book:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244, 93, 72, 0.4);
}

/* ================================================
   SEARCH RESULTS PAGE
   ================================================ */
.search-page-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 26px;
    background:
        radial-gradient(circle at top left, rgba(255, 140, 66, 0.18), transparent 34%),
        radial-gradient(circle at top right, rgba(244, 93, 72, 0.12), transparent 28%),
        linear-gradient(180deg, #fff7f3 0%, #ffffff 72%);
    border-bottom: 1px solid rgba(244, 93, 72, 0.08);
}

.search-page-hero-content {
    max-width: 760px;
}

.search-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(244, 93, 72, 0.1);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-page-hero h1 {
    margin-top: 16px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.search-page-hero p {
    margin-top: 12px;
    font-size: 1.02rem;
    color: var(--text-secondary);
}

.search-page-section {
    padding: 28px 0 64px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.search-page-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.search-filters-card {
    position: sticky;
    top: calc(var(--header-height) + var(--nav-height) + 24px);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.search-filters-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 0.98rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.search-filters-card summary::-webkit-details-marker {
    display: none;
}

.search-filters-card summary svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition);
}

.search-filters-card[open] summary svg {
    transform: rotate(180deg);
}

.search-filters-form {
    display: grid;
    gap: 24px;
    padding: 0 24px 24px;
}

.search-filter-group {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.search-filter-group h2 {
    margin-bottom: 12px;
    font-size: 0.92rem;
    font-weight: 700;
}

.search-filter-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    font-size: 0.94rem;
    color: var(--text-secondary);
}

.search-filter-option input {
    width: 17px;
    height: 17px;
    accent-color: var(--primary);
}

.search-filter-option small {
    color: var(--text-muted);
}

.search-price-range {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.search-price-range label span {
    display: block;
    margin-bottom: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.search-price-range input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-secondary);
    font-size: 0.92rem;
    color: var(--text-primary);
}

.search-filter-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.search-filter-submit,
.search-result-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(244, 93, 72, 0.2);
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.search-filter-submit:hover,
.search-result-primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(244, 93, 72, 0.24);
}

.search-filter-submit:disabled,
.search-result-primary-btn:disabled {
    opacity: 0.72;
    cursor: wait;
}

.search-filter-reset,
.search-toolbar-reset,
.search-result-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 700;
    transition: all var(--transition);
}

.search-filter-reset:hover,
.search-toolbar-reset:hover,
.search-result-secondary-btn:hover {
    border-color: rgba(244, 93, 72, 0.24);
    color: var(--primary);
    background: var(--primary-light);
}

.search-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 0 4px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.search-results-toolbar strong {
    color: var(--text-primary);
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.search-result-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 24px;
    border: 1px solid rgba(232, 234, 240, 0.95);
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.search-result-card:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 93, 72, 0.16);
    box-shadow: var(--shadow-lg);
}

.search-result-media {
    position: relative;
    min-height: 220px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.search-result-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.44) 100%);
    z-index: -1;
}

.search-result-type,
.search-result-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.search-result-type {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
}

.search-result-badge {
    background: rgba(244, 93, 72, 0.92);
    color: #fff;
}

.search-result-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    min-height: 0;
}

.search-result-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.search-result-location svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.search-result-title-link h2 {
    font-size: 1.16rem;
    line-height: 1.38;
    letter-spacing: -0.02em;
}

.search-result-title-link:hover h2 {
    color: var(--primary);
}

.search-result-description {
    min-height: 64px;
    color: var(--text-secondary);
    font-size: 0.93rem;
}

.search-result-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-result-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.77rem;
    font-weight: 700;
}

.search-result-meta-line {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.search-result-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
}

.search-result-footer--price-only {
    justify-content: flex-end;
}

.search-result-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.search-result-rating svg {
    width: 16px;
    height: 16px;
    color: #f4b400;
    flex-shrink: 0;
}

.search-result-price {
    text-align: right;
}

.search-result-price span {
    display: block;
    margin-bottom: 2px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.search-result-price strong {
    font-size: 1.16rem;
    line-height: 1;
}

.search-result-actions {
    display: flex;
    gap: 12px;
}

.search-add-form {
    flex: 1;
}

.search-add-form .search-result-primary-btn {
    width: 100%;
    border: none;
}

.search-result-primary-btn--link {
    text-decoration: none;
}

.search-empty-state {
    padding: 54px 28px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.search-empty-state h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.search-empty-state p {
    max-width: 520px;
    margin: 0 auto 20px;
    color: var(--text-secondary);
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 1024px) {
    .mega-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .detail-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .detail-image {
        height: 320px;
    }

    .search-page-layout {
        grid-template-columns: 1fr;
    }

    .search-filters-card {
        position: static;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 56px;
    }

    .header-container {
        gap: 12px;
    }

    .header-search-shell {
        flex: 0 0 auto;
        max-width: none;
    }

    .header-search-mobile-toggle {
        display: inline-flex;
    }

    .header-search-form {
        position: fixed;
        top: calc(var(--header-height) + 10px);
        left: 12px;
        right: 12px;
        width: auto;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        z-index: 1003;
    }

    .header-search-dropdown {
        position: fixed;
        top: calc(var(--header-height) + 78px);
        left: 12px;
        right: 12px;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        z-index: 1003;
    }

    .header-search-shell.is-open .header-search-form,
    .header-search-shell.is-open .header-search-dropdown {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .header-search-submit {
        padding: 12px 14px;
    }

    .header-search-submit span {
        display: none;
    }

    .header-btn span {
        display: none;
    }

    .header-hold-timer {
        padding: 3px 8px;
        gap: 4px;
        font-size: 0.72rem;
    }

    .header-hold-timer strong {
        font-size: 0.78rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        height: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background: var(--bg-primary);
        border-bottom: none;
        box-shadow: var(--shadow-lg);
    }

    .site-nav.open {
        max-height: 300px;
        border-bottom: 1px solid var(--border-color);
    }

    body {
        padding-top: var(--header-height);
    }

    .nav-list {
        flex-direction: column;
        padding: 8px 0;
    }

    .nav-item > a {
        padding: 14px 24px;
        border-bottom: none;
    }

    .mega-menu {
        position: static;
        transform: none;
        min-width: auto;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 24px 16px 40px;
        display: none;
    }

    .nav-dropdown:hover .mega-menu {
        display: block;
        transform: none;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .hero {
        height: 360px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .inspiration-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .inspiration-image {
        width: 90px;
        height: 90px;
    }

    .app-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .app-email-form {
        flex-direction: column;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .tab-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .activities-grid,
    .activities-list-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .detail-image {
        height: 250px;
    }

    .detail-info h1 {
        font-size: 1.5rem;
    }

    .search-page-hero {
        padding: 28px 0 20px;
    }

    .search-page-hero h1 {
        font-size: 2rem;
    }

    .search-filters-card {
        border-radius: 18px;
    }

    .search-filters-form {
        padding: 0 18px 18px;
    }

    .search-price-range,
    .search-filter-actions {
        grid-template-columns: 1fr;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
    }

    .search-results-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-result-media {
        min-height: 200px;
    }

    .search-result-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .offer-card {
        flex: 0 0 260px;
    }

    .carousel-btn {
        display: none;
    }

    .tabs-header {
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .tabs-header::-webkit-scrollbar {
        display: none;
    }

    .activities-grid,
    .activities-list-grid {
        grid-template-columns: 1fr;
    }

    .app-image-placeholder {
        width: 220px;
        height: 400px;
    }
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger children */
.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.15s; }
.stagger > *:nth-child(4) { animation-delay: 0.2s; }
.stagger > *:nth-child(5) { animation-delay: 0.25s; }
.stagger > *:nth-child(6) { animation-delay: 0.3s; }
.stagger > *:nth-child(7) { animation-delay: 0.35s; }
.stagger > *:nth-child(8) { animation-delay: 0.4s; }

/* ================================================
   TOUR DETAIL PAGE (KKDay-inspired, Klook style)
   ================================================ */

/* --- Breadcrumb (Tour Detail) --- */
.td-breadcrumb {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.td-breadcrumb .tour-container {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.td-breadcrumb a {
    color: var(--text-secondary);
    transition: color var(--transition);
}

.td-breadcrumb a:hover {
    color: var(--primary);
}

.td-breadcrumb svg {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.td-breadcrumb span {
    color: var(--text-muted);
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- Image Gallery --- */
.td-gallery {
    padding: 20px 0;
}

.td-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 8px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
}

.td-gallery-main {
    position: relative;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: filter var(--transition);
}

.td-gallery-main:hover {
    filter: brightness(0.95);
}

.td-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.td-gallery-expand {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 2;
}

.td-gallery-expand:hover {
    background: rgba(0,0,0,0.8);
}

.td-gallery-expand svg {
    width: 16px;
    height: 16px;
}

.td-gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
}

.td-gallery-thumb {
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: filter var(--transition);
}

.td-gallery-thumb:hover {
    filter: brightness(0.9);
}

.td-gallery-more {
    position: relative;
}

.td-gallery-more::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.td-gallery-more span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    z-index: 1;
}

/* --- Title & Meta Section --- */
.td-title-section {
    padding: 24px 0 20px;
    border-bottom: 1px solid var(--border-color);
}

.td-title-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.td-title-main {
    flex: 1;
    min-width: 0;
}

.td-title-main h1 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.td-meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.td-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.td-rating-badge svg {
    width: 18px;
    height: 18px;
}

.td-rating-badge strong {
    font-weight: 700;
    color: var(--text-primary);
}

.td-rating-badge span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.td-meta-divider {
    width: 1px;
    height: 18px;
    background: var(--border-color);
}

.td-booked-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.td-booked-badge svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

.td-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.td-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.td-chip svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--text-muted);
}

.td-chip-confirm {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #15803d;
}

.td-chip-confirm svg {
    color: #22c55e;
}

.td-title-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.td-action-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    background: var(--bg-primary);
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-secondary);
}

.td-action-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.td-action-btn svg {
    width: 20px;
    height: 20px;
}

/* --- Sticky Section Navigation --- */
.td-section-nav {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 90;
    transition: box-shadow var(--transition);
}

.td-section-nav.is-sticky {
    position: fixed;
    top: calc(var(--header-height) + var(--nav-height));
    left: 0;
    right: 0;
    box-shadow: var(--shadow-sm);
}

.td-section-nav-inner {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.td-section-nav-inner::-webkit-scrollbar {
    display: none;
}

.td-nav-link {
    display: block;
    padding: 14px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all var(--transition);
}

.td-nav-link:hover {
    color: var(--text-primary);
}

.td-nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* --- Tour Layout Container --- */
.tour-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.tour-layout {
    padding: 32px 0 80px;
}

.tour-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 38px;
    align-items: start;
}

/* --- Content Sections (scrollable, not tabbed) --- */
.td-content-section {
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: 180px;
}

.td-content-section:last-child {
    border-bottom: none;
}

.td-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.td-section-title svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

/* --- Highlights List --- */
.td-highlights-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.td-highlight-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    transition: background var(--transition);
}

.td-highlight-row:hover {
    background: var(--bg-secondary);
}

.td-highlight-bullet {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.td-highlight-bullet svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.td-highlight-row span {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.55;
    padding-top: 8px;
}

/* --- Overview / Detail Rich Content --- */
.tour-rich-content {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.85;
    position: relative;
}

.tour-description-content {
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.tour-description-content.is-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--bg-primary));
    pointer-events: none;
}

.tour-rich-content p {
    margin-bottom: 16px;
}

.tour-rich-content h2,
.tour-rich-content h3,
.tour-rich-content h4 {
    color: var(--text-primary);
    margin: 20px 0 10px;
}

.tour-rich-content ul,
.tour-rich-content ol {
    margin: 0 0 16px 20px;
    padding-left: 0;
}

.tour-rich-content ul {
    list-style: disc;
}

.tour-rich-content ol {
    list-style: decimal;
}

.tour-rich-content li {
    margin-bottom: 8px;
}

.tour-rich-content a {
    color: var(--primary);
}

.tour-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.tour-editor-content {
    white-space: normal;
    word-break: break-word;
}

.tour-editor-content > :first-child {
    margin-top: 0;
}

.tour-editor-content > :last-child {
    margin-bottom: 0;
}

.tour-editor-content h1,
.tour-editor-content h5,
.tour-editor-content h6 {
    color: var(--text-primary);
    margin: 20px 0 10px;
    line-height: 1.35;
}

.tour-editor-content blockquote {
    margin: 16px 0;
    padding: 12px 0 12px 16px;
    border-left: 4px solid var(--border-color);
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.tour-editor-content pre,
.tour-editor-content .ql-code-block-container {
    margin: 16px 0;
    padding: 12px 14px;
    overflow-x: auto;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.88rem;
    line-height: 1.65;
}

.tour-editor-content code {
    padding: 0.15em 0.35em;
    border-radius: 4px;
    background: var(--bg-secondary);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.88em;
}

.tour-editor-content pre code,
.tour-editor-content .ql-code-block-container code {
    padding: 0;
    background: transparent;
}

.tour-editor-content .ql-font-serif {
    font-family: Georgia, "Times New Roman", serif;
}

.tour-editor-content .ql-font-monospace {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.tour-editor-content .ql-size-small {
    font-size: 0.75em;
}

.tour-editor-content .ql-size-large {
    font-size: 1.5em;
}

.tour-editor-content .ql-size-huge {
    font-size: 2.5em;
}

.tour-editor-content .ql-align-center {
    text-align: center;
}

.tour-editor-content .ql-align-right {
    text-align: right;
}

.tour-editor-content .ql-align-justify {
    text-align: justify;
}

.tour-editor-content .ql-direction-rtl {
    direction: rtl;
    text-align: inherit;
}

.tour-editor-content .ql-video {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 240px;
    margin: 16px 0;
    border: 0;
    border-radius: var(--radius-sm);
}

.tour-editor-content li[data-list] > .ql-ui {
    display: none;
}

.tour-editor-content li[data-list] {
    padding-left: 0.25em;
}

.tour-editor-content li[data-list="bullet"] {
    list-style-type: disc;
}

.tour-editor-content li[data-list="ordered"] {
    list-style-type: decimal;
}

.tour-editor-content li[data-list="checked"],
.tour-editor-content li[data-list="unchecked"] {
    position: relative;
    list-style: none;
    padding-left: 1.75em;
}

.tour-editor-content li[data-list="checked"]::before,
.tour-editor-content li[data-list="unchecked"]::before {
    position: absolute;
    left: 0;
    top: 0.1em;
    color: var(--text-muted);
    font-size: 0.95em;
}

.tour-editor-content li[data-list="checked"]::before {
    content: "\2611";
}

.tour-editor-content li[data-list="unchecked"]::before {
    content: "\2610";
}

.tour-editor-content .ql-indent-1:not(.ql-direction-rtl) {
    margin-left: 1.5em;
}

.tour-editor-content .ql-indent-2:not(.ql-direction-rtl) {
    margin-left: 3em;
}

.tour-editor-content .ql-indent-3:not(.ql-direction-rtl) {
    margin-left: 4.5em;
}

.tour-editor-content .ql-indent-4:not(.ql-direction-rtl) {
    margin-left: 6em;
}

.tour-editor-content .ql-indent-5:not(.ql-direction-rtl) {
    margin-left: 7.5em;
}

.tour-editor-content .ql-indent-6:not(.ql-direction-rtl) {
    margin-left: 9em;
}

.tour-editor-content .ql-indent-7:not(.ql-direction-rtl) {
    margin-left: 10.5em;
}

.tour-editor-content .ql-indent-8:not(.ql-direction-rtl) {
    margin-left: 12em;
}

.tour-editor-content .ql-indent-9:not(.ql-direction-rtl) {
    margin-left: 13.5em;
}

.tour-editor-content li.ql-indent-1[data-list="ordered"] {
    list-style-type: lower-alpha;
}

.tour-editor-content li.ql-indent-2[data-list="ordered"] {
    list-style-type: lower-roman;
}

.tour-editor-content li.ql-indent-3[data-list="ordered"] {
    list-style-type: decimal;
}

.tour-editor-content li.ql-indent-4[data-list="ordered"] {
    list-style-type: lower-alpha;
}

.tour-editor-content li.ql-indent-5[data-list="ordered"] {
    list-style-type: lower-roman;
}

.tour-editor-content li.ql-indent-6[data-list="ordered"] {
    list-style-type: decimal;
}

.tour-editor-content li.ql-indent-7[data-list="ordered"] {
    list-style-type: lower-alpha;
}

.tour-editor-content li.ql-indent-8[data-list="ordered"] {
    list-style-type: lower-roman;
}

.tour-editor-content li.ql-indent-9[data-list="ordered"] {
    list-style-type: decimal;
}

.tour-editor-content li.ql-indent-1[data-list="bullet"] {
    list-style-type: circle;
}

.tour-editor-content li.ql-indent-2[data-list="bullet"] {
    list-style-type: square;
}

.td-detail-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tour-rich-content table {
    width: 100%;
    min-width: 640px;
    margin: 20px 0;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.tour-rich-content th,
.tour-rich-content td {
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    vertical-align: top;
    text-align: left;
}

.tour-rich-content th {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 700;
}

.td-read-more-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 10px 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.td-read-more-btn:hover {
    color: var(--primary-hover);
}

.td-read-more-btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition);
}

.td-read-more-btn.is-expanded svg {
    transform: rotate(180deg);
}

/* --- Inclusions & Exclusions --- */
.inclusions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.inclusion-item,
.exclusion-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.inclusion-item svg,
.exclusion-item svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 1px;
}

/* --- FAQ Accordion --- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    list-style: none;
    transition: all var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    display: none;
    content: '';
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question span:first-child {
    flex: 1;
}

.faq-category {
    flex-shrink: 0;
    padding: 3px 10px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.faq-chevron {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: var(--text-muted);
    transition: transform var(--transition);
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    margin: 0 20px;
}

.faq-answer-content {
    padding: 16px 0 20px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-answer-content h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin-bottom: 12px;
}

.faq-answer-content li {
    margin-bottom: 6px;
}

.faq-answer-content p {
    margin: 8px 0;
}

/* --- Policies Grid --- */
.policies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.policy-card {
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.policy-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.policy-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.policy-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.policy-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.policy-card p {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Reviews Section (KKDay-style with breakdown) --- */
.td-reviews-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 28px;
}

.td-reviews-header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.td-reviews-score-block {
    text-align: center;
    min-width: 140px;
}

.td-reviews-big-score {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.td-reviews-max {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
}

.td-reviews-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin: 10px 0 6px;
}

.td-reviews-stars svg {
    width: 20px;
    height: 20px;
}

.td-reviews-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.td-reviews-breakdown {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 6px;
}

.td-breakdown-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.td-breakdown-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 14px;
    text-align: right;
}

.td-breakdown-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.td-breakdown-fill {
    height: 100%;
    background: #FBBF24;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.td-breakdown-pct {
    font-size: 0.8rem;
    color: var(--text-muted);
    min-width: 32px;
    text-align: right;
}

.reviews-empty {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-align: center;
}

.td-reviews-actions {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn-write-review {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-xl);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    background: none;
}

.btn-write-review svg {
    width: 18px;
    height: 18px;
}

.btn-write-review:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

/* --- Booking Sidebar --- */
.tour-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--nav-height) + 24px);
}

.tour-booking-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.booking-price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.booking-price {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.booking-price span {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.booking-price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* --- Booking Form Fields --- */
.td-booking-field {
    margin-bottom: 18px;
}

.td-field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.td-field-label svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

.td-date-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: border-color var(--transition), box-shadow var(--transition);
    font-family: inherit;
}

.td-date-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.td-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-tertiary);
}

.td-qty-row:last-child {
    border-bottom: none;
}

.td-qty-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.td-qty-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.td-qty-price {
    font-size: 0.70rem;
    color: var(--text-muted);
}

.td-qty-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.td-qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-primary);
}

.td-qty-btn:hover:not(:disabled) {
    background: var(--primary-light);
    color: var(--primary);
}

.td-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.td-qty-btn svg {
    width: 16px;
    height: 16px;
}

.td-qty-value {
    width: 40px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* --- Booking Total --- */
.td-booking-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin-bottom: 16px;
    border-top: 1px solid var(--border-color);
}

.td-booking-total span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.td-booking-total strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-book-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    margin-bottom: 20px;
}

.btn-book-now svg {
    width: 22px;
    height: 22px;
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244, 93, 72, 0.4);
    filter: brightness(1.05);
}

/* --- Trust Badges --- */
.td-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.td-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.td-trust-item svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

/* --- Mobile Sticky Book Bar --- */
.mobile-book-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 12px 24px;
    z-index: 998;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mobile-book-price span {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.mobile-book-price small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-book-now-mobile {
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-book-now-mobile:hover {
    filter: brightness(1.05);
}

/* ================================================
   TOUR DETAIL — RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .tour-grid {
        grid-template-columns: 1fr 320px;
        gap: 28px;
    }

    .td-gallery-grid {
        grid-template-columns: 1fr 220px;
        height: 360px;
    }
}

@media (max-width: 768px) {
    .td-gallery-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .td-gallery-main {
        height: 280px;
    }

    .td-gallery-side {
        display: none;
    }

    .td-title-main h1 {
        font-size: 1.4rem;
    }

    .td-title-grid {
        flex-direction: column;
        gap: 12px;
    }

    .td-title-actions {
        order: -1;
        align-self: flex-end;
    }

    .td-chips {
        gap: 6px;
    }

    .td-chip {
        font-size: 0.76rem;
        padding: 5px 10px;
    }

    .td-section-nav.is-sticky {
        top: calc(var(--header-height) + var(--nav-height));
    }

    .td-nav-link {
        padding: 12px 16px;
        font-size: 0.82rem;
    }

    .tour-grid {
        grid-template-columns: 1fr;
    }

    .tour-sidebar {
        position: static;
        display: none;
    }

    .mobile-book-bar {
        display: flex;
    }

    .tour-layout {
        padding-bottom: 100px;
    }

    .inclusions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .policies-grid {
        grid-template-columns: 1fr;
    }

    .td-reviews-header {
        flex-direction: column;
        gap: 20px;
    }

    .td-reviews-score-block {
        min-width: auto;
    }

    .td-content-section {
        scroll-margin-top: 160px;
    }
}

@media (max-width: 480px) {
    .td-gallery-main {
        height: 220px;
    }

    .td-breadcrumb {
        display: none;
    }

    .td-title-main h1 {
        font-size: 1.2rem;
    }

    .faq-category {
        display: none;
    }

    .td-gallery-expand span {
        display: none;
    }

    .td-reviews-big-score {
        font-size: 2.8rem;
    }
}

/* ================================================
   LANGUAGE SWITCHER & CART ICON
   ================================================ */

.header-lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-toggle-btn {
    padding: 6px 14px;
    border-radius: 20px;
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.header-lang-switcher.open .lang-toggle-btn {
    background: #FFF0E5;
}

.header-lang-switcher.open .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    transform: none;
    min-width: 180px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
}

.header-lang-switcher.open .lang-menu-panel {
    opacity: 1;
    visibility: visible;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: background var(--transition);
}

.lang-option:first-child {
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}

.lang-option:last-child {
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}

.lang-option:hover {
    background: var(--bg-secondary);
}

.lang-option.active {
    background: #FFF0E5;
    color: var(--primary);
}

.check-icon, .check-placeholder {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.check-icon {
    color: var(--primary);
}

.lang-name {
    flex-grow: 1;
    font-weight: 500;
}

.lang-icon {
    font-size: 1.25rem;
}

.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
}

/* ================================================
   SERVICE DETAIL PAGE
   ================================================ */

/* --- Service Hero (inherits .tour-hero + .tour-chip from tour detail) --- */
.svc-hero {
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.svc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 45%, transparent 75%);
}

.svc-hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px 40px;
    color: #fff;
}

.svc-hero-content h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    max-width: 680px;
}

/* --- Service Highlights --- */
.svc-highlights {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.svc-highlights-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.svc-highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition);
}

.svc-highlight-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.svc-highlight-item .highlight-icon {
    margin: 0;
    width: 36px;
    height: 36px;
}

.svc-highlight-text strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.svc-highlight-text span {
    font-size: 0.74rem;
    color: var(--text-muted);
}

/* --- Page Grid --- */
.svc-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* --- Content Sections --- */
.svc-main {
    min-width: 0;
}

.svc-content-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.svc-content-section:last-child {
    border-bottom: none;
}

.svc-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.svc-section-title svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.svc-section-title-warning {
    border-left-color: #f59e0b;
}

.svc-section-title-warning svg {
    color: #f59e0b;
}

.svc-rich-content {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.85;
}

.svc-rich-content h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 20px 0 10px;
}

.svc-rich-content p { margin-bottom: 12px; }

.svc-rich-content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.svc-rich-content ul li {
    list-style: disc;
    margin-bottom: 6px;
}

/* --- Itinerary specific styles --- */
.svc-itinerary .vehicle-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.svc-itinerary .vehicle-spec-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.svc-itinerary .vehicle-spec-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.svc-itinerary .vehicle-spec-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.svc-itinerary .vehicle-spec-item p {
    font-size: 0.87rem;
    color: var(--text-secondary);
    margin: 0 0 6px;
}

.svc-itinerary .capacity-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 6px;
}

.svc-itinerary .pickup-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.svc-itinerary .pickup-point {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.svc-itinerary .pickup-point strong {
    white-space: nowrap;
}

.svc-itinerary .pickup-route-line {
    width: 2px;
    height: 16px;
    background: repeating-linear-gradient(to bottom, var(--primary) 0, var(--primary) 4px, transparent 4px, transparent 8px);
    margin-left: 22px;
}

.svc-itinerary .map-placeholder {
    margin-top: 16px;
}

.svc-itinerary .map-embed {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4edda 100%);
    border-radius: var(--radius-md);
    border: 2px dashed var(--border-color);
    padding: 40px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.svc-itinerary .map-embed svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.svc-itinerary .map-embed p {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.svc-itinerary .map-embed small {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- Important Notes --- */
.svc-notes-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.svc-note-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: #fffbeb;
    border-radius: var(--radius-sm);
    border: 1px solid #fde68a;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.svc-note-item svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 1px;
}

/* --- Related Products Row --- */
.svc-related-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.svc-related-track::-webkit-scrollbar { display: none; }

.svc-related-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: block;
    text-decoration: none;
    color: inherit;
}

.svc-related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.svc-related-img {
    height: 130px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.svc-related-body {
    padding: 12px;
}

.svc-related-body h4 {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc-related-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.svc-related-meta--price-only {
    justify-content: flex-end;
}

/* ================================================
   SERVICE BOOKING WIDGET
   ================================================ */
.svc-booking-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--nav-height) + 16px);
}

.svc-booking-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* --- Header with price --- */
.svc-booking-header {
    padding: 20px 22px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
}

.svc-price-range {
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.svc-price-from { color: #fff; }
.svc-price-sep  { color: rgba(255,255,255,0.8); font-weight: 400; }
.svc-price-to   { color: #fff; }

.svc-price-label {
    font-size: 0.78rem;
    opacity: 0.85;
    margin-top: 4px;
}

/* --- Widget sections --- */
.svc-widget-group {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.svc-widget-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.svc-widget-label svg {
    width: 16px;
    height: 16px;
}

/* Pill-style option selectors (universal for all option groups) */
.svc-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.svc-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-xl);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-primary);
    transition: all var(--transition);
    user-select: none;
    white-space: nowrap;
}

.svc-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.svc-pill:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.svc-pill.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

/* Textarea for notes */
.svc-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.86rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-secondary);
    outline: none;
    transition: all var(--transition);
    resize: vertical;
    min-height: 60px;
}

.svc-textarea:focus {
    border-color: var(--primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.svc-textarea::placeholder {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Participant icon */
.svc-participant-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.svc-participant-icon svg {
    width: 20px;
    height: 20px;
}

/* Date input */
.svc-datetime-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* Price range header — remove gradient label line */
.svc-price-range small {
    font-size: 0.7em;
    font-weight: 400;
}

.svc-input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-secondary);
    outline: none;
    transition: all var(--transition);
    cursor: pointer;
}

.svc-input:focus {
    border-color: var(--primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.svc-datetime-error {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 12px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: #dc2626;
    line-height: 1.5;
}

.svc-datetime-error svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    stroke: #dc2626;
}

/* Participant stepper */
.svc-participants {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.svc-participant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-tertiary);
}

.svc-participant-row:last-child { border-bottom: none; }

.svc-participant-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.svc-participant-label strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.svc-participant-label span {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.svc-stepper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.svc-stepper-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: var(--bg-primary);
    transition: all var(--transition);
    padding: 0;
}

.svc-stepper-btn svg {
    width: 14px;
    height: 14px;
}

.svc-stepper-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.svc-stepper-btn:hover:not(:disabled) svg {
    stroke: #fff;
}

.svc-stepper-btn:disabled,
.svc-stepper-btn-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.svc-stepper-value {
    font-size: 1.1rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    color: var(--text-primary);
}

/* --- Booking footer --- */
.svc-booking-footer {
    padding: 18px 20px;
}

.svc-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 12px 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.svc-total-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.svc-booking-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.5;
}

.svc-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

.svc-book-btn svg {
    width: 20px;
    height: 20px;
}

.svc-book-btn:not(:disabled):hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244, 93, 72, 0.4);
}

.svc-book-btn:disabled {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Mobile sticky book bar */
.svc-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 10px 20px;
    z-index: 998;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.svc-mobile-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    flex: 1;
}

/* ================================================
   SERVICE DETAIL — RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
    .svc-grid {
        grid-template-columns: 1fr 340px;
        gap: 28px;
    }

    .svc-highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }

    .svc-booking-sidebar {
        position: static;
        display: none;
    }

    .svc-mobile-bar {
        display: flex;
    }

    .tour-layout {
        padding-bottom: 80px;
    }

    .svc-highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .svc-hero { height: 300px; }
    .svc-hero-content h1 { font-size: 1.5rem; }
    .svc-highlights-grid { grid-template-columns: repeat(2, 1fr); }

    .svc-datetime-row {
        grid-template-columns: 1fr;
    }

    .svc-related-card {
        flex: 0 0 180px;
    }
}

/* ================================================
   TOASTS
   ================================================ */
.toast-container {
    position: fixed;
    top: calc(var(--header-height) + var(--nav-height) + 20px);
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1200;
    pointer-events: none;
}

.site-toast {
    min-width: 280px;
    max-width: 360px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: #0f172a;
    color: #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.site-toast.error {
    background: #7f1d1d;
}

.site-toast-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}

.site-toast-icon svg {
    width: 18px;
    height: 18px;
}

/* ================================================
   ESIM PAGE
   ================================================ */
.esim-page {
    background:
        radial-gradient(circle at top left, rgba(244, 93, 72, 0.08), transparent 34%),
        linear-gradient(180deg, #fffaf7 0%, #ffffff 28%, #f7f8fc 100%);
}

.esim-section {
    padding: 48px 0;
}

.esim-section-heading {
    margin-bottom: 24px;
}

.esim-section-heading span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.esim-section-heading h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.esim-section-heading p {
    max-width: 680px;
    margin-top: 10px;
    color: var(--text-secondary);
}

.esim-hero {
    position: relative;
    min-height: 440px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.esim-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 15, 31, 0.88) 0%, rgba(10, 15, 31, 0.55) 45%, rgba(10, 15, 31, 0.28) 100%);
}

.esim-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding-top: 36px;
    padding-bottom: 36px;
}

.esim-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.esim-hero h1 {
    max-width: 620px;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.esim-hero p {
    max-width: 580px;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.86);
    margin-bottom: 28px;
}

.esim-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(244, 93, 72, 0.28);
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.esim-primary-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(244, 93, 72, 0.32);
}

.esim-primary-btn-light {
    background: #fff;
    color: var(--text-primary);
    box-shadow: none;
}

.esim-primary-btn-light:hover {
    background: #fff5f2;
}

.esim-filter-bar {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.esim-filter-chip {
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition);
}

.esim-filter-chip:hover,
.esim-filter-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.esim-benefits-section {
    padding-top: 12px;
}

.esim-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.esim-benefit-card,
.esim-guide-card,
.esim-device-card,
.esim-card {
    background: #fff;
    border: 1px solid rgba(232, 234, 240, 0.8);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}

.esim-benefit-card {
    padding: 24px;
}

.esim-benefit-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff3ef 0%, #ffe2da 100%);
    color: var(--primary);
    margin-bottom: 16px;
}

.esim-benefit-icon svg {
    width: 24px;
    height: 24px;
}

.esim-benefit-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.esim-benefit-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.esim-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.esim-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

.esim-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.esim-card-media {
    position: relative;
    min-height: 180px;
    background-size: cover;
    background-position: center;
}

.esim-card-media::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 72px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10, 15, 31, 0.45) 100%);
}

.esim-flag-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(10px);
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.esim-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.esim-card-header h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.esim-card-coverage {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.esim-card-coverage svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin-top: 2px;
}

.esim-plan-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.esim-plan-fact {
    padding: 14px;
    border-radius: 16px;
    background: var(--bg-secondary);
}

.esim-plan-fact span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.esim-plan-fact strong {
    font-size: 1rem;
}

.esim-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.esim-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.esim-price-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 18px;
}

.esim-price-original {
    color: var(--text-muted);
    font-size: 0.92rem;
    text-decoration: line-through;
}

.esim-price-discounted {
    color: var(--primary);
    font-size: 1.35rem;
}

.esim-add-form {
    margin-top: auto;
}

.esim-card-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 14px;
    background: var(--text-primary);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    transition: background var(--transition), transform var(--transition);
}

.esim-card-btn:hover:not(:disabled) {
    background: #111827;
    transform: translateY(-1px);
}

.esim-card-btn:disabled {
    opacity: 0.72;
    cursor: wait;
}

.esim-empty-state {
    margin-top: 24px;
    padding: 22px;
    border-radius: 18px;
    background: #fff;
    border: 1px dashed var(--border-color);
    text-align: center;
    color: var(--text-secondary);
}

.esim-guide-grid,
.esim-device-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.esim-guide-card,
.esim-device-card {
    padding: 24px;
}

.esim-step-label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff2e9;
    color: #c2410c;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.esim-guide-visual {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff5f2 0%, #ffe4d7 100%);
    color: var(--primary);
    margin-bottom: 18px;
}

.esim-guide-visual svg {
    width: 30px;
    height: 30px;
}

.esim-guide-card p,
.esim-device-card p {
    color: var(--text-secondary);
}

.esim-device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.esim-device-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.esim-device-list {
    display: grid;
    gap: 12px;
}

.esim-device-list li {
    position: relative;
    padding-left: 22px;
    color: var(--text-secondary);
}

.esim-device-list li::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
}

.esim-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px;
    border-radius: 28px;
    background: linear-gradient(135deg, #f45d48 0%, #ff8c42 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.esim-cta-banner span {
    display: inline-flex;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
}

.esim-cta-banner h2 {
    max-width: 760px;
    font-size: 1.7rem;
    line-height: 1.35;
}

/* ================================================
   CART PAGE
   ================================================ */
.cart-page {
    position: relative;
    padding: 32px 0 72px;
    background:
        radial-gradient(circle at top left, rgba(244, 93, 72, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(255, 140, 66, 0.12), transparent 26%),
        linear-gradient(180deg, #fffaf6 0%, #ffffff 40%, #f5f7fb 100%);
}

.cart-shell {
    display: grid;
    gap: 24px;
}

.cart-overline,
.cart-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.cart-overline::before,
.cart-section-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

.cart-hero,
.cart-section-card,
.cart-summary-card,
.cart-support-card,
.cart-explore-card,
.cart-empty-panel {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
}

.cart-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.8fr);
    gap: 18px;
    padding: 24px;
    animation: cart-fade-up 0.55s ease both;
}

.cart-hero-copy h1,
.cart-empty-copy h1 {
    margin-top: 12px;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #182033;
}

.cart-hero-copy p,
.cart-empty-copy p,
.cart-summary-card p,
.cart-support-card p,
.cart-explore-card p {
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 60ch;
}

.cart-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-content: start;
}

.cart-hero-metric {
    padding: 18px 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 252, 0.95));
    border: 1px solid rgba(232, 234, 240, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cart-hero-metric strong {
    display: block;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    line-height: 1.1;
    color: #162033;
}

.cart-hero-metric span {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.cart-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cart-trust-card {
    display: flex;
    gap: 16px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(228, 231, 238, 0.9);
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
    animation: cart-fade-up 0.55s ease both;
}

.cart-trust-card h2,
.cart-section-head h2,
.cart-summary-card h2,
.cart-support-card h2,
.cart-explore-card h2 {
    font-size: 1.05rem;
    line-height: 1.25;
    color: #162033;
}

.cart-trust-card p,
.cart-section-head p {
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.cart-trust-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(244, 93, 72, 0.16), rgba(255, 140, 66, 0.2));
    color: var(--primary);
}

.cart-trust-icon svg {
    width: 22px;
    height: 22px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.9fr);
    gap: 24px;
    align-items: start;
}

.cart-main,
.cart-sidebar {
    display: grid;
    gap: 20px;
}

.cart-section-card,
.cart-summary-card,
.cart-support-card,
.cart-explore-card {
    padding: 22px;
}

.cart-section-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.cart-inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(244, 93, 72, 0.08);
    color: var(--primary);
    font-weight: 700;
}

.cart-list {
    display: grid;
    gap: 18px;
}

.cart-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    border: 1px solid rgba(228, 231, 238, 0.88);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.cart-card-media {
    position: relative;
    display: block;
    min-height: 140px;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f4f7;
}

.cart-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.cart-card:hover .cart-card-media img {
    transform: scale(1.03);
}

.cart-card-body {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.cart-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.cart-unit-hint {
    display: block;
    margin-top: 2px;
    color: #8c93a2;
    font-size: 0.78rem;
}

.cart-date-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f0f6ff;
    color: #3b6fa0;
    font-size: 0.74rem;
    font-weight: 600;
    white-space: nowrap;
}

.cart-price-breakdown {
    display: grid;
    gap: 0;
    border: 1px solid rgba(232, 234, 240, 0.92);
    border-radius: 10px;
    overflow: hidden;
    background: #fafbfc;
}

.cart-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    font-size: 0.84rem;
    color: #5c6370;
    border-bottom: 1px solid rgba(232, 234, 240, 0.7);
}

.cart-price-row:last-child {
    border-bottom: none;
}

.cart-price-row.is-total {
    background: #f3f5f8;
    border-bottom: none;
}

.cart-price-row.is-total strong {
    font-size: 0.92rem;
    color: #142033;
}

.cart-price-row-qty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cart-quantity-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cart-quantity-inline .cart-qty-btn {
    width: 24px;
    height: 24px;
    font-size: 0.85rem;
}

.cart-quantity-inline .cart-qty-value {
    min-width: 20px;
    font-size: 0.84rem;
}

.cart-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.cart-card-heading {
    min-width: 0;
}

.cart-card-heading h3 {
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.3;
    color: #142033;
}

.cart-card-heading h3 a:hover {
    color: var(--primary);
}

.cart-card-heading p {
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.cart-type-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cart-type-chip.is-tour {
    background: rgba(244, 93, 72, 0.1);
    color: var(--primary);
}

.cart-type-chip.is-transfer {
    background: rgba(14, 165, 233, 0.12);
    color: #0369a1;
}

.cart-type-chip.is-esim {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.cart-card-pricing {
    min-width: 148px;
    text-align: right;
}

.cart-card-pricing span,
.cart-card-total span,
.cart-detail-item span,
.cart-summary-row span,
.cart-summary-note,
.cart-support-list li {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.cart-card-pricing strong,
.cart-card-total strong {
    display: block;
    margin-top: 4px;
    font-size: 1.1rem;
    line-height: 1.15;
    color: #142033;
}

.cart-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.cart-detail-item {
    padding: 10px 14px;
    border-radius: 12px;
    background: #f8f9fc;
    border: 1px solid rgba(232, 234, 240, 0.95);
}

.cart-detail-item strong {
    display: block;
    margin-top: 4px;
    color: #1b2236;
    font-size: 0.88rem;
    line-height: 1.4;
}

.cart-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cart-feature-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(21, 128, 61, 0.1);
    color: #166534;
    font-size: 0.84rem;
    font-weight: 700;
}

.cart-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(232, 234, 240, 0.92);
}

.cart-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cart-primary-btn,
.cart-secondary-btn,
.cart-remove-btn,
.cart-clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.cart-primary-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 16px 30px rgba(244, 93, 72, 0.22);
}

.cart-primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(244, 93, 72, 0.28);
}

.cart-secondary-btn {
    background: #fff;
    color: #1f2937;
    border: 1px solid rgba(208, 214, 226, 0.95);
}

.cart-secondary-btn:hover,
.cart-remove-btn:hover,
.cart-clear-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(244, 93, 72, 0.36);
    color: var(--primary);
}

.cart-action-btn {
    min-height: 42px;
    padding: 0 16px;
}

.cart-remove-btn,
.cart-clear-btn {
    background: transparent;
    border: 1px solid rgba(208, 214, 226, 0.95);
    color: var(--text-secondary);
}

.cart-inline-form {
    display: inline-flex;
}

.cart-quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 4px;
    border-radius: 999px;
    background: #f7f8fb;
    border: 1px solid rgba(208, 214, 226, 0.95);
}

.cart-qty-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: #1f2937;
    font-size: 1.15rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.cart-qty-btn:hover:not(:disabled) {
    color: var(--primary);
}

.cart-qty-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.cart-qty-value {
    min-width: 26px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #162033;
}

.cart-card-total {
    text-align: right;
}

.cart-summary-card {
    position: sticky;
    top: calc(var(--header-height) + var(--nav-height) + 24px);
}

.cart-summary-rows {
    margin-top: 24px;
    display: grid;
    gap: 12px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
}

.cart-summary-row strong {
    font-size: 1.05rem;
    line-height: 1.15;
    color: #142033;
}

.cart-summary-row.is-total {
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid rgba(232, 234, 240, 0.95);
}

.cart-checkout-btn {
    width: 100%;
    margin-top: 18px;
}

.cart-checkout-form-wrap {
    margin-top: 0;
}

.cart-checkout-btn svg {
    width: 18px;
    height: 18px;
}

.cart-summary-note {
    margin-top: 14px;
    line-height: 1.5;
}

.cart-clear-form {
    margin-top: 14px;
}

.cart-clear-btn {
    width: 100%;
}

.cart-support-list {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.cart-support-list li {
    position: relative;
    padding-left: 22px;
    line-height: 1.55;
}

.cart-support-list li::before {
    content: "";
    position: absolute;
    top: 0.58rem;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.cart-explore-card {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.cart-explore-actions,
.cart-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cart-empty-panel {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
    gap: 30px;
    align-items: center;
    padding: 34px;
}

.cart-empty-visual {
    position: relative;
    min-height: 280px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), transparent 18%),
        linear-gradient(135deg, rgba(244, 93, 72, 0.22), rgba(255, 140, 66, 0.15));
    overflow: hidden;
}

.cart-empty-visual span {
    position: absolute;
    inset: auto auto 28px 28px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    filter: blur(4px);
}

.cart-empty-visual svg {
    width: 118px;
    height: 118px;
    color: #fff;
}

@keyframes cart-fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-page {
    padding: 28px 0 72px;
    background: #f3f3f3;
}

.cart-shell {
    gap: 18px;
}

.cart-flow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9aa1ad;
    font-size: 0.96rem;
    font-weight: 500;
}

.cart-flow svg {
    width: 14px;
    height: 14px;
    color: #c0c6cf;
}

.cart-flow-step.is-active {
    color: #1a2333;
    font-weight: 700;
}

.cart-stage {
    background: #fff;
    border: 1px solid #eceff4;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.cart-stage-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    padding: 34px 34px 24px;
}

.cart-stage-header h1 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    line-height: 1.15;
    color: #1a2333;
}

.cart-stage-header p {
    margin-top: 10px;
    color: #8c93a2;
    font-size: 0.98rem;
}

.cart-continue-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    background: #f3f7f8;
    color: #1f6570;
    font-weight: 700;
}

.cart-table {
    border-top: 1px solid #e8ebf0;
}

.cart-table-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 2.3fr) minmax(130px, 0.95fr) minmax(160px, 1fr) minmax(120px, 0.8fr) 90px;
    gap: 18px;
    align-items: center;
    padding: 26px 24px;
    border-bottom: 1px solid #edf0f4;
    transition: opacity var(--transition), background var(--transition);
}

.cart-table-row.is-unselected {
    opacity: 0.5;
    background: #fafbfc;
}

.cart-table-check {
    display: flex;
    justify-content: center;
}

.cart-check-label,
.cart-footer-select-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #1a2333;
    font-size: 0.98rem;
}

.cart-check-label input,
.cart-footer-select-all input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cart-check-mark {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1px solid #d1d7e0;
    background: #fff;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.cart-check-mark::after {
    content: "";
    position: absolute;
    inset: 5px 4px 6px 7px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(40deg) scale(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.cart-check-label input:checked + .cart-check-mark,
.cart-footer-select-all input:checked + .cart-check-mark,
.cart-footer-select-all input:indeterminate + .cart-check-mark {
    border-color: #4ac0cb;
    background: #4ac0cb;
    box-shadow: 0 8px 18px rgba(74, 192, 203, 0.28);
}

.cart-check-label input:checked + .cart-check-mark::after,
.cart-footer-select-all input:checked + .cart-check-mark::after {
    transform: rotate(40deg) scale(1);
}

.cart-footer-select-all input:indeterminate + .cart-check-mark::after {
    inset: 10px 5px auto 5px;
    height: 2px;
    border: none;
    background: #fff;
    transform: scale(1);
}

.cart-select-all-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1a2333;
}

.cart-select-all-label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cart-select-all-mark {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 6px;
    border: 2px solid #d1d7e0;
    background: #fff;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.cart-select-all-mark::after {
    content: "";
    position: absolute;
    inset: 4px 3px 5px 6px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(40deg) scale(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.cart-select-all-label input:checked + .cart-select-all-mark {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 6px 14px rgba(244, 93, 72, 0.3);
}

.cart-select-all-label input:checked + .cart-select-all-mark::after {
    transform: rotate(40deg) scale(1);
}

.cart-table-product {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.cart-table-thumb {
    width: 152px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #edf1f4;
    flex-shrink: 0;
}

.cart-table-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-table-copy {
    min-width: 0;
}

.cart-table-copy-top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.cart-table-badge,
.cart-table-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cart-table-badge.is-tour {
    background: rgba(244, 93, 72, 0.1);
    color: var(--primary);
}

.cart-table-badge.is-transfer {
    background: rgba(14, 165, 233, 0.11);
    color: #0369a1;
}

.cart-table-badge.is-esim {
    background: rgba(34, 197, 94, 0.11);
    color: #15803d;
}

.cart-table-tag {
    background: #f4fbfb;
    color: #2d7f87;
}

.cart-table-copy h2 {
    font-size: 1.08rem;
    line-height: 1.45;
    color: #1a2333;
}

.cart-table-copy h2 a:hover {
    color: #24a7b4;
}

.cart-table-copy p {
    margin-top: 8px;
    color: #6d7483;
    font-size: 0.96rem;
    line-height: 1.55;
}

.cart-table-col {
    display: grid;
    gap: 8px;
}

.cart-table-label {
    color: #9aa1ad;
    font-size: 0.86rem;
}

.cart-table-col strong,
.cart-table-price strong {
    color: #1c2536;
    font-size: 1.02rem;
    font-weight: 700;
}

.cart-table-col small,
.cart-table-price small {
    color: #8c93a2;
    font-size: 0.84rem;
}

.cart-table-participants {
    display: grid;
    gap: 6px;
    color: #4c5361;
}

.cart-table-price strong {
    font-size: 1.1rem;
    line-height: 1.15;
}

.cart-table-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.cart-icon-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #d8dde5;
    background: #fff;
    color: #7b8391;
    transition: border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.cart-icon-btn svg {
    width: 19px;
    height: 19px;
}

.cart-icon-btn:hover {
    transform: translateY(-1px);
    border-color: #4ac0cb;
    color: #2aa5b2;
    box-shadow: 0 10px 18px rgba(74, 192, 203, 0.14);
}

.cart-icon-btn-danger:hover {
    border-color: rgba(244, 93, 72, 0.4);
    color: var(--primary);
    box-shadow: 0 10px 18px rgba(244, 93, 72, 0.12);
}

.cart-quantity-control {
    gap: 6px;
    min-height: 38px;
    padding: 3px;
    background: #f4f6f8;
    border: 1px solid #dde3ea;
}

.cart-qty-btn {
    width: 30px;
    height: 30px;
}

.cart-footer-bar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 22px 34px;
    background: #fff;
}

.cart-footer-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.cart-footer-link {
    display: inline-flex;
    align-items: center;
    color: #7d8491;
    font-size: 1rem;
    font-weight: 500;
}

.cart-footer-link:hover:not(:disabled) {
    color: var(--primary);
}

.cart-footer-summary {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cart-footer-summary-copy {
    text-align: right;
}

.cart-footer-summary-line {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    color: #7f8795;
    font-size: 0.95rem;
}

.cart-footer-summary-line strong {
    color: #1c2536;
    font-size: 1rem;
}

.cart-footer-summary-line.is-total {
    margin-top: 4px;
}

.cart-footer-summary-line.is-total strong {
    font-size: 1.35rem;
    line-height: 1.1;
}

.cart-footer-summary-copy small {
    display: block;
    margin-top: 6px;
    color: #9aa1ad;
    font-size: 0.86rem;
}

.cart-payment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    background: linear-gradient(135deg, #4ac0cb, #3bb3be);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(74, 192, 203, 0.22);
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.cart-payment-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(74, 192, 203, 0.28);
}

.cart-footer-link:disabled,
.cart-payment-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .esim-benefits-grid,
    .esim-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .esim-hero h1 {
        font-size: 2.5rem;
    }

    .cart-trust-grid,
    .cart-layout,
    .cart-empty-panel {
        grid-template-columns: 1fr;
    }

    .cart-summary-card {
        position: static;
    }

    .cart-table-row {
        grid-template-columns: 44px minmax(0, 2fr) minmax(120px, 1fr) minmax(150px, 1fr);
        grid-template-areas:
            "check product date actions"
            "check product party price";
        align-items: start;
    }

    .cart-table-check {
        grid-area: check;
        justify-content: flex-start;
        padding-top: 4px;
    }

    .cart-table-product {
        grid-area: product;
    }

    .cart-table-actions {
        grid-area: actions;
    }

    .cart-table-date {
        grid-area: date;
    }

    .cart-table-party {
        grid-area: party;
    }

    .cart-table-price {
        grid-area: price;
    }

    .cart-footer-bar,
    .cart-footer-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-footer-summary-copy {
        text-align: left;
    }

    .cart-footer-summary-line {
        justify-content: flex-start;
    }

    .cart-payment-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .toast-container {
        top: calc(var(--header-height) + var(--nav-height) + 16px);
        right: 16px;
        left: 16px;
    }

    .site-toast {
        min-width: 0;
        max-width: none;
    }

    .esim-section {
        padding: 36px 0;
    }

    .esim-hero {
        min-height: 360px;
    }

    .esim-hero h1 {
        font-size: 2rem;
    }

    .esim-guide-grid,
    .esim-device-grid,
    .esim-benefits-grid {
        grid-template-columns: 1fr;
    }

    .esim-cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-page {
        padding: 20px 0 56px;
    }

    .cart-flow {
        flex-wrap: wrap;
        row-gap: 6px;
        font-size: 0.9rem;
    }

    .cart-stage-header {
        flex-direction: column;
        padding: 24px 22px 18px;
    }

    .cart-continue-link {
        width: 100%;
        justify-content: center;
    }

    .cart-table-row {
        grid-template-columns: 1fr;
        grid-template-areas: none;
        gap: 16px;
        padding: 22px;
    }

    .cart-table-check,
    .cart-table-actions {
        justify-content: flex-start;
        padding-top: 0;
    }

    .cart-table-product {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-table-thumb {
        width: 100%;
        height: 190px;
    }

    .cart-table-col,
    .cart-table-price {
        gap: 6px;
    }

    .cart-footer-bar {
        padding: 18px 22px 22px;
    }

    .cart-footer-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-footer-remove-form {
        width: 100%;
    }

    .cart-footer-link {
        width: 100%;
        justify-content: flex-start;
    }

    .cart-hero,
    .cart-section-card,
    .cart-summary-card,
    .cart-support-card,
    .cart-explore-card,
    .cart-empty-panel {
        padding: 22px;
        border-radius: 24px;
    }

    .cart-hero,
    .cart-card,
    .cart-empty-panel {
        grid-template-columns: 1fr;
    }

    .cart-hero-metrics {
        grid-template-columns: 1fr;
    }

    .cart-card-media {
        min-height: 180px;
    }

    .cart-card-head,
    .cart-card-footer,
    .cart-section-head,
    .cart-explore-card {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-card-pricing,
    .cart-card-total {
        text-align: left;
    }

    .cart-inline-link,
    .cart-primary-btn,
    .cart-secondary-btn,
    .cart-remove-btn,
    .cart-clear-btn {
        width: 100%;
    }

    .cart-card-actions,
    .cart-explore-actions,
    .cart-empty-actions {
        width: 100%;
    }

    .cart-card-actions > * {
        flex: 1 1 100%;
    }

    .cart-quantity-control {
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .esim-hero p {
        font-size: 0.95rem;
    }

    .esim-section-heading h2 {
        font-size: 1.6rem;
    }

    .esim-plan-facts {
        grid-template-columns: 1fr;
    }

    .esim-cta-banner {
        padding: 24px;
    }

    .esim-cta-banner h2 {
        font-size: 1.35rem;
    }

    .cart-hero-copy h1,
    .cart-empty-copy h1 {
        font-size: 1.8rem;
    }

    .cart-trust-card,
    .cart-card {
        padding: 18px;
    }

    .cart-detail-grid {
        grid-template-columns: 1fr;
    }

    .cart-table-copy h2 {
        font-size: 1rem;
    }

    .cart-footer-summary-line.is-total strong {
        font-size: 1.65rem;
    }
}

/* ================================================
   DESTINATION DETAIL PAGE
   ================================================ */
.dest-hero {
    position: relative;
    height: 340px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.dest-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.dest-hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px;
    width: 100%;
}

.dest-hero-content h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.dest-hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.dest-empty-state {
    text-align: center;
    padding: 80px 24px;
    max-width: 400px;
    margin: 0 auto;
}

.dest-empty-state svg {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.dest-empty-state h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.dest-empty-state p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .dest-hero {
        height: 260px;
    }

    .dest-hero-content h1 {
        font-size: 1.8rem;
    }

    .destination-card {
        flex: 0 0 240px;
    }

    .destination-card-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .dest-hero {
        height: 220px;
    }

    .dest-hero-content h1 {
        font-size: 1.5rem;
    }

    .dest-hero-content {
        padding: 24px 16px;
    }

    .destination-card {
        flex: 0 0 200px;
    }

    .destination-card-image {
        height: 160px;
    }

    .destination-card-content h3 {
        font-size: 1.05rem;
    }
}

/* ================================================
   Transport Page — Vexere-style Layout
   ================================================ */

/* --- Transport Hero Banner --- */
.transport-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 48px 0 56px;
    text-align: center;
    color: #fff;
}

.transport-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.transport-hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 28px;
}

/* --- Transport Search Form --- */
.transport-search-form {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background: var(--bg-primary);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 960px;
    margin: 0 auto;
}

.transport-search-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.transport-search-field label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-align: left;
}

.transport-search-field select,
.transport-search-field input[type="date"] {
    padding: 10px 12px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: border-color var(--transition);
    width: 100%;
}

.transport-search-field select:focus,
.transport-search-field input[type="date"]:focus {
    outline: none;
    border-color: var(--primary);
}

.transport-swap-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    background: var(--bg-primary);
    color: var(--primary);
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
    margin-bottom: 2px;
}

.transport-swap-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.transport-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition);
    flex-shrink: 0;
}

.transport-search-btn:hover {
    background: var(--primary-hover);
}

/* --- Transport Results Layout --- */
.transport-results-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 48px;
}

/* --- Transport Filters Sidebar --- */
.transport-filters {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    position: sticky;
    top: calc(var(--header-height) + var(--nav-height) + 16px);
    max-height: calc(100vh - var(--header-height) - var(--nav-height) - 32px);
    overflow-y: auto;
}

.transport-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.transport-filters-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.transport-filters-close {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.transport-filter-group {
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
}

.transport-filter-group h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.transport-filter-radio,
.transport-filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
}

.transport-filter-radio small,
.transport-filter-check small {
    color: var(--text-muted);
}

.transport-filter-radio input,
.transport-filter-check input {
    accent-color: var(--primary);
}

.transport-price-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.transport-price-input {
    flex: 1;
    padding: 8px 10px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    width: 100%;
}

.transport-price-input:focus {
    outline: none;
    border-color: var(--primary);
}

.transport-filter-apply-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 16px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

.transport-filter-apply-btn:hover {
    background: var(--primary-hover);
}

/* --- Transport Results Main --- */
.transport-results-main {
    min-width: 0;
}

.transport-results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.transport-results-count {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.transport-filters-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
}

/* --- Transport Result Card --- */
.transport-result-card {
    display: grid;
    grid-template-columns: 100px 1fr 1.2fr auto;
    gap: 16px;
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: box-shadow var(--transition), border-color var(--transition);
    cursor: default;
}

.transport-result-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.transport-result-image {
    width: 100px;
    height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.transport-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.transport-result-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.transport-result-operator {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.transport-result-operator strong {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.transport-result-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.transport-result-rating svg {
    flex-shrink: 0;
}

.transport-result-vehicle {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
}

.transport-result-vehicle svg {
    flex-shrink: 0;
}

.transport-result-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: var(--secondary);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

/* --- Transport Route (departure → arrival) --- */
.transport-result-route {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    padding-left: 20px;
}

.transport-route-point {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.transport-route-time {
    font-size: 1.05rem;
    font-weight: 700;
    min-width: 48px;
}

.transport-route-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    border: 2px solid var(--primary);
    background: var(--bg-primary);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.transport-route-departure .transport-route-dot {
    background: var(--primary);
}

.transport-route-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.transport-route-line {
    display: flex;
    align-items: center;
    padding-left: 58px;
    position: relative;
    min-height: 20px;
}

.transport-route-line::before {
    content: '';
    position: absolute;
    left: 62px;
    top: -8px;
    bottom: -8px;
    width: 2px;
    background: var(--border-color);
    z-index: 0;
}

.transport-route-duration {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 1px 8px;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

/* --- Transport Result Pricing --- */
.transport-result-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 140px;
}

.transport-result-seats-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.transport-result-seats {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.transport-result-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.transport-price-original {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.transport-price-current {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.transport-result-rating-bar {
    display: flex;
    align-items: center;
    gap: 2px;
}

.transport-review-count {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.transport-slot-types {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
}

.transport-slot-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    padding: 2px 6px;
    border: 1px solid;
    border-radius: 4px;
    color: var(--text-secondary);
}

.transport-slot-dot {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.transport-select-seat-btn {
    padding: 8px 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
}

.transport-select-seat-btn:hover {
    background: var(--primary-hover);
}

/* --- Transport Seat Map Panel (Inline Accordion) --- */
.transport-seat-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    margin-top: -12px;
    margin-bottom: 12px;
    padding: 20px 24px;
    animation: seatPanelSlideDown 0.3s ease;
}

@keyframes seatPanelSlideDown {
    from { opacity: 0; max-height: 0; padding: 0 24px; }
    to { opacity: 1; max-height: 800px; padding: 20px 24px; }
}

.transport-seat-panel-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    color: var(--text-muted);
}

.transport-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Seat Map Grid --- */
.seat-map-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.seat-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seat-map-header h4 {
    font-size: 1rem;
    font-weight: 600;
}

.seat-map-close-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
}

.seat-map-floor-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.seat-map-floor-tab {
    padding: 6px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.seat-map-floor-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.seat-map-grid {
    display: inline-grid;
    gap: 6px;
    justify-content: center;
    margin: 0 auto;
}

.seat-map-slot {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.seat-map-slot.available {
    border-color: var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.seat-map-slot.available:hover {
    border-color: var(--primary);
    transform: scale(1.08);
}

.seat-map-slot.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.seat-map-slot.unavailable {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

.seat-map-slot.aisle {
    background: transparent;
    border: none;
    cursor: default;
}
/* --- Seat Map Body (grid + legend side by side) --- */
.seat-map-body {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.seat-map-grids {
    flex-shrink: 0;
}

/* --- Seat Map Legend (vertical, beside the grid) --- */
.seat-map-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 0 0 20px;
    border-left: 1px solid var(--border-color);
    min-width: 160px;
}

.seat-map-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.seat-map-legend-swatch {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.seat-map-legend-price {
    font-weight: 600;
    color: var(--text-primary);
}

/* --- Seat Map Footer (running total + continue) --- */
.seat-map-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 0;
    border-top: 1px solid var(--border-color);
}

.seat-map-total {
    display: flex;
    flex-direction: column;
}

.seat-map-total-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.seat-map-total-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.seat-map-selected-list {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.seat-map-continue-btn {
    padding: 10px 28px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

.seat-map-continue-btn:hover {
    background: var(--primary-hover);
}

.seat-map-continue-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Hold Countdown Timer (Header) --- */
.header-hold-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--primary, #2563eb);
    color: #fff;
    font-size: 0.8rem;
    white-space: nowrap;
    animation: hold-timer-appear 0.3s ease-out;
}

.header-hold-timer svg {
    flex-shrink: 0;
    stroke: #fff;
}

.header-hold-timer strong {
    font-variant-numeric: tabular-nums;
    font-family: monospace;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.header-hold-timer-urgent {
    background: #dc2626;
    animation: hold-timer-pulse 1s ease-in-out infinite;
}

@keyframes hold-timer-appear {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes hold-timer-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.65; }
}

/* --- Transport Empty & Initial States --- */
.transport-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.transport-empty-state svg {
    margin-bottom: 16px;
}

.transport-empty-state h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.transport-empty-state p {
    color: var(--text-muted);
}

.transport-initial {
    padding: 60px 0;
}

.transport-initial-prompt {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}

.transport-initial-prompt svg {
    margin-bottom: 16px;
}

.transport-initial-prompt h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.transport-initial-prompt p {
    color: var(--text-muted);
}

/* --- Transport Responsive --- */
@media (max-width: 1024px) {
    .transport-results-layout {
        grid-template-columns: 1fr;
    }

    .transport-filters {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        border-radius: 0;
        max-height: 100vh;
        overflow-y: auto;
        padding: 20px;
    }

    .transport-filters.open {
        display: block;
    }

    .transport-filters-close {
        display: block;
    }

    .transport-filters-toggle {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .transport-hero {
        padding: 32px 0 40px;
    }

    .transport-hero h1 {
        font-size: 1.5rem;
    }

    .transport-search-form {
        flex-direction: column;
        padding: 16px;
        gap: 10px;
    }

    .transport-swap-btn {
        align-self: center;
        transform: rotate(90deg);
    }

    .transport-search-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }

    .transport-result-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    .transport-result-image {
        width: 100%;
        height: 120px;
    }

    .transport-result-pricing {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .transport-result-price {
        align-items: flex-start;
    }

    .transport-select-seat-btn {
        width: 100%;
        text-align: center;
    }

    .seat-map-slot {
        width: 40px;
        height: 40px;
        font-size: 0.6rem;
    }

    .seat-map-body {
        flex-direction: column;
    }

    .seat-map-legend {
        flex-direction: row;
        flex-wrap: wrap;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 12px 0 0;
        min-width: 0;
    }

    .seat-map-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .seat-map-continue-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .seat-map-slot {
        width: 34px;
        height: 34px;
        font-size: 0.55rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   Transport Checkout — Multi-Step Wizard
   ══════════════════════════════════════════════════════════════ */

.tc-page {
    background: var(--bg-secondary, #f8f9fa);
    min-height: 80vh;
    padding-bottom: 60px;
}

.tc-shell {
    max-width: 1100px;
    padding-top: 32px;
}

/* ── Stepper ── */
.tc-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
    padding: 0 20px;
}

.tc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.tc-step-circle {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full, 50%);
    border: 2.5px solid var(--border-color, #e0e0e0);
    background: var(--bg-primary, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted, #999);
    transition: all 0.3s ease;
    position: relative;
}

.tc-step-check {
    display: none;
    width: 18px;
    height: 18px;
}

.tc-step-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted, #999);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.tc-step.active .tc-step-circle {
    border-color: var(--primary, #22c55e);
    background: var(--primary, #22c55e);
    color: #fff;
}

.tc-step.active .tc-step-label {
    color: var(--text-primary, #1a1a1a);
    font-weight: 600;
}

.tc-step.completed .tc-step-circle {
    border-color: var(--primary, #22c55e);
    background: var(--primary, #22c55e);
    color: #fff;
}

.tc-step.completed .tc-step-number {
    display: none;
}

.tc-step.completed .tc-step-check {
    display: block;
    stroke: #fff;
}

.tc-step.completed .tc-step-label {
    color: var(--primary, #22c55e);
}

.tc-step-line {
    flex: 1;
    height: 3px;
    background: var(--border-color, #e0e0e0);
    margin: -18px 0 0;
    min-width: 40px;
    max-width: 120px;
    transition: background 0.3s ease;
    align-self: flex-start;
    margin-top: 18px;
}

.tc-step-line.completed {
    background: var(--primary, #22c55e);
}

/* ── Countdown ── */
.tc-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-color, #e0e0e0);
    border-left: 4px solid var(--primary, #22c55e);
    border-radius: var(--radius-sm, 6px);
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary, #555);
}

.tc-countdown svg {
    flex-shrink: 0;
    color: var(--primary, #22c55e);
}

.tc-countdown strong {
    color: var(--primary, #22c55e);
    font-variant-numeric: tabular-nums;
    font-family: monospace;
    font-size: 1rem;
}

.tc-countdown.tc-countdown-urgent {
    border-left-color: #dc2626;
    color: #dc2626;
}

.tc-countdown.tc-countdown-urgent svg {
    color: #dc2626;
}

.tc-countdown.tc-countdown-urgent strong {
    color: #dc2626;
}

/* ── Layout ── */
.tc-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

.tc-main {
    min-width: 0;
}

/* ── Step Panels ── */
.tc-step-panel {
    display: none;
    animation: tcFadeIn 0.35s ease;
}

.tc-step-panel.active {
    display: block;
}

@keyframes tcFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Itinerary Card ── */
.tc-itinerary-card {
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: var(--radius-md, 10px);
    padding: 24px;
    margin-bottom: 20px;
}

.tc-itinerary-date {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary, #1a1a1a);
}

/* Route Timeline */
.tc-route-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 4px;
}

.tc-route-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tc-route-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full, 50%);
    border: 2.5px solid var(--primary, #22c55e);
    background: var(--bg-primary, #fff);
    flex-shrink: 0;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

.tc-route-dot.departure {
    background: var(--primary, #22c55e);
}

.tc-route-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tc-route-info strong {
    font-size: 0.95rem;
}

.tc-route-info span {
    font-size: 0.85rem;
    color: var(--text-secondary, #555);
}

.tc-route-connector {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding-left: 5px;
    min-height: 48px;
}

.tc-route-connector-line {
    width: 2px;
    background: var(--border-color, #e0e0e0);
    flex-shrink: 0;
}

.tc-route-connector-details {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.tc-operator-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--bg-secondary, #f5f5f5);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary, #555);
}

.tc-operator-badge svg {
    flex-shrink: 0;
}

/* Selected Seats */
.tc-selected-seats {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color, #e0e0e0);
}

.tc-selected-seats h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text-secondary, #555);
    margin-bottom: 10px;
}

.tc-seat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tc-seat-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    background: var(--bg-secondary, #f5f5f5);
    border: 1.5px solid var(--border-color, #e0e0e0);
    border-radius: var(--radius-sm, 6px);
}

.tc-seat-tag strong {
    font-size: 0.95rem;
}

.tc-seat-tag small {
    font-size: 0.7rem;
    color: var(--text-muted, #999);
}

/* ── Form Sections ── */
.tc-form-section {
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: var(--radius-md, 10px);
    padding: 24px;
    margin-bottom: 20px;
}

.tc-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary, #22c55e);
    color: var(--text-primary, #1a1a1a);
}

.tc-section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary, #22c55e);
}

.tc-section-title-row .tc-section-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.tc-seat-badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    background: var(--primary, #22c55e);
    color: #fff;
    border-radius: 20px;
}

.tc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tc-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tc-form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary, #555);
}

.tc-form-group input,
.tc-form-group select {
    padding: 10px 14px;
    border: 1.5px solid var(--border-color, #e0e0e0);
    border-radius: var(--radius-sm, 6px);
    font-size: 0.9rem;
    color: var(--text-primary, #1a1a1a);
    background: var(--bg-primary, #fff);
    transition: border-color 0.2s ease;
}

.tc-form-group input:focus,
.tc-form-group select:focus {
    outline: none;
    border-color: var(--primary, #22c55e);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.tc-input-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.tc-full-width {
    grid-column: 1 / -1;
}

.tc-form-phone {
    grid-column: 1 / -1;
}

.tc-phone-input {
    display: flex;
    gap: 8px;
}

.tc-select-small {
    width: 110px;
    padding: 10px 8px;
    border: 1.5px solid var(--border-color, #e0e0e0);
    border-radius: var(--radius-sm, 6px);
    font-size: 0.85rem;
    color: var(--text-primary, #1a1a1a);
    background: var(--bg-primary, #fff);
    flex-shrink: 0;
}

.tc-phone-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--border-color, #e0e0e0);
    border-radius: var(--radius-sm, 6px);
    font-size: 0.9rem;
    color: var(--text-primary, #1a1a1a);
    background: var(--bg-primary, #fff);
}

.tc-phone-input input:focus {
    outline: none;
    border-color: var(--primary, #22c55e);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.tc-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary, #555);
    cursor: pointer;
    line-height: 1.4;
}

.tc-checkbox-label input[type="checkbox"] {
    accent-color: var(--primary, #22c55e);
    margin-top: 2px;
    flex-shrink: 0;
}

.tc-checkbox-label a {
    color: var(--primary, #22c55e);
    text-decoration: none;
}

.tc-checkbox-label a:hover {
    text-decoration: underline;
}

/* ── Confirmation ── */
.tc-confirmation {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tc-confirm-section {
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: var(--radius-md, 10px);
    padding: 24px;
    margin-bottom: 20px;
}

.tc-confirm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tc-confirm-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tc-confirm-label {
    font-size: 0.8rem;
    color: var(--text-muted, #999);
}

.tc-confirm-item strong {
    font-size: 0.9rem;
    color: var(--text-primary, #1a1a1a);
}

/* ── Payment ── */
.tc-payment {
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: var(--radius-md, 10px);
    padding: 24px;
    margin-bottom: 20px;
}

.tc-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.tc-payment-option {
    display: block;
    cursor: pointer;
}

.tc-payment-option input[type="radio"] {
    display: none;
}

.tc-payment-option-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1.5px solid var(--border-color, #e0e0e0);
    border-radius: var(--radius-sm, 6px);
    transition: all 0.2s ease;
}

.tc-payment-option-inner svg {
    flex-shrink: 0;
    color: var(--text-muted, #999);
}

.tc-payment-option-inner strong {
    font-size: 0.9rem;
    display: block;
}

.tc-payment-option-inner small {
    font-size: 0.78rem;
    color: var(--text-muted, #999);
}

.tc-payment-option:hover .tc-payment-option-inner {
    border-color: var(--primary, #22c55e);
}

.tc-payment-option.selected .tc-payment-option-inner {
    border-color: var(--primary, #22c55e);
    background: rgba(34, 197, 94, 0.04);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08);
}

.tc-payment-option.selected .tc-payment-option-inner svg {
    color: var(--primary, #22c55e);
}

.tc-card-form {
    padding-top: 4px;
}

/* ── Navigation Buttons ── */
.tc-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.tc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border: none;
    border-radius: var(--radius-sm, 6px);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.tc-btn-back {
    background: var(--bg-primary, #fff);
    color: var(--text-secondary, #555);
    border: 1.5px solid var(--border-color, #e0e0e0);
}

.tc-btn-back:hover {
    border-color: var(--text-secondary, #555);
    color: var(--text-primary, #1a1a1a);
}

.tc-btn-continue {
    background: var(--primary, #22c55e);
    color: #fff;
    margin-left: auto;
}

.tc-btn-continue:hover {
    background: var(--primary-hover, #16a34a);
}

.tc-btn-pay {
    background: var(--primary, #22c55e);
    color: #fff;
    margin-left: auto;
    padding: 13px 32px;
    font-size: 1rem;
}

.tc-btn-pay:hover {
    background: var(--primary-hover, #16a34a);
}

.tc-btn-pay:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Sidebar ── */
.tc-sidebar {
    position: sticky;
    top: calc(var(--header-height, 60px) + var(--nav-height, 44px) + 16px);
}

.tc-summary-card {
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: var(--radius-md, 10px);
    padding: 20px;
}

.tc-summary-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tc-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
}

.tc-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--text-secondary, #555);
}

.tc-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
}

.tc-text-primary {
    color: var(--primary, #22c55e) !important;
    font-size: 1.15rem;
}

.tc-summary-seats {
    padding-top: 14px;
}

.tc-summary-seats h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text-secondary, #555);
    margin-bottom: 10px;
}

.tc-summary-seat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    padding: 4px 0;
    color: var(--text-primary, #1a1a1a);
}

.tc-summary-seat-row small {
    color: var(--text-muted, #999);
}

/* ── Success ── */
.tc-success {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: var(--radius-md, 10px);
}

.tc-success-icon {
    margin-bottom: 20px;
}

.tc-success-icon svg {
    animation: tcSuccessPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes tcSuccessPop {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.tc-success h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-primary, #1a1a1a);
}

.tc-success p {
    color: var(--text-secondary, #555);
    max-width: 400px;
    margin: 0 auto 24px;
    line-height: 1.5;
}

.tc-success-details {
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: left;
    margin: 0 auto;
    background: var(--bg-secondary, #f5f5f5);
    padding: 20px 24px;
    border-radius: var(--radius-sm, 6px);
}

/* ── Spinner for Pay button ── */
.tc-spinner-icon {
    animation: spin 1s linear infinite;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .tc-layout {
        grid-template-columns: 1fr;
    }

    .tc-sidebar {
        position: static;
        order: -1;
    }

    .tc-stepper {
        padding: 0 8px;
    }

    .tc-step-label {
        font-size: 0.7rem;
    }

    .tc-step-circle {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .tc-step-line {
        margin-top: 15px;
        min-width: 24px;
    }
}

@media (max-width: 600px) {
    .tc-form-grid {
        grid-template-columns: 1fr;
    }

    .tc-confirm-grid {
        grid-template-columns: 1fr;
    }

    .tc-success-details {
        grid-template-columns: 1fr;
    }

    .tc-nav-buttons {
        flex-direction: column;
    }

    .tc-btn {
        width: 100%;
        justify-content: center;
    }

    .tc-btn-continue,
    .tc-btn-pay {
        margin-left: 0;
    }
}
