.bd-breadcrumb__menu ul li span a {
    color: #736a6a;
}

:root {
    --clr-title: #563c1d;
}

ol {
    padding: 0;
}

.is-hidden {
    display: none !important;
}

.is-block {
    display: block !important;
}

.is-inline-block {
    display: inline-block !important;
}

.is-flex {
    display: flex !important;
}

/* ------------------------------
  2. 地圖區塊
------------------------------ */
#mapWrapper {
    position: relative;
    overflow: hidden;
}

#map {
    position: relative;
    overflow: hidden;
    width: 100%;
    overflow: visible;
    height: calc(100vh - 122px);
}

.btn-start-nav,
.btn-reset-nav,
.btn-go-route,
.btn-go-fav,
.btn-reroute {
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    background: var(--clr-theme-1);
    color: #fff;
    border: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-reset-nav {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 8;
}

/* ------------------------------
  3. 左側資訊欄（Sidebar Left）
------------------------------ */
.sidebar-left {
    position: relative;
    background: #fff;
    border-radius: 0 12px 12px 0;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
    width: 400px;
    height: calc(100vh - 148px);
    position: absolute;
    top: 12px;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 10;
}

.sidebar-left--open {
    transform: translateX(0);
}

.list-search-wrapper {
    border-radius: 12px;
    overflow: hidden;
    margin-right: 4px;
}

.store-content-wrapper {
    overflow: hidden;
    margin-right: 4px;
}

#listSearch {
    overflow-y: auto;
    max-height: calc(100vh - 180px);
    overscroll-behavior: contain;
}

#sidebarTitle {
    background: linear-gradient(90deg, var(--clr-theme-1), var(--clr-theme-3));
    color: #fff;
    font-weight: 500;
    font-size: 1.25rem;
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: 0 12px 0 0;
    position: relative;
    letter-spacing: 0.5px;
}

#closeLeftBtn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1;
}

.sidebar-section {
    padding: 12px 20px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
    color: #444;
}

.sidebar-section i {
    font-size: 16px;
    color: #666;
    width: 20px;
}

.sidebar-section span {
    color: #222;
}

#imageCarousel {
    height: 250px;
    width: 100%;
    background: #f9f9f9;
    display: none;
}

.swiper-slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.swiper-pagination-bullet-active {
    background-color: var(--clr-theme-1) !important;
}

.store-content {
    padding: 0 24px;
    margin-top: 16px;
    overflow-y: auto;
    height: calc(100vh - 560px);
    overscroll-behavior: contain;
}

.store-content-title h5 {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--clr-title);
}

.store-content-title h5 i {
    margin-right: 4px;
    color: var(--clr-title);
}

#desc {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.btn-toggle-left-bookmark {
    position: absolute;
    top: 123px;
    right: -40px;
    width: 40px;
    height: 70px;
    background: #b1742f;
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.15);
    border-radius: 0 6px 6px 0;
}

.btn-mobile-left-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--clr-title);
    font-size: 1.4rem;
    margin-left: 8px;
    cursor: pointer;
}

/* ------------------------------
  4. 左側欄 Icon 工具列
------------------------------ */
.sidebar-icons {
    display: flex;
    justify-content: space-around;
    background-color: #fff8ed;
    padding: 8px 0;
    border-top: 1px solid #e9ddce;
    border-bottom: 1px solid #e9ddce;
}

.sidebar-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    transition: background 0.2s ease;
    cursor: pointer;
    font-size: 1.5rem;
}

.sidebar-icons a:hover {
    background: rgba(255, 133, 63, 0.1);
}

.sidebar-icons a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

#favBtn i.fa-regular {
    color: var(--clr-title);
}

#favBtn i.fa-solid {
    color: var(--clr-theme-4);
}

#busBtn.is-active,
#parkingBtn.is-active {
    background-color: rgba(255, 133, 63, 0.514);
}

/* ------------------------------
  5. 右側欄（收藏 + 行程）
------------------------------ */
.sidebar-right-tabs {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: -44px;
    top: 35px;
}

