/* ==========================================================================
   SIMPLE TOUR MANAGER - FRONTEND STYLES (SRTRAVEL BRAND SYNC)
   ========================================================================== */

/* 1. CHUẨN HÓA DÙNG CHUNG CHO TẤT CẢ THẺ TOUR (CARD & ITEM) */
.stm-tour-card {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #d1e7da !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 4px 12px rgba(11, 59, 36, 0.06) !important;
    transition: all 0.25s ease !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.stm-tour-card:hover {
    transform: translateY(-4px) !important;
    border-color: #009640 !important;
    box-shadow: 0 12px 24px rgba(11, 59, 36, 0.14) !important;
}

.stm-tour-thumb {
    position: relative !important;
    width: 100% !important;
    height: 185px !important;
    overflow: hidden !important;
    background: #f3faf6 !important;
    margin: 0 !important;
}

.stm-tour-thumb a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 0 !important;
}

.stm-tour-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.stm-tour-card:hover .stm-tour-thumb img {
    transform: scale(1.06) !important;
}

/* Badges (Giảm giá & Nổi bật) */
.stm-tour-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: #C81E1E !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    z-index: 5 !important;
    line-height: 1 !important;
    box-shadow: 0 2px 6px rgba(227, 30, 36, 0.3) !important;
}

.stm-badge-mini-featured {
    position: absolute !important;
    bottom: 10px !important;
    left: 10px !important;
    background: #F37021 !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    z-index: 5 !important;
    line-height: 1 !important;
    box-shadow: 0 2px 6px rgba(243, 112, 33, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

/* Thân Card & Cố Định 2 Dòng Tiêu Đề Chống Thò Thụt */
.stm-tour-body {
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}

.stm-tour-title {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 0 10px 0 !important;
    height: calc(1.4em * 2) !important;
    min-height: calc(1.4em * 2) !important;
    max-height: calc(1.4em * 2) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.stm-tour-title a {
    color: #0B3B24 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.stm-tour-title a:hover {
    color: #009640 !important;
}

.stm-tour-meta {
    font-size: 13px !important;
    color: #475569 !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* Footer Card: Giá & Nút Xem Tour */
.stm-tour-footer {
    margin-top: auto !important;
    padding-top: 12px !important;
    border-top: 1px dashed #d1e7da !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
}

.stm-tour-price {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.stm-price-sale {
    color: #E31E24 !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.stm-price-original {
    color: #94a3b8 !important;
    font-size: 12px !important;
    text-decoration: line-through !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
}

.stm-btn-detail {
    white-space: nowrap !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    background-color: #C2410C !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    display: inline-block !important;
    transition: background-color 0.25s ease !important;
}

.stm-btn-detail:hover {
    background-color: #009640 !important;
    color: #FFFFFF !important;
}

/* 2. LAYOUT GRID CHO [stm_featured_tours] & [stm_tour_list] */
.stm-featured-wrapper-v2,
.stm-tour-container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto 30px auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    clear: both !important;
}

.stm-tour-container *,
.stm-featured-wrapper-v2 * {
    box-sizing: border-box !important;
}

.stm-featured-title-v2 {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0B3B24 !important;
    margin: 30px 0 22px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 3px solid #009640 !important;
}

.stm-featured-grid-v2,
.stm-tour-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)) !important;
    gap: 22px !important;
    width: 100% !important;
    align-items: stretch !important;
    margin-bottom: 30px !important;
}

.stm-tour-layout-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    align-items: flex-start !important;
}

.stm-tour-content {
    flex: 1 1 0% !important;
    min-width: 280px !important;
}

