/* Search Tabs Redesign */
.box-tabs-search .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-bottom: none;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 100px;
    margin-bottom: 20px;
    scrollbar-width: none;
}
.box-tabs-search .nav-tabs::-webkit-scrollbar {
    display: none;
}
.box-tabs-search .nav-item {
    margin-bottom: 0;
    flex: 0 0 auto;
}
.box-tabs-search .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none !important;
    background: transparent;
    color: #475569;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.box-tabs-search .nav-link:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.box-tabs-search .nav-link.active {
    background: #000080 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 128, 0.3);
}
.box-tabs-search .nav-link .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.box-tabs-search .nav-link.active .icon-wrapper {
    background: rgba(255,255,255,0.2);
}
.box-tabs-search .nav-link i {
    font-size: 14px;
}

@media (max-width: 768px) {
    .box-tabs-search .nav-tabs {
        border-radius: 100px;
        padding: 4px;
    }
    .box-tabs-search .nav-link {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        padding: 8px 16px !important;
        font-size: 14px !important;
        border-radius: 100px !important;
        gap: 6px !important;
        height: auto !important;
        white-space: nowrap !important;
    }
    .box-tabs-search .nav-link .icon-wrapper {
        width: 24px !important;
        height: 24px !important;
        margin-bottom: 0 !important;
    }
    .box-tabs-search .nav-link i {
        font-size: 12px !important;
    }
}

/* Nï¿½ng Modal lï¿½n trï¿½n Contact Bar */
.modal { z-index: 1600 !important; }
.modal-backdrop { z-index: 1550 !important; }