.sidebar-tab-btn {
    width: 44px;
    height: 120px;
    background: #fcc077;
    color: #fff;
    font-size: 1rem;
    border-radius: 12px 0 0 12px;
    writing-mode: vertical-rl;
    letter-spacing: 2px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-tab-btn.active {
    background: var(--clr-theme-1);
    box-shadow: 0 2px 12px rgba(255, 131, 51, 0.15);
    z-index: 2;
    border: 1px solid #ffecd3;
    border-right: none;
}

.btn-input:hover {
    background: #ffdaad;
}

.btn-toggle-right-group {
    width: 44px;
    height: 48px;
    background: #fff;
    border: none;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d19756;
    font-size: 1rem;
    transition: all 0.2s;
}

.sidebar-right-group {
    position: absolute;
    top: 82px;
    right: 0;
    display: flex;
    flex-direction: row;
    z-index: 9;
    transition: transform 0.3s;
}

.sidebar-right-content {
    position: relative;
    background: #fff;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    width: 466px;
    height: calc(100vh - 220px);
    overflow: hidden;
    margin-left: 0;
}

.right-tab-content {
    display: none;
    height: 100%;
}

.right-tab-content.active {
    display: block;
}

.sidebar-right-group.is-collapsed {
    transform: translateX(100%);
}

.route-title,
.fav-title {
    padding: 0 30px;
}

.sidebar-mobile-title {
    display: none;
}

.sidebar-route,
.sidebar-fav {
    padding-top: 30px;
    position: relative;
}

.sidebar-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding-left: 10px;
    color: #333;
    border-left: 4px solid var(--clr-title);
    color: var(--clr-title);
}

.favs-list,
.route-list {
    max-height: calc(100vh - 320px);
    overflow-y: auto;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 0 30px 10px 30px;
    overscroll-behavior: contain;
}

.favs-list {
    gap: 12px;
}

.fav-item--disabled {
    pointer-events: none;
    opacity: 0.5;
    background-color: #f8f9fa;
}

.remove-fav--disabled {
    pointer-events: none;
    opacity: 0.3;
    transform: none !important;
    background: rgba(255, 255, 255, 0.6);
    color: #aaa;
    box-shadow: none;
    transition: none;
}

.fav-item--disabled .remove-fav {
    display: none !important;
}

.fav-item span {
    color: var(--clr-title);
    font-size: 0.9rem;
}

.fav-content {
    padding-top: 10px;
    height: 60px;
    width: 100%;
    text-align: center;
}

.fav-photo {
    aspect-ratio: 1 / 1;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.fav-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.fav-item:hover .fav-photo img {
    transform: scale(1.15);
}

.fav-item {
    background-color: #fff;
    display: flex;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 48%;
    padding: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    text-align: center;
    line-height: 28px;
    color: #666;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    margin: 6px;
}

.remove-fav:hover {
    background: #fda64d;
    color: #fff;
    transform: scale(1.05);
}

.remove-fav.remove-fav--disabled {
    pointer-events: none !important;
    opacity: 0 !important;
    transform: none !important;
    background: rgba(255, 255, 255, 0.6) !important;
    color: #aaa !important;
    box-shadow: none !important;
    transition: none !important;
    cursor: not-allowed !important;
}

.remove-fav.remove-fav--disabled:hover {
    background: rgba(255, 255, 255, 0.6) !important;
    color: #aaa !important;
    transform: none !important;
}

.remove-route--disabled {
    pointer-events: none !important;
    opacity: 0 !important;
    cursor: not-allowed !important;
}

.fav-item:hover .remove-fav {
    opacity: 1;
}

.fav-item.is-in-route {
    background: #fffaf4;
}

.fav-item.is-in-route .fav-label {
    color: #8b4513;
}

.fav-photo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    transition: all 0.3s ease;
    pointer-events: none;
}

.fav-item.is-in-route .fav-photo::after {
    background: rgba(201, 201, 201, 0.4);
}

.fav-item.is-in-route:hover .fav-photo::after {
    background: rgba(102, 102, 102, 0.5);
    transform: scale(1.05);
}