.stm-tour-container p {
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. SIDEBAR BỘ LỌC [stm_tour_list] */
.stm-filter-card {
    flex: 0 0 280px !important;
    max-width: 280px !important;
    width: 100% !important;
    background: #FFFFFF !important;
    border: 1px solid #d1e7da !important;
    border-top: 4px solid #009640 !important;
    border-radius: 14px !important;
    padding: 20px !important;
    box-shadow: 0 4px 12px rgba(11, 59, 36, 0.06) !important;
}

.stm-filter-header {
    margin-bottom: 16px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #009640 !important;
}

.stm-filter-title {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0B3B24 !important;
    margin: 0 !important;
}

.stm-filter-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

.stm-field-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.stm-field-group label {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0B3B24 !important;
    margin: 0 !important;
}

.stm-field-group input[type="text"],
.stm-field-group select {
    height: 40px !important;
    padding: 0 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background-color: #FFFFFF !important;
    color: #1f2937 !important;
    outline: none !important;
    width: 100% !important;
    margin: 0 !important;
    transition: border-color 0.2s !important;
}

.stm-field-group input[type="text"]:focus,
.stm-field-group select:focus {
    border-color: #009640 !important;
}

.stm-duration-group {
    display: flex !important;
    gap: 8px !important;
}

.stm-duration-group select {
    flex: 1 !important;
}

.stm-range-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.stm-range-slider-box {
    position: relative !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
}

.stm-range-slider-box input[type="range"] {
    position: absolute !important;
    pointer-events: none !important;
    -webkit-appearance: none !important;
    z-index: 2 !important;
    height: 0 !important;
    width: 100% !important;
    outline: none !important;
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.stm-range-slider-box input[type="range"]::-webkit-slider-thumb {
    pointer-events: all !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #009640 !important;
    border: 2px solid #FFFFFF !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    box-shadow: 0 0 5px rgba(11, 59, 36, 0.35) !important;
}

.stm-slider-track {
    position: absolute !important;
    height: 6px !important;
    border-radius: 3px !important;
    background: #e2e8f0 !important;
    width: 100% !important;
    z-index: 1 !important;
}

.stm-price-display {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #009640 !important;
}

.stm-checkbox-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 40px !important;
}

.stm-checkbox-group input {
    width: 18px !important;
    height: 18px !important;
    accent-color: #E31E24 !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.stm-checkbox-group label {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #E31E24 !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.stm-filter-actions {
    display: flex !important;
    gap: 10px !important;
    margin-top: 15px !important;
}

.stm-btn-search {
    background: #C2410C !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 0 16px !important;
    height: 42px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    flex: 2 !important;
    text-align: center !important;
    transition: background-color 0.25s ease !important;
}

.stm-btn-search:hover {
    background: #009640 !important;
}

.stm-btn-reset {
    background: #F3FAF6 !important;
    color: #0B3B24 !important;
    border: 1px solid #fecaca !important;
    text-decoration: none !important;
    padding: 0 14px !important;
    height: 42px !important;
    line-height: 40px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center !important;
    display: inline-block !important;
    flex: 1 !important;
}

.stm-btn-reset:hover {
    background: #fef2f2 !important;
    border-color: #E31E24 !important;
}

/* Phân trang */
.stm-pagination {
    display: flex !important;
    gap: 6px !important;
    justify-content: center !important;
    margin-top: 24px !important;
}

.stm-pagination .page-numbers {
    padding: 8px 14px !important;
    border: 1px solid #d1e7da !important;
    background: #FFFFFF !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: #0B3B24 !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.stm-pagination .page-numbers.current,
.stm-pagination .page-numbers:hover {
    background: #009640 !important;
    color: #FFFFFF !important;
    border-color: #009640 !important;
}

/* 4. SIDEBAR TOUR LIÊN QUAN [stm_related_tours] */
.stm-related-sidebar-wrapper {
    width: 100% !important;
    margin-bottom: 24px !important;
    background: #FFFFFF !important;
    border: 1px solid #d1e7da !important;
    border-top: 4px solid #009640 !important;
    border-radius: 14px !important;
    padding: 18px !important;
    box-shadow: 0 4px 12px rgba(11, 59, 36, 0.06) !important;
    box-sizing: border-box !important;
}

.stm-related-sidebar-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0B3B24 !important;
    margin: 0 0 16px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #009640 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.stm-related-sidebar-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    width: 100% !important;
}

.stm-related-sidebar-list .stm-tour-thumb {
    height: 160px !important;
}

/* 5. THANH TÌM KIẾM NGANG [stm_tour_search_bar] */
.stm-horizontal-filter-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border-top: 4px solid #009640;
    padding: 20px 24px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(11, 59, 36, 0.16);
    margin-bottom: 25px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 999;
    overflow: visible !important;
}

