﻿.product__item-rating,.product__hero-banner-content .customer-review,.product__hero-banner-sticky-wrapper .customer-review{
    display: none !important;
}
.product__hero-banner-sticky .infor {
    min-height: 7.4rem;
}
.product__hero-banner-sticky .infor .code {
    float: left !important;
}
.product__hero-banner-sticky{
    z-index:15 !important;
}
.product__hero-banner-sticky .action .download {
    margin-top: 4px !important;
}
.floating-popup {
    position: fixed;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    padding: 12px 16px;
    min-width: 200px;
    max-width: 300px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    border: 1px solid #e1e8ed;
}

.floating-popup.visible {
    opacity: 1;
    visibility: visible;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f4f8;
}

.popup-title {
    font-weight: 600;
    color: #77c2b7;
    font-size: 1.4rem;
}

.popup-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #95a5a6;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.popup-close:hover {
    background-color: #f8f9fa;
    color: #e74c3c;
}

.popup-content {
    color: #34495e;
    font-size: 1.4rem;color: #77c2b7;
    line-height: 1.4;
}

.popup-timer {
    height: 3px;
    background-color: #3498db;
    margin-top: 10px;
    border-radius: 3px;
    width: 100%;
}

.popup-timer.active {
    width: 0%;
    transition: width 10s linear;
}

/* Mobile-specific */
.mobile-tap-hint {
    display: none;
    text-align: center;
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 10px;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-tap-hint {
        display: block;
    }
    
}

.device-indicator {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: #77c2b7;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 100;
}

.cookie-button {float:left !important}
.popup-content {
        color: red;
        display: flex;
        justify-content: space-between;
}
.fc-sun {
    border: 1px solid rgb(191, 140, 140);
    background-color:rgb(252 221 221 / 20%);
}
.fc-day.dept_date img:first-child, .fc-day.start-date-range img:first-child {
    padding: 3px;
    position: absolute;
    bottom: 0px;
    height: 30%;
    width: auto;
    margin-left: 0px;
}
.fc-day.dept_date img, .fc-day.start-date-range img {
    padding: 3px;
    position: absolute;
    bottom: 0px;
    height: 30%;
    margin-left: 20px;
    width: auto;
}
@media only screen and (min-width: 768px) {
    .fc-day.dept_date img:first-child, .fc-day.start-date-range img:first-child {
        padding:10px 2px 10px 10px;
        position: relative;
        height: auto;
        width: auto;
        margin-left: 0px;
    }
    .fc-day.dept_date img, .fc-day.start-date-range img {
        padding:10px 0px 10px 2px;
        position: relative;
        height: auto;
        width: auto;
        margin-left: 0px;
    }
    
}
.calendar-footer-promo-message{
    color: #77c2b7;
}


.fc-day.dept_date {
    cursor : pointer;
}
.fc-day.date-selected {
    box-shadow: inset 0px 0 1px 0px #d3d3d3, inset 0px 0 0px 0px #d3d3d3, inset 0px 0px 1px 0px rgba(0, 0, 0, 0.35);
        -webkit-box-shadow: inset 0px 0 1px 0px #d3d3d3, inset 0px 0 0px 0px #d3d3d3, inset 0px 0px 1px 0px rgba(0, 0, 0, 0.35);
} 
.fc-day-number.status-G, .fc-day-number.status-P{ color :white ; font-weight: 600}
.reselect-date__content-note-wrapper{
    margin-right: unset;
}
.reselect-date__discount,.reselect-date__content-total{
    width:100% !important;
    left:0px !important;
}
.product__item-title {
     min-height: auto;
    max-height: none;
    display: block;
}

.download{text-wrap-mode: nowrap;flex-flow: nowrap;flex-wrap: nowrap;}
.product__hero-banner-sticky .share{
    top: 30%
}
@media only screen and (min-width: 768px) {
    .product__item-title {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        height: 4rem;
    }
    .product__item-details-price-bottom{
        position: absolute;
        right: 0;
        padding-right: 15px;
        bottom: 0px;
    }
    .product__item-content{
        position: relative;
        padding-bottom: 4rem;
    }
    .product__hero-banner-sticky-wrapper {
        overflow: hidden;
        padding: 2rem 0 2rem;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: end;
        align-items: flex-end;
        position: relative;
    }
    .product__hero-banner-sticky .btn {
        position: relative !important;
        margin-left: auto;
    }
    .product__hero-banner-sticky .action {
        flex-direction: column !important;
    }
    .product__hero-banner-sticky .action .share {
        margin-bottom: .7rem;
        margin-top: 1rem;
    }
    .product__hero-banner-sticky .share {
        display: flex !important;
        top: 37%;
    }
}

.m24-warapper-v1-col-12{
    width: 100%;
}

@media (min-width: 768px) {
    .m24-warapper-v1-col-12 .article__wrapper-desc
    {
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        
    }
    .m24-warapper-v1-col-12 .itinerary
    {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        position: relative;
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
    }
}
/* Start for Publication Page */
.filter-tabs {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0;
    background: transparent;
}

.tab-btn {
    padding: 8px 16px;
    border: .1rem solid #26779d;
    border-radius: .3rem;
    background: white;
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: 500;
    min-width: 12rem;
    text-align: center;
    line-height: 2.2rem;
    color: #005477;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #e6f3f9;
    border-color: #005477;
}

.tab-btn.active {
    background: #005477;
    color: white;
    border-color: #005477;
}

.tab-btn .count {
    font-size: 1.3rem;
    opacity: 0.8;
    margin-left: 5px;
    background: rgba(0,0,0,0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

.tab-btn.active .count {
    background: rgba(255,255,255,0.2);
}

/* Mobile dropdown styling */
.mobile-filter-select {
    display: none;
    width: 100%;
    padding: 12px 16px;
    border: .1rem solid #26779d;
    border-radius: .3rem;
    font-size: 1.6rem;
    color: #005477;
    background: white;
    margin-bottom: 20px;
    cursor: pointer;
}

/* Active filter info - 火車專列顯示 */
.active-filter-info {
    background: #f0f7fa;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    color: #005477;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: .1rem solid #26779d;
    width: 100%;
    box-sizing: border-box;
}

.reset-btn {
    background: none;
    border: none;
    color: #005477;
    cursor: pointer;
    font-size: 1.5rem;
    text-decoration: underline;
    white-space: nowrap;
    margin-left: 10px;
}

.reset-btn:hover {
    color: #26779d;
}

/* Itinerary sections styling - removed blue border from h2 */
.itinerary {
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.itinerary.hidden {
    display: none;
}

.itinerary h2 {
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #333;
    padding-left: 0;
}

.issuu-container {
    position: relative;
    padding-top: 120%;
    width: 100%;
    max-width: 100%;
    height: 0;
}

.issuu-iframe {
    position: absolute;
    border: none;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.reselect-date__discount {
        z-index:1;
    }
@media screen and (max-width: 768px) {
    .filter-tabs {
        display: none;
    }
    
    .mobile-filter-select {
        display: block;
    }
    
    .tab-btn {
        min-width: 100%;
    }
   .reselect-date__discount {
        z-index:1;
        position: relative !important;
        order : 4;
    }
}
.tci_tour_page_css.itim-mb-1 .itinerary__top-content li{margin-bottom: 1rem;}
.tci_tour_page_css.itim-mb-2 .itinerary__top-content li{margin-bottom: 3rem;}
.tci_tour_page_css.itim-mb-3 .itinerary__top-content li{margin-bottom: 3rem;}
.tci_tour_page_css.itim-mb-4 .itinerary__top-content li{margin-bottom: 4rem;}