.fav-photo.no-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--clr-dark);
}

.fav-photo.no-image::before {
    content: "📷";
    font-size: 2rem;
    opacity: 0.5;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.fav-item.is-in-route .fav-photo::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--clr-theme-2);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
    opacity: 1;
}

.route-item .handle {
    cursor: all-scroll;
    font-size: 1.35rem;
    color: #e9ddce;
}

.route-item .remove-route {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--clr-theme-4);
    color: #fff;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s;
    width: 19px;
    height: 19px;
    cursor: pointer;
}

.route-item:hover .remove-route {
    opacity: 1;
}

.route-item-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.route-img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    cursor: pointer;
}

.route-info {
    flex: 1;
    overflow: hidden;
}

.btn-start-nav:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-start-nav:hover,
.btn-reset-nav:hover,
.btn-go-route:hover,
.btn-go-fav:hover,
.btn-reroute:hover {
    background: #fda64d;
    color: #fff;
}

/* ------------------------------
  6. 地圖搜尋列（Search Box）
------------------------------ */
.map-search-box {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 8;
    gap: 8px;
    max-width: 100%;
}

.input-right {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-search-box input[type="text"] {
    padding: 6px 10px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
}

.search-icon-btn i,
.btn-input i {
    color: #a94615;
}

.btn-input {
    background: #ffe3c1;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ------------------------------
  7. 搜尋結果與行程項目樣式
------------------------------ */
.route-item,
.list-item {
    padding: 12px;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    background: #fdfdfd;
    border-radius: 8px;
    touch-action: manipulation;
    border: 1px solid #e9ddce;
    position: relative;
    transition: all 0.2s ease;
    width: 100%;
}

.list-item {
    cursor: pointer;
}

.list-item:hover,
.route-item:hover {
    background-color: #fff7ee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.route-item-content,
.list-item-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    position: relative;
}

.route-img,
.list-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 6px;
}

.route-info,
.list-info {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.route-info h5,
.list-info h5 {
    white-space: normal;
    word-break: break-word;
    margin: 0;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--clr-title);
    font-size: 0.95rem;
}

.route-info i,
.list-info i {
    margin-right: 4px;
    color: var(--clr-theme-5);
    font-size: 0.85rem;
    width: 14px;
}

.route-info a,
.list-info p {
    color: var(--clr-title);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.route-info a {
    display: inline-block;
    color:  var(--clr-theme-2);
}

.route-info a:hover {
    color: #a94615;
}

.route-label-link {
    color: var(--clr-title);
    cursor: pointer;
}

.route-label-link:hover {
    color: #a94615;
}

.search-header h5 {
    color: var(--clr-title);
}

.search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px 16px 18px;
}

.search-list {
    margin: 0 18px;
}

.route-item.sortable-chosen {
    opacity: 0.2 !important;
}

.sortable-ghost {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    opacity: 1 !important;
    background-color: #fff;
    border-radius: 6px;
}

#btnCloseSearchSidebar i {
    font-size: 1.25rem;
    color: var(--clr-title);
}

/* ------------------------------
  8. 篩選 Modal
------------------------------ */
#filterModal.modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.filter-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 24px 0px;
    border-radius: 6px;
    width: 470px;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.filter-modal-content h3 {
    margin-top: 0;
    font-size: 1.3rem;
    color: var(--clr-title);
    margin-bottom: 32px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.category-list li {
    flex: 0 0 calc(33.333% - 16px);
    box-sizing: border-box;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.category-list .category-list-content {
    width: 80px;
    height: 80px;
    background-color: #ffd59430;
    margin-bottom: 8px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.category-list li:hover .category-list-content {
    box-shadow: inset 0 0 0 100px rgba(255, 152, 17, 0.3);
}

.category-list li:hover p {
    color: var(--clr-theme-2) !important;
}

.category-list .category-list-content img {
    width: 48px;
}

.category-list p {
    margin: 0;
    font-size: 1rem;
    transition: color 0.3s ease;
}

#filterCloseBtn {
    position: absolute;
    top: 15px;
    right: 20px;
}

#filterCloseBtn i {
    font-size: 1.25rem;
    color: var(--clr-title);
}

/* ------------------------------
  9. marker 、叢集樣式
------------------------------ */
.shop-marker {
    width: 25px;
    height: 25px;
    position: relative;
}

.shop-marker .marker-point {
    position: relative;
    width: 28px;
    aspect-ratio: 1;
    position: relative;
    transform: rotate(45deg);
    animation: bounce-marker 1.2s infinite;
}

.shop-marker .marker-point:before,
.shop-marker .marker-point:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50% 50% 0 50%;
    background: #e77256;
    -webkit-mask: radial-gradient(circle 5px at 50% 50%, transparent 94%, black);
    mask: radial-gradient(circle 5px at 50% 50%, transparent 94%, black);
}