.stm-horizontal-filter-card form {
    overflow: visible !important;
}

.stm-hz-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 210px;
    gap: 16px;
    align-items: flex-end;
    position: relative;
    z-index: 10;
}

.stm-hz-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.stm-hz-field label {
    font-size: 13.5px;
    font-weight: 700;
    color: #0B3B24 !important;
    white-space: nowrap;
}

.stm-hz-field input[type="text"],
.stm-hz-field select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #FFFFFF !important;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.stm-hz-field input[type="text"]::placeholder {
    color: #64748b;
}

.stm-hz-field input[type="text"]:focus,
.stm-hz-field select:focus {
    border-color: #009640;
    background-color: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(0, 150, 64, 0.15);
}

.stm-hz-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    height: 44px;
}

.stm-hz-btn-submit {
    flex: 2;
    height: 100%;
    background: #F37021 !important;
    color: #FFFFFF !important;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.stm-hz-btn-submit:hover {
    background: #009640 !important;
}

.stm-hz-btn-reset {
    flex: 1.4;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: #E31E24 !important;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.stm-hz-btn-reset:hover {
    background: #fef2f2;
    border-color: #E31E24;
    color: #E31E24 !important;
}

/* TomSelect */
.ts-wrapper {
    position: relative;
    z-index: 100;
}

.ts-control {
    height: 44px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #FFFFFF !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    color: #1f2937 !important;
    box-shadow: none !important;
}

.ts-control input {
    font-size: 14px !important;
}

.ts-wrapper.focus .ts-control {
    border-color: #009640 !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(0, 150, 64, 0.15) !important;
}

.ts-dropdown {
    border-radius: 8px !important;
    border-color: #009640 !important;
    box-shadow: 0 10px 25px rgba(11, 59, 36, 0.18) !important;
    z-index: 999999 !important;
    max-height: 260px !important;
    overflow-y: auto !important;
    background: #FFFFFF !important;
}

.ts-dropdown .active {
    background-color: #f3faf6 !important;
    color: #009640 !important;
    font-weight: 600;
}

/* 6. TRANG CHI TIẾT TOUR (SINGLE TOUR) */
.entry-content,
.post-content,
.single-post .entry-content,
.type-tour,
.stm-hero-gallery,
.stm-booking-bar,
.stm-sticky-nav-wrapper,
.stm-content-section,
.stm-itinerary-section,
.stm-accordion-services,
.stm-faq-section,
.stm-accordion-item,
.stm-accordion-summary,
.stm-accordion-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.stm-hero-gallery,
.stm-booking-bar,
.stm-sticky-nav-wrapper,
.stm-content-section,
.stm-itinerary-section,
.stm-accordion-services,
.stm-faq-section {
    clear: both;
}

.stm-sticky-nav-wrapper {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 76px;
    z-index: 9999;
    background: #FFFFFF;
    border-bottom: 2px solid #009640;
    box-shadow: 0 4px 12px rgba(11, 59, 36, 0.08);
    margin-bottom: 25px;
    padding: 0;
    border-radius: 8px 8px 0 0;
}

.stm-sticky-nav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.stm-sticky-nav::-webkit-scrollbar {
    display: none;
}

