/* bus-landing.css */
/* Fallback an toàn cho CSS màu Klook trong trường hợp CDN bị Delay/Cache */
.text-klook-orange { color: #f58220 !important; }
.bg-klook-orange { background-color: #f58220 !important; }
.border-klook-orange { border-color: #f58220 !important; }
.hover\:text-klook-orange:hover { color: #f58220 !important; }
.hover\:border-klook-orange:hover { border-color: #f58220 !important; }

.text-klook-dark { color: #212121 !important; }
.bg-klook-dark { background-color: #212121 !important; }
.border-klook-dark { border-color: #212121 !important; }

.text-klook-gray { color: #757575 !important; }

.bg-klook-light { background-color: #f5f5f5 !important; }
.border-klook-border { border-color: #e0e0e0 !important; }

/* Ẩn scrollbar cho danh sách trượt ngang */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Lịch trình (Timeline) CSS */
.timeline-item { position: relative; padding-left: 24px; padding-bottom: 24px; }
.timeline-item::before { content: ''; position: absolute; left: 7px; top: 2px; bottom: -2px; width: 2px; background-color: #e0e0e0; }
.timeline-item:last-child::before { display: none; }
.timeline-icon { position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background-color: white; border: 2px solid #f58220; z-index: 10; display: flex; align-items: center; justify-content: center; }
.timeline-icon.start-end { background-color: #f58220; }

/* Fix xung đột CSS Flatsome */
@media (max-width: 767px) {
    .klook-desktop-only { display: none !important; }
    .mobile-hidden { display: none !important; }
}

/* Sidebar blocks: ẩn trên mobile, hiện trên desktop */
.klook-sidebar-block { display: none; }
@media (min-width: 1024px) {
    .klook-sidebar-block { display: block !important; }
}

/* Thêm hiệu ứng active/selected cho các tuỳ chọn Tour/Bus (Departure Point, Time Slot, Package) */
input[type="radio"].peer:checked + div {
    border-color: #f58220 !important;
    background-color: #fff7ed !important;
    color: #f58220 !important;
    border-width: 2px !important;
    font-weight: 700 !important;
}

/* Booking spinner */
.klook-spinner { display:inline-block; width:16px; height:16px; border:2px solid rgba(255,255,255,0.4); border-top-color:#fff; border-radius:50%; animation:spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast notification */
#klook-toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(100px); background:#323232; color:#fff; padding:12px 24px; border-radius:8px; font-size:14px; z-index:9999; opacity:0; transition:all .4s ease; pointer-events:none; white-space:nowrap; }
#klook-toast.show { opacity:1; transform:translateX(-50%) translateY(0); }
#klook-toast.error { background:#d32f2f; }

/* Khôi phục CSS cho nội dung WYSIWYG (SEO Content) bị Tailwind reset */
.klook-wysiwyg h1, .klook-wysiwyg h2, .klook-wysiwyg h3, .klook-wysiwyg h4, .klook-wysiwyg h5, .klook-wysiwyg h6 { font-weight: bold; margin-top: 1.5em; margin-bottom: 0.5em; color: #212121; }
.klook-wysiwyg h1 { font-size: 2em; }
.klook-wysiwyg h2 { font-size: 1.5em; border-left: 4px solid #f58220; padding-left: 12px; margin-top: 1.5em; margin-bottom: 1em; }
.klook-wysiwyg h3 { font-size: 1.25em; }
.klook-wysiwyg h4 { font-size: 1.1em; }
.klook-wysiwyg p { margin-bottom: 1em; line-height: 1.8; }
.klook-wysiwyg ul { list-style-type: disc; padding-left: 20px; margin-bottom: 1em; }
.klook-wysiwyg ol { list-style-type: decimal; padding-left: 20px; margin-bottom: 1em; }
.klook-wysiwyg a { color: #f58220; text-decoration: underline; }
.klook-wysiwyg table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; border: 1px solid #e0e0e0; font-size: 0.95em; }
.klook-wysiwyg th, .klook-wysiwyg td { border: 1px solid #e0e0e0; padding: 12px; text-align: left; }
.klook-wysiwyg th { background-color: #f5f5f5; font-weight: bold; color: #333; }
.klook-wysiwyg img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.5em auto; display: block; }
.klook-wysiwyg strong, .klook-wysiwyg b { font-weight: bold; color: #111; }
.klook-wysiwyg blockquote { border-left: 4px solid #e0e0e0; padding-left: 16px; margin: 1.5em 0; color: #666; font-style: italic; }
@media (max-width: 767px) {
    .mobile-hidden { display: none !important; }
}