.shop-marker.animate .marker-point:after {
    animation: magic 1s infinite;
}

.marker-label {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1rem;
    font-weight: 550;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 7px;
    padding: 5px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: max-content;
    font-family: var(--bd-ff-heading);
}

.multi-marker {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50% 50% 50% 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: rotate(-45deg);
    border: 2.5px solid #fff;
    background: linear-gradient(135deg, #0e5eda 0%, #38daff 100%);
}

.multi-marker-number {
    transform: rotate(45deg);
    font-family: "Segoe UI", sans-serif;
    font-weight: 700;
}

.multi-marker::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50% 50% 50% 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.multi-marker::after {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid rgba(66, 133, 244, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.origin-marker {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2ed573 0%, #1e90ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(46, 213, 115, 0.3);
    border: 3px solid #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.origin-marker::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid #fff;
    transform: rotate(45deg);
}

.origin-marker::after {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid rgba(66, 133, 244, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.origin-marker:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(46, 213, 115, 0.4);
}

.destination-marker {
    position: relative;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    border-radius: 16px 16px 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(-45deg);
    border: 3px solid #fff;
}

.destination-marker::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    transform: rotate(45deg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.destination-marker::after {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid rgba(244, 66, 66, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.destination-marker:hover {
    transform: rotate(-45deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
}

.custom-cluster {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #3b83f6c2;
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.3), 0 0 0 16px rgba(59, 130, 246, 0.15), 0 0 0 24px rgba(59, 130, 246, 0.05);
    animation: pulse 2s ease-out infinite;
}

/* ------------------------------
  10. tippy、toastify樣式
  ------------------------------- */
.tippy-box[data-theme~="tippy-theme"] {
    background-color: var(--clr-title);
    color: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    padding: 4px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tippy-box[data-theme~="tippy-theme"][data-placement^="top"] > .tippy-arrow::before {
    border-top-color: var(--clr-title);
}

.route-icon {
    width: 17.6px;
    text-align: center;
}

.toastify.on.toastify-center.toastify-bottom {
    position: fixed !important;
    bottom: 100px !important;
    letter-spacing: 1px;
}

/* ------------------------------
  11. driver 教學樣式
------------------------------ */
.driver-popover.driverjs-theme {
    background-color: #fff2e0;
    color: #000;
}

.driver-popover.driverjs-theme .driver-popover-title,
.driver-popover.driverjs-theme .driver-popover-description,
.driver-popover.driverjs-theme .driver-popover-progress-text {
    color: var(--clr-title);
}

.driver-popover.driverjs-theme button {
    flex: 1;
    text-align: center;
    /* background-color: #000; */
    color: var(--clr-title);
    border: none;
    text-shadow: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.driver-popover.driverjs-theme button:hover {
    background-color: var(--clr-theme-1);
    color: #fff;
}

.driver-popover.driverjs-theme .driver-popover-navigation-btns {
    justify-content: space-between;
    gap: 3px;
}

.driver-popover-footer {
    gap: 20px;
    padding-top: 15px;
    color: transparent;
}

.hide-nav-buttons .driver-popover-next-btn {
    display: none !important;
}

.driverjs-theme.custom-popover {
    transform: translateY(-300px) !important;
}

.bd-breadcrumb__area::before {
    background-color: #ffffff;
}

#filterAllBtn {
    padding: 10px 16px;
    background-color: var(--clr-theme-1);
    color: #fff;
    border-radius: 6px;
    font-size: 1rem;
    position: absolute;
    bottom: 25px;
    right: 50%;
    transform: translateX(50%);
    cursor: pointer;
}

/* ------------------------------
  12. 動畫
------------------------------ */

@keyframes magic {
    to {
        transform: perspective(350px) translateZ(200px);
        opacity: 0;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4), 0 0 0 0 rgba(59, 130, 246, 0.2), 0 0 0 0 rgba(59, 130, 246, 0.08);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(59, 130, 246, 0), 0 0 0 16px rgba(59, 130, 246, 0), 0 0 0 24px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0), 0 0 0 0 rgba(59, 130, 246, 0), 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* ------------------------------
  13. RWD 與全螢幕支援
------------------------------ */
:fullscreen .sidebar-left,
:-webkit-full-screen .sidebar-left {
    top: 60px;
}

:fullscreen .sidebar-right-group,
:-webkit-full-screen .sidebar-right-group {
    top: 130px;
}

:fullscreen .map-search-box,
:-webkit-full-screen .map-search-box {
    top: 20px;
    right: 30px;
}

@media (width <=1400px) {
    footer.driver-popover-footer {
        background-color: transparent;
    }
}

@media (width <=991px) {
    .route-item .remove-route {
        opacity: 1;
    }
}

@media (width <=890px) {
    .sidebar-right-content {
        width: 370px;
    }

    .sidebar-left {
        width: 370px;
        top: 0;
        height: 100%;
    }
}

@media (width <=820px) {
    .sidebar-right-group,
    .sidebar-right-content {
        width: 100%;
        height: 100%;
        top: 0;
    }

    .sidebar-mobile-title {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 1.5rem;
        background: linear-gradient(90deg, var(--clr-theme-1), var(--clr-theme-3));
    }

    .sidebar-mobile-title h4 {
        font-size: 1.25rem;
        font-weight: 500;
        color: #fff;
    }

    .btn-toggle-right i {
        color: #fff;
        font-size: 1.2rem;
    }

    .sidebar-mobile-title .btn-toggle-right {
        position: absolute;
        top: 16px;
        left: 16px;
    }

    .sidebar-left {
        width: 100%;
    }

    .btn-toggle-left-bookmark {
        top: 200px;
    }

    .btn-mobile-left-toggle {
        display: inline-block;
    }

    .toastify.on.toastify-center.toastify-bottom {
        bottom: 50px !important;
    }

    .sidebar-right-tabs {
        top: 150px;
    }

    .remove-fav {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .is-hidden-mobile {
        display: none !important;
    }

  .animated,
  .wow,
  .animate,
  .bounceInRight {
    animation: none !important;
  }
}

@media (width <=576px) {
    .map-search-box {
        top: 10px;
        left: 0;
        right: 0;
        width: calc(100% - 24px);
        margin: 0 auto;
        padding: 8px 12px;
        gap: 8px;
        flex-direction: column;
    }

    .input-left {
        justify-content: end;
    }

    .input-left button {
        width: 50%;
    }

    .filter-modal-content {
        width: 370px;
        padding: 24px 12px;
    }

    .category-list {
        gap: 12px;
    }

    .filter-modal-content h3 {
        margin-bottom: 16px;
    }

    .favs-list,
    .route-list {
        padding: 0 10px 5px 10px;
    }

    .route-title,
    .fav-title {
        padding: 0 10px;
    }

    .fav-photo {
        height: 120px;
    }

    .input-right {
        justify-content: space-between;
    }

    .map-search-box input[type="text"] {
        width: 75%;
    }

    .store-content {
        height: calc(100vh - 520px);
    }
}
@media (width <=425px) {
    .sidebar-subtitle {
        font-size: 1.1rem;
    }

    .map-search-box input[type="text"] {
        width: 65%;
    }
}