.stm-nav-item {
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #475569;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.stm-nav-item:hover,
.stm-nav-item.active {
    color: #009640;
    background: #f3faf6;
    border-bottom-color: #009640;
}

.stm-hero-gallery {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    height: 380px !important;
}

.stm-hero-left {
    flex: 0 0 65%;
    width: 65%;
    min-width: 0;
}

.stm-hero-right {
    flex: 0 0 25%;
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stm-gallery-zoom {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    display: block;
    width: 100%;
    height: 100%;
}

.stm-gallery-zoom img {
    transition: transform 0.4s ease, filter 0.4s ease;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 100%;
}

.stm-gallery-zoom:hover img {
    transform: scale(1.05);
    filter: brightness(0.95);
}

.slick-list.draggable {
    background: #0B3B24;
    color: #FFFFFF;
}

.stm-booking-bar {
    background: #FFFFFF;
    border: 1px solid #d1e7da;
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(11, 59, 36, 0.05);
    gap: 15px;
}

.stm-booking-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stm-price-box {
    display: flex;
    flex-direction: column;
}

.stm-price-box .stm-sale {
    font-size: 24px;
    font-weight: 800;
    color: #E31E24;
    line-height: 1.2;
}

.stm-price-box .stm-original {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
}

.stm-meta-item {
    font-size: 15px;
    color: #0B3B24;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f3faf6;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #d1e7da;
}

.stm-btn-open-consult {
    background: #F37021;
    color: #FFFFFF !important;
    border: none;
    padding: 10px 24px !important;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.stm-btn-open-consult:hover {
    background: #009640;
    transform: translateY(-1px);
}

.stm-itinerary-section h3,
.stm-faq-section h3 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 25px 0 15px 0 !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0B3B24 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border-bottom: none !important;
}

.stm-itinerary-section h3::after,
.stm-faq-section h3::after {
    content: "";
    flex: 1;
    height: 2px;
    background: #d1e7da;
    margin-left: 10px;
}

.stm-accordion-item {
    border: 1px solid #d1e7da;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(11, 59, 36, 0.03);
}

.stm-accordion-summary {
    padding: 16px 20px !important;
    font-weight: 700;
    font-size: 16.5px;
    cursor: pointer;
    background: #f3faf6;
    color: #0B3B24;
    user-select: none;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: background 0.2s, color 0.2s;
    list-style: none !important;
}

.stm-accordion-summary:hover {
    background: #e3f4ea;
    color: #009640;
}

.stm-accordion-summary::-webkit-details-marker,
.stm-accordion-summary::marker {
    display: none !important;
    content: "" !important;
}

.stm-accordion-summary::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #009640;
    border-bottom: 2px solid #009640;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
}

details[open] > .stm-accordion-summary::after {
    transform: rotate(-135deg);
}

.stm-accordion-content {
    padding: 18px 22px;
    font-size: 16px;
    line-height: 1.8;
    color: #1f2937;
    border-top: 1px solid #d1e7da;
}

.stm-list-clean {
    margin: 0;
    padding: 0;
    list-style: none;
}

.stm-list-clean li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    word-break: break-word;
}

.stm-list-clean li:last-child {
    margin-bottom: 0;
}

.stm-tour-slider .slick-prev {
    left: 15px;
    z-index: 10;
}

.stm-tour-slider .slick-next {
    right: 15px;
    z-index: 10;
}

/* Modal Popup Consultation & Sticky Mobile Bar */
.stm-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 59, 36, 0.7);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.stm-modal-content {
    background-color: #FFFFFF;
    padding: 28px;
    border-radius: 16px;
    width: 100%;
    max-width: 460px;
    border-top: 5px solid #009640;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: stmPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes stmPopIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.stm-modal-close {
    position: absolute;
    right: 18px;
    top: 14px;
    font-size: 26px;
    font-weight: bold;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s;
}

.stm-modal-close:hover {
    color: #E31E24;
}

.stm-modal-header {
    margin-bottom: 20px;
}

.stm-modal-header h3 {
    margin: 0 0 6px 0 !important;
    font-size: 20px !important;
    color: #0B3B24 !important;
    font-weight: 800 !important;
}

.stm-modal-header p {
    margin: 0 !important;
    font-size: 14px !important;
    color: #475569 !important;
}

.stm-form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stm-form-group label {
    font-size: 13.5px;
    font-weight: 600;
    color: #0B3B24;
}

.stm-form-group label .required {
    color: #E31E24;
}

.stm-form-group input,
.stm-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.stm-form-group input:focus,
.stm-form-group textarea:focus {
    border-color: #009640;
    box-shadow: 0 0 0 3px rgba(0, 150, 64, 0.15);
}