/* Xï¿½a kho?ng h? du?i dï¿½y Modal trï¿½n Mobile */
@media (max-width: 768px) {
  .modal-dialog { margin-bottom: 0 !important; }
  .modal-content { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
}

/* ï¿½?m b?o ch? d? Lu?i hi?n th? d?p trï¿½n Mobile */
@media (max-width: 991px) {
  .grid-view .product-card { flex-direction: column !important; }
  .grid-view .product-image { width: 100% !important; height: auto !important; max-width: 100% !important; }
  .grid-view .product-image img { height: 220px !important; object-fit: cover !important; }
  .grid-view .product-info { width: 100% !important; padding: 15px !important; }
}

/* ï¿½?m b?o khung Lu?i trï¿½n di?n tho?i hi?n th? 1 s?n ph?m 1 hï¿½ng (?nh trï¿½n, ch? du?i) */
@media (max-width: 768px) {
  .products-grid.grid-view { display: grid !important; grid-template-columns: 1fr !important; gap: 15px !important; }
}




/* ï¿½?m b?o khung Lu?i trï¿½n di?n tho?i hi?n th? 1 s?n ph?m 1 hï¿½ng (?nh trï¿½n, ch? du?i) */
@media (max-width: 768px) {
  .products-grid.grid-view { display: grid !important; grid-template-columns: 1fr !important; gap: 15px !important; }
  .mobile-toolbar { display: flex; align-items: center; justify-content: space-between; }
}

/* Tang g?p dï¿½i kï¿½ch thu?c hi?n th? c?a cï¿½c Ngï¿½i sao dï¿½nh giï¿½ */
.product-rating .stars .star { font-size: 16px !important; margin-right: 2px; }
.product-rating .stars { display: flex; align-items: center; }

/* ï¿½?m b?o phï¿½n trang khï¿½ng b? trï¿½n mï¿½n hï¿½nh trï¿½n mobile */
@media (max-width: 576px) {
  .blog-pagination .page-numbers { padding: 5px 10px !important; min-width: 35px !important; }
  .blog-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
}

/* ï¿½?nh d?ng l?i phï¿½n trang: Tï¿½ch riï¿½ng Tru?c/Ti?p xu?ng du?i cï¿½ng trï¿½n mobile */
@media (max-width: 576px) {
  .blog-pagination {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  .blog-pagination .page-numbers {
    order: 1;
  }
  /* T?o xu?ng dï¿½ng */
  .blog-pagination::after {
    content: '';
    width: 100%;
    order: 2;
  }
  .blog-pagination .prev.page-numbers {
    order: 3 !important;
    margin-right: auto !important;
    width: auto !important;
  }
  .blog-pagination .next.page-numbers {
    order: 4 !important;
    margin-left: auto !important;
    width: auto !important;
  }
}

/* Lï¿½m d?p nï¿½t chuy?n d?i Grid/List gi?ng nï¿½t L?c */
.products-toolbar .view-btn { background-color: #f5f6f8 !important; color: #333 !important; border: 1px solid #e5e7eb !important; border-radius: 50px !important; padding: 5px 16px !important; gap: 6px !important; font-size: 13px !important; font-weight: 500 !important; height: 38px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; transition: all 0.3s ease; margin-left: 8px !important; }
.products-toolbar .view-btn.active { background-color: #000080 !important; color: #fff !important; border-color: #000080 !important; } .products-toolbar .view-btn svg { display: block !important; width: 16px !important; height: 16px !important; }


/* Fix shape */
.products-toolbar .view-toggle { border: none !important; background: transparent !important; padding: 0 !important; display: flex !important; gap: 8px !important; }
.products-toolbar .view-btn { width: auto !important; background-color: #f5f6f8 !important; color: #333 !important; border: 1px solid #e5e7eb !important; border-radius: 50px !important; padding: 5px 16px !important; gap: 6px !important; font-size: 13px !important; font-weight: 500 !important; height: 38px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; transition: all 0.3s ease; margin-left: 0 !important; }
.products-toolbar .view-btn.active { background-color: #000080 !important; color: #fff !important; border-color: #000080 !important; }
.products-toolbar .view-btn svg { display: block !important; width: 16px !important; height: 16px !important; margin: 0 !important; }
@media (min-width: 992px) { .mobile-toolbar { display: none !important; } }
@media (max-width: 991px) { .products-toolbar .toolbar-right { display: none !important; } }
/* Bo tron dropdown Sap xep */
.products-toolbar .sort-select {
  border-radius: 50px !important;
  padding: 5px 30px 5px 15px !important;
  height: 38px !important;
  border: 1px solid #e5e7eb !important;
  outline: none !important;
}
/* Fix Filters Sidebar */
.filters-sidebar .location-links { max-height: 250px !important; overflow-y: auto !important; overscroll-behavior-y: contain !important; border: 1px solid #000080 !important; border-radius: 8px !important; padding: 5px 0 !important; scrollbar-width: thin !important; scrollbar-color: #000080 #f1f1f1 !important; }
.filters-sidebar .location-links::-webkit-scrollbar { width: 6px !important; }
.filters-sidebar .location-links::-webkit-scrollbar-track { background: #f1f1f1 !important; border-radius: 8px !important; }
.filters-sidebar .location-links::-webkit-scrollbar-thumb { background: #000080 !important; border-radius: 8px !important; }
.filters-sidebar .location-links .loc-item { color: #333 !important; font-weight: 500 !important; padding: 8px 12px !important; transition: all 0.2s ease !important; }
.filters-sidebar .location-links .loc-item:hover, .filters-sidebar .location-links .loc-item.active { color: #000080 !important; background-color: rgba(0,0,128,0.05) !important; font-weight: 600 !important; }
.filters-sidebar .range-slider .range-progress { background-color: #000080 !important; }
.filters-sidebar .range-slider .range-input::-webkit-slider-thumb { border: 2px solid #000080 !important; background: #fff !important; box-shadow: 0 0 0 1px #000080 !important; }
.filters-sidebar .range-slider .range-input::-moz-range-thumb { border: 2px solid #000080 !important; background: #fff !important; box-shadow: 0 0 0 1px #000080 !important; }
.filters-sidebar .star-buttons .star-btn.active, .filters-sidebar .star-buttons .star-btn:hover { background-color: #000080 !important; color: #fff !important; border-color: #000080 !important; }
.filters-sidebar input[type="checkbox"]:checked { background-color: #000080 !important; border-color: #000080 !important; accent-color: #000080 !important; }
/* --- DARK MODE --- */
body.dark-mode { background-color: #121212 !important; color: #e0e0e0 !important; }
body.dark-mode header { background-color: #1e1e1e !important; border-bottom: 1px solid #333 !important; }
body.dark-mode header a, body.dark-mode header .username, body.dark-mode .main-menu .menu > li > a { color: #e0e0e0 !important; }
body.dark-mode .product-card { background-color: #1e1e1e !important; border-color: #333 !important; }
body.dark-mode .product-card .product-title a { color: #fff !important; }
body.dark-mode .filters-sidebar { background-color: #1e1e1e !important; border-color: #333 !important; color: #e0e0e0 !important; }
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 { color: #fff !important; }
body.dark-mode .products-toolbar { background-color: #1e1e1e !important; border-color: #333 !important; color: #e0e0e0 !important; }
body.dark-mode .products-toolbar .sort-select { background-color: #333 !important; color: #fff !important; border-color: #555 !important; }
body.dark-mode .products-toolbar .view-btn { background-color: #333 !important; color: #e0e0e0 !important; border-color: #555 !important; }
body.dark-mode .products-toolbar .view-btn.active { background-color: #000080 !important; color: #fff !important; border-color: #000080 !important; }
body.dark-mode .loc-item { color: #e0e0e0 !important; }
body.dark-mode .loc-item:hover, body.dark-mode .loc-item.active { color: #fff !important; background-color: #000080 !important; }
body.dark-mode input[type="text"], body.dark-mode select, body.dark-mode textarea { background-color: #333 !important; color: #fff !important; border-color: #555 !important; }
body.dark-mode .breadcrumb-item a, body.dark-mode .breadcrumb-item.active { color: #bbb !important; }
body.dark-mode .text-muted { color: #aaa !important; }
body.dark-mode .product-card .product-price { color: #fff !important; }
/* --- DARK MODE TOGGLE SWITCH --- */
.theme-switch-wrapper { display: flex; align-items: center; }
.theme-switch { display: inline-block; height: 30px; position: relative; width: 56px; margin: 0; }
.theme-switch input { display: none; }
.theme-switch .slider { background-color: #ccc; bottom: 0; cursor: pointer; left: 0; position: absolute; right: 0; top: 0; transition: .4s; display: flex; align-items: center; justify-content: space-between; padding: 0 5px; }
.theme-switch .slider:before { background-color: #fff; bottom: 3px; content: ""; height: 24px; left: 4px; position: absolute; transition: .4s; width: 24px; z-index: 2; }
.theme-switch .slider.round { border-radius: 34px; }
.theme-switch .slider.round:before { border-radius: 50%; }
.theme-switch input:checked + .slider { background-color: #000080; }
.theme-switch input:checked + .slider:before { transform: translateX(24px); }
.theme-switch .sun-icon { color: #f39c12; font-size: 14px; z-index: 1; margin-left: 2px; }
.theme-switch .moon-icon { color: #f1c40f; font-size: 14px; z-index: 1; margin-right: 2px; }
/* --- DARK MODE SEGMENTED CONTROL --- */
.theme-segmented-control { position: relative; display: flex; width: 100%; background-color: #f1f5f9; border-radius: 30px; padding: 4px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.06); margin-bottom: 20px; transition: background-color 0.4s ease; }
.theme-segmented-control input { display: none; }
.theme-segmented-control .segment-label { flex: 1; text-align: center; padding: 10px 0; font-size: 14px; font-weight: 600; color: #64748b; cursor: pointer; position: relative; z-index: 2; transition: color 0.3s ease; border-radius: 30px; margin-bottom: 0; }
.theme-segmented-control input#modeLight:checked ~ .light-label { color: #d97706; /* Sunset orange */ }
.theme-segmented-control input#modeDark:checked ~ .dark-label { color: #fff; }
.segment-slider { position: absolute; top: 4px; left: 4px; width: calc(50% - 4px); height: calc(100% - 8px); background-color: #fff; border-radius: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.12); transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), background-color 0.4s ease; z-index: 1; }
.theme-segmented-control input#modeDark:checked ~ .segment-slider { transform: translateX(100%); background-color: #1e293b; /* Dark elegant blue */ }
body.dark-mode .theme-segmented-control { background-color: #0f172a; box-shadow: inset 0 2px 4px rgba(0,0,0,0.5); }
body.dark-mode .theme-segmented-control .segment-label { color: #94a3b8; }
body.dark-mode .theme-segmented-control input#modeDark:checked ~ .dark-label { color: #fff; }
body.dark-mode .theme-segmented-control input#modeLight:checked ~ .light-label { color: #cbd5e1; }
/* --- WEATHER WIDGET --- */
.weather-widget { background: linear-gradient(135deg, #0052D4 0%, #4364F7 50%, #6FB1FC 100%); border-radius: 12px; padding: 15px; color: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.1); margin-bottom: 20px; }
.weather-loading { text-align: center; font-size: 14px; color: #fff; }
.weather-header { font-size: 16px; font-weight: 600; margin-bottom: 12px; text-align: center; text-shadow: 1px 1px 2px rgba(0,0,0,0.2); }
.weather-days-grid { display: flex; justify-content: space-between; gap: 8px; }
.weather-day { flex: 1; background: rgba(255, 255, 255, 0.15); border-radius: 8px; padding: 10px 5px; text-align: center; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.3); transition: transform 0.2s; }
.weather-day.active { background: rgba(255, 255, 255, 0.35); transform: scale(1.05); box-shadow: 0 4px 8px rgba(0,0,0,0.15); border-color: #fff; }
.weather-day .w-label { font-size: 11px; text-transform: uppercase; font-weight: bold; opacity: 0.9; margin-bottom: 4px; }
.weather-day .w-date { font-size: 12px; margin-bottom: 5px; }
.weather-day .w-icon { font-size: 22px; margin-bottom: 5px; filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.2)); }
.weather-day .w-temp { font-size: 12px; font-weight: 600; }
/* --- STICKY SIDEBAR --- */
@media (min-width: 992px) {
  .filters-sidebar {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

/* CSS cho Nut Xem chi tiet */
.tour-details-toggle-wrap {
    border-top: 1px solid #e5e7eb;
    padding-top: 15px;
    padding-bottom: 10px;
    margin-top: 20px;
}
.btn-toggle-details {
    background-color: transparent;
    color: #000080;
    border: 1px solid #000080;
    border-radius: 50px;
    padding: 6px 24px;
    font-weight: 600;
    font-size: 14.5px;
    transition: all 0.3s ease;
}
.btn-toggle-details:hover {
    background-color: #000080;
    color: #fff;
}

/* Responsive video embed in post content */
.description-content iframe,
.description-content object,
.description-content embed,
figure.wp-block-embed iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
figure.wp-block-embed {
    margin: 20px 0;
    width: 100%;
}

/* TÄƒng kÃ­ch thÆ°á»›c áº£nh cÃ¡c tour con trong trang chi tiáº¿t du thuyá»n */
.check-availability .room-list .room-item .room-gallery-img {
    width: 100% !important;
    aspect-ratio: 4/3 !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}


@media (max-width: 768px) {
  .check-availability .room-list .room-item .room-gallery-img {
      aspect-ratio: 4/3 !important;
  }
}

/* Fix table borders in content */
.post-content table,
.description-content table,
.entry-content table,
.tab-content table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}
.post-content table th,
.post-content table td,
.description-content table th,
.description-content table td,
.entry-content table th,
.entry-content table td,
.tab-content table th,
.tab-content table td {
    border: 1px solid #dee2e6 !important;
    padding: 10px 12px;
}

/* Global fix for table borders in post content */
article table, .container table {
    border-collapse: collapse !important;
    width: 100% !important;
}
article table th, article table td,
.container table th, .container table td,
.check-availability table th, .check-availability table td {
    border: 1px solid #333 !important;
    padding: 10px !important;
}

/* Standardize image gallery aspect ratio */
.room-gallery .room-gallery-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* --- TĂNG ĐỘ SẮC NÉT & RÕ RÀNG CHO TOÀN BỘ CHỮ TRÊN WEBSITE --- */
body, p, span, li, a, .accordion-body, .accordion-button, .entry-content, .description-content, td, th {
    font-family: 'Inter', sans-serif !important;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: subpixel-antialiased !important;
    -moz-osx-font-smoothing: auto !important;
}

/* Đảm bảo màu chữ đủ đậm (không bị xám mờ) và độ dày (font-weight) tiêu chuẩn */
body, p, li, .accordion-body, .entry-content, .description-content, .faq-answer {
    color: #1f2937 !important;
    font-weight: 500 !important;
}

/* Tiêu đề cần đậm hơn nữa */
h1, h2, h3, h4, h5, h6, .accordion-button, .tour-title, .faq-question {
    font-family: 'Inter', sans-serif !important;
    color: #111827 !important;
    font-weight: 700 !important;
}

/* Nút Xem thêm (Giới thiệu) */
.description-content .btn-more,
.product-info .btn-more {
    width: max-content !important;
    margin: 25px auto 10px !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 10px 28px !important;
    color: #000080 !important; /* Màu thương hiệu */
    border: 1.5px solid #000080 !important; /* Viền bao quanh */
    border-radius: 50px !important; /* Bo góc tròn (Pill) */
    background-color: #ffffff !important;
    background-image: none !important; /* Xóa gradient text cũ nếu có */
    -webkit-background-clip: border-box !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.description-content .btn-more:hover,
.product-info .btn-more:hover {
    background-color: #000080 !important;
    color: #ffffff !important;
}

.description-content .btn-more:hover i,
.product-info .btn-more:hover i {
    color: #ffffff !important;
}

/* Các câu hỏi FAQ (Accordion) */
.accordion-button {
    font-weight: 600 !important;
    color: #111827 !important;
}
.accordion-body {
    line-height: 1.7 !important;
}

/* Hero Banner Overlay & Text Colors */
.section-banner {
    position: relative !important;
}
.section-banner::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}
.section-banner .inner-banner {
    position: relative !important;
    z-index: 2 !important;
}
.section-banner h1,
.section-banner .banner-content h1 {
    color: #ffffff !important;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8), 0px 4px 15px rgba(0, 0, 0, 0.4) !important;
}

/* Restore footer colors */
footer {
  color: #ffffff !important;
}
footer .footer-col h4,
footer .footer-col ul li a,
footer .description,
footer .newsletter-section h3,
footer .newsletter-section p {
  color: #ffffff !important;
}
footer .footer-col ul li a:hover {
  color: #e2e8f0 !important;
}

/* Force booking popup header colors to white */
.order-title, .order-title .svc-title {
  color: #ffffff !important;
}
.order-subtitle {
  color: #ffffff !important;
}

/* Force native mobile scrolling for specific carousels to match tabs */
@media (max-width: 767px) {
  #productsCarousel.owl-carousel .owl-stage-outer,
  #relatedProductsCarousel.owl-carousel .owl-stage-outer {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    padding-bottom: 5px; 
  }
  #productsCarousel.owl-carousel .owl-stage-outer::-webkit-scrollbar,
  #relatedProductsCarousel.owl-carousel .owl-stage-outer::-webkit-scrollbar {
    display: none;
  }
  #productsCarousel.owl-carousel .owl-stage,
  #relatedProductsCarousel.owl-carousel .owl-stage {
    display: flex !important;
    width: max-content !important;
    transform: none !important;
    transition: none !important;
  }
  #productsCarousel.owl-carousel .owl-item,
  #relatedProductsCarousel.owl-carousel .owl-item {
    scroll-snap-align: start !important;
    flex-shrink: 0 !important;
  }
}

/* Fix Footer Black Text Overrides */
footer .company-info, 
footer .company-info *, 
footer .contact-info, 
footer .contact-info *,
footer .contact-info .item .info .label,
footer .contact-info .item .info .value,
footer .copyright {
  color: #ffffff !important;
}

/* Fix gallery thumbs container height overflow on medium viewports */
.product-detail .gallery-section .gallery-grid .gallery-thumbs {
  height: 100% !important;
}

/* Fix Filter Sidebar overlapping on mobile */
@media (max-width: 767px) {
  .filters-sidebar {
    z-index: 99999 !important;
  }
  .filters-sidebar .mobile-filter-actions {
    padding-bottom: 24px !important;
  }
  body > .mobile-bottom-nav,
  body > .mobile-bottom-bar {
    z-index: 1030 !important; 
  }
}

/* ==========================================================================
   YACHT PAGE REDESIGN
   ========================================================================== */
.vds-custom-page {
  font-family: 'Inter', sans-serif;
  color: #333333;
  line-height: 1.8;
}

/* Premium Intro Banner */
.vds-intro-banner {
  background: linear-gradient(135deg, rgba(11, 69, 108, 0.95), rgba(7, 47, 74, 0.98));
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 45px;
  box-shadow: 0 12px 30px rgba(11, 69, 108, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.vds-intro-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 80%);
  pointer-events: none;
}

.vds-intro-banner p {
  color: #f0f5fa !important;
  margin-bottom: 20px;
  font-size: 15px;
  text-align: justify;
  font-weight: 400;
}

.vds-intro-banner p:last-of-type {
  margin-bottom: 35px;
}

.vds-btn-detail {
  display: inline-block;
  background: #ffffff !important;
  color: #0b456c !important;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.vds-btn-detail:hover {
  background-color: #f1f1f1 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Sleek Scroll Category Menu */
.vds-section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #f1f1f1;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.vds-main-title {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 22px;
  color: #0b456c;
  margin: 0;
  letter-spacing: 0.5px;
  position: relative;
}

.vds-main-title::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #0b456c;
}

.vds-scroll-menu-container {
  margin-bottom: 40px;
  position: relative;
}

.vds-scroll-menu {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  gap: 12px;
  padding: 5px 5px 15px 5px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.vds-scroll-menu::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.vds-scroll-menu a {
  flex: 0 0 auto;
  display: inline-block;
  padding: 10px 24px;
  border: 1.5px solid #0b456c !important;
  color: #0b456c !important;
  border-radius: 50px;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(11, 69, 108, 0.05);
}

.vds-scroll-menu a:hover,
.vds-scroll-menu a.active {
  background-color: #0b456c !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(11, 69, 108, 0.2);
  transform: translateY(-1px);
}

/* Yacht Grid & Cards */
.vds-grid-yacht {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.vds-item-yacht {
  border: 1px solid #eef2f5;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.vds-item-yacht:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(11, 69, 108, 0.15);
  border-color: rgba(11, 69, 108, 0.1);
}

.vds-img-wrap-yacht {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: #f7f9fa;
  overflow: hidden;
}

.vds-img-wrap-yacht a {
  display: block;
  width: 100%;
  height: 100%;
}

.vds-img-wrap-yacht img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  transition: transform 0.6s ease;
}

.vds-item-yacht:hover .vds-img-wrap-yacht img {
  transform: scale(1.05);
}

.vds-img-overlay-yacht {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #ffffff;
  padding: 30px 20px 12px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vds-title-wrap-yacht {
  background-color: #f8fafc;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.vds-title-yacht {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.4;
}

.vds-content-yacht {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.vds-time-yacht {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vds-price-row-yacht {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px dashed #e2e8f0;
}

.vds-slot-yacht {
  font-size: 12px;
  font-weight: 600;
  color: #10b981;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: 6px;
}

.vds-price-yacht {
  font-size: 18px;
  font-weight: 800;
  color: #082f49;
}

/* Section Design */
.vds-section {
  margin-bottom: 50px;
}

.vds-section h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 25px;
  border-left: 4px solid #0b456c;
  padding-left: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vds-section p {
  font-size: 15px;
  color: #475569;
  text-align: justify;
  margin-bottom: 20px;
}

/* Premium Comparison Table */
.table-block-component {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  margin: 30px 0;
}

.table-block-component table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table-block-component th {
  background-color: #0b456c;
  color: #ffffff;
  font-weight: 700;
  padding: 16px 20px;
  text-align: left;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.table-block-component td {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
  vertical-align: top;
}

.table-block-component tr:last-child td {
  border-bottom: none;
}

.table-block-component tr:nth-child(even) {
  background-color: #f8fafc;
}

.table-block-component td strong {
  color: #0f172a;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
  .vds-grid-yacht {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .vds-grid-yacht {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .vds-intro-banner {
    padding: 25px;
  }
  .vds-img-wrap-yacht {
    height: 180px;
  }
  .table-block-component {
    overflow-x: auto;
  }
  .table-block-component table {
    min-width: 600px;
  }
}

/* Yacht Grid Layout customization (Standardized) */
.vds-products-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 991px) {
  .vds-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 767px) {
  .vds-products-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Force page hero title to be white */
.page-hero h1 {
  color: #ffffff !important;
}

/* Fix gallery layout on landscape mobile or screen sizes between 799px and 1199px */
.product-detail .gallery-section .gallery-grid .gallery-thumbs {
  height: 100% !important;
}



/* --- CLASS COLLAPSE LICH TRINH TOUR GOI GANG (UX FIX) --- */
.tour-details-collapse {
    max-height: none !important;
    overflow-y: visible !important;
    padding: 20px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    margin-top: 15px !important;
}



/* --- CHONG MEO HINH VA VO ANH TRONG ALBUM (UX FIX) --- */
.product-detail .gallery-section .gallery-grid .gallery-main img,
.product-detail .gallery-section .gallery-grid .gallery-thumbs .thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

@media (min-width: 800px) {
  .product-detail .gallery-section .gallery-grid .gallery-thumbs .thumb {
    height: 247px !important;
    overflow: hidden !important;
  }

  .product-detail .gallery-section .gallery-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    height: 500px !important;
    gap: 5px !important;
  }

  .product-detail .gallery-section .gallery-grid .gallery-thumbs {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 5px !important;
    height: 500px !important;
  }
}

/* ==========================================================================
   KEYWORD SEARCH NOTICE BANNER
   ========================================================================== */
.keyword-search-notice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border: 1px solid #c7d2fe;
  border-left: 4px solid #000080;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #1e2a4a;
  box-shadow: 0 2px 8px rgba(0, 0, 128, 0.08);
  animation: fadeInDown 0.3s ease;
}

.keyword-search-notice i.fa-magnifying-glass {
  color: #000080;
  font-size: 16px;
  flex-shrink: 0;
}

.keyword-search-notice strong {
  color: #000080;
}

.keyword-search-notice .clear-search {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid #c7d2fe;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.keyword-search-notice .clear-search:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
  .keyword-search-notice {
    font-size: 13px;
    padding: 10px 14px;
  }
  .keyword-search-notice .clear-search {
    margin-left: 0;
  }
}

/* --- TĂNG ĐỘ TƯƠNG PHẢN CHỮ (TRẮNG) TRÊN NỀN TỐI --- */
/* Đảm bảo tiêu đề trong tất cả các Modal Header luôn là màu trắng */
.modal-header,
.modal-header .modal-title,
.modal-header h1,
.modal-header h2,
.modal-header h3,
.modal-header h4,
.modal-header h5,
.modal-header h6 {
    color: #ffffff !important;
}

/* Đảm bảo nội dung trong Đặt phòng theo tour đoàn có chữ màu trắng */
.group-booking,
.product-detail .group-booking {
    color: #ffffff !important;
}
.group-booking h2,
.group-booking p,
.product-detail .group-booking h2,
.product-detail .group-booking p {
    color: #ffffff !important;
    opacity: 1 !important;
}




/* ===================================================
   FIX: Ảnh trong phần Giới thiệu sản phẩm responsive trên mobile
   Root cause: WordPress classic editor tự gán style="width:890px" vào .wp-caption
   => override bằng !important để buộc responsive
   =================================================== */

/* 1. Bắt buộc container .wp-caption (WordPress caption div) về max-width 100% */
.content-more .wp-caption,
.description-content .wp-caption,
.section-description .wp-caption,
.product-info .wp-caption {
    width: auto !important;
    max-width: 100% !important;
    display: block !important;
}

/* 2. Ảnh bên trong .wp-caption: width: auto để max-width có tác dụng */
.content-more .wp-caption img,
.description-content .wp-caption img,
.section-description .wp-caption img,
.product-info .wp-caption img,
.content-more img,
.description-content img,
.section-description img,
.product-info img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* 3. Caption text cũng không được rộng hơn container */
.content-more .wp-caption-text,
.description-content .wp-caption-text,
.section-description .wp-caption-text,
.product-info .wp-caption-text {
    max-width: 100% !important;
    word-wrap: break-word !important;
}

/* 4. Đảm bảo container không bị tràn */
.section-description,
.description-content,
.content-more,
.content-wrapper {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* 5. Fix WordPress block editor figures bị tràn */
.section-description figure,
.description-content figure,
.content-more figure {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 6. Fix services-list overflow ngang */
.header-services,
.services-list {
    max-width: 100% !important;
    overflow-x: auto !important;
}


/* === TAB-FIX-NOWRAP: Buộc tab menu luôn 1 hàng, không xuống dòng ===
   Ghi đè style.min.css @media(max-width:799px) { display:block; span display:block }
   Dùng !important + specificity cao để đảm bảo thắng mọi rule khác
   =================================================================== */
.box-tabs-search .nav-tabs .nav-link,
.box-tabs-search .nav-tabs .nav-link:hover,
.box-tabs-search .nav-tabs .nav-link.active {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    white-space: nowrap !important;
    text-align: left !important;
    margin-bottom: 0 !important;
}

/* Span bên trong tab: KHÔNG được display:block - đây là nguyên nhân xuống dòng */
.box-tabs-search .nav-tabs .nav-link span,
.box-tabs-search .nav-tabs .nav-link .tab-text,
.box-tabs-search .nav-tabs .nav-link .icon-wrapper {
    display: inline !important;
    white-space: nowrap !important;
}

/* Giữ icon-wrapper dạng inline-flex để icon hiển thị đúng */
.box-tabs-search .nav-tabs .nav-link .icon-wrapper {
    display: inline-flex !important;
}

/* li không được width:max-content cố định - để tự co giãn */
.box-tabs-search .nav-tabs li {
    width: auto !important;
    flex: 0 0 auto !important;
}

/* Trên mobile nhỏ: giảm padding + font để vừa màn hình */
@media (max-width: 799px) {
    .box-tabs-search .nav-tabs .nav-link,
    .box-tabs-search .nav-tabs .nav-link.active {
        padding: 7px 10px !important;
        font-size: 12px !important;
        gap: 4px !important;
    }
    /* Ẩn icon để tiết kiệm chỗ */
    .box-tabs-search .nav-tabs .nav-link .icon-wrapper {
        display: none !important;
    }
}
@media (max-width: 480px) {
    .box-tabs-search .nav-tabs .nav-link,
    .box-tabs-search .nav-tabs .nav-link.active {
        padding: 6px 8px !important;
        font-size: 11px !important;
    }
}


/* ===================================================
   FIX: Ngăn chữ trong Menu Dịch vụ Header bị xuống dòng trên mobile
   =================================================== */
.header-services ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
}

.header-services ul li {
    flex: 0 0 auto !important;
}

.header-services ul li a {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row !important;
}

.header-services ul li a span {
    white-space: nowrap !important;
    display: inline !important;
}