.stm-btn-submit {
    width: 100%;
    height: 44px;
    background-color: #F37021;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.stm-btn-submit:hover {
    background-color: #009640;
}

.stm-btn-submit:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
}

.stm-form-message {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 14px;
    display: none;
}

.stm-form-message.success {
    background-color: #f3faf6;
    color: #009640;
    border: 1px solid #009640;
}

.stm-form-message.error {
    background-color: #fef2f2;
    color: #E31E24;
    border: 1px solid #E31E24;
}

.stm-mobile-sticky-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #FFFFFF !important;
    box-shadow: 0 -4px 20px rgba(11, 59, 36, 0.15) !important;
    z-index: 99999 !important;
    padding: 12px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    border-top: 2px solid #009640 !important;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.stm-sticky-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stm-sidebar-tour-box .stm-btn-open-consult:hover,
.stm-mobile-sticky-bar .stm-btn-open-consult:hover {
    background: #009640 !important;
}

@media (min-width: 768px) {
    .stm-mobile-sticky-bar {
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
    }
    .stm-mobile-sticky-bar.stm-sticky-active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 1024px) {
    .stm-hz-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stm-hz-actions {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .stm-filter-card {
        max-width: 100% !important;
        flex: 1 1 100% !important;
        margin: 0 auto !important;
    }
    .stm-hero-gallery {
        flex-direction: column;
        height: auto !important;
    }
    .stm-hero-left,
    .stm-hero-right {
        width: 100% !important;
        flex: none;
    }
    .stm-hero-right {
        display: none !important;
    }
    .stm-booking-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .stm-booking-info {
        justify-content: center;
    }
    .stm-btn-open-consult {
        justify-content: center;
        width: 100%;
    }
    .slick-list.draggable {
        background: #f3faf6 !important;
        max-height: 200px !important;
    }
}

@media (max-width: 640px) {
    .stm-hz-grid {
        grid-template-columns: 1fr;
    }
    .stm-hz-actions {
        grid-column: span 1;
    }
    
    .stm-sticky-nav-wrapper {

        top: 60px;
    }
}

/* Ép ảnh trong Tour Liên Quan phủ kín 100% khung nền */
.stm-related-sidebar-list .stm-tour-thumb {
    width: 100% !important;
    height: 220px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: block !important;
}

.stm-related-sidebar-list .stm-tour-thumb a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.stm-related-sidebar-list .stm-tour-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}


/* Làm rõ chữ giá gốc gạch ngang trên nền trắng */
.stm-price-original {
    color: #596577 !important;
}
/* Giữ nguyên màu cam thương hiệu #F37021, đổi chữ sang xanh đậm #0B3B24 để đạt tương phản 5.98:1 */
body .stm-btn-detail,
body .stm-btn-search,
body .stm-hz-btn-submit,
body .stm-badge-mini-featured,
body .stm-btn-open-consult,
body .sr-floating-consult-btn,
body .wp-block-button__link[style*="243, 112, 33"] {
    background-color: #F37021 !important;
    /*color: #0B3B24 !important;*/
    font-weight: 700 !important;
}

/*body .stm-btn-detail:hover,*/
/*body .stm-btn-search:hover,*/
/*body .stm-hz-btn-submit:hover,*/
/*body .stm-btn-open-consult:hover {*/
/*    background-color: #FF853A !important;*/
/*    color: #0B3B24 !important;*/
/*}*/

/* Nút Đặt lại: nền xanh nhạt đồng bộ khung lọc + chữ xanh đậm */
body .stm-btn-reset,
body .stm-hz-btn-reset {
    background-color: #F3FAF6 !important;
    color: #0B3B24 !important;
    border: 1px solid #009640 !important;
}

/* Nhãn Giảm giá: giữ sắc đỏ vừa phải, chữ trắng đạt tương phản > 4.5:1 */
body .stm-tour-badge {
    background-color: #D92329 !important;
    color: #FFFFFF !important;
}

/* Giá gốc gạch ngang rõ nét hơn trên nền trắng */
body .stm-price-original {
    color: #525E70 !important;
}

