.tour-list {
    display: flex;
    flex-direction: column;
    gap: 40px;           /* khoảng cách giữa các item */
}

.tour-item {
    display: flex;
    flex-wrap: wrap;     /* đảm bảo responsive */
    background: #f9f7f3;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.tour-thumb {
    flex: 0 0 40%;       /* ảnh chiếm 40% */
    max-width: 40%;
}

.tour-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tour-info {
    flex: 1;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tour-title {
    font-size: 1.6rem;
    margin: 0 0 10px;
}

.tour-meta {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
}

.tour-meta .meta-item {
    margin-right: 20px;
}

.tour-description {
    margin-bottom: 15px;
    color: #333;
    line-height: 1.6;
}

.tour-price {
    font-weight: bold;
    margin-bottom: 15px;
    color: #b85c00;
}

.book-button {
    align-self: flex-start;
    background: #000;
    color: #fff;
    padding: 10px 18px;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.3s;
}

/* Responsive cho mobile */
@media (max-width: 767px) {
    .tour-item {
        flex-direction: column;
    }
    .tour-thumb,
    .tour-thumb img {
        max-width: 100%;
        flex: 0 0 100%;
    }
}



/*Tax*/
/* Tour Category Hero Section */
.tour-category-hero {
    display: flex;
    min-height: 500px;
    background: #f5f2eb;
}

/* Hero Image Section */
.hero-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 500px;
}

/* Hero Content Section */
.hero-content {
    flex: 1;
    padding: 80px 60px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

/* Category Title */
.category-title {
    font-size: 3.5rem;
    font-weight: 400;
    color: #000;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    max-width: 500px;
}

/* Category Description */
.category-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5a5a5a;
}

.category-description p {
    margin-bottom: 24px;
}

.category-description p:last-child {
    margin-bottom: 0;
}

.category-description p:first-child {
    font-weight: 500;
    color: #444;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero-content {
        padding: 60px 40px 40px 40px;
    }
    
    .category-title {
        font-size: 3rem;
        margin-bottom: 30px;
    }
    
    .category-description {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .tour-category-hero {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-image {
        height: 350px;
        min-height: 350px;
    }
    
    .hero-content {
        padding: 50px 30px 40px 30px;
    }
    
    .category-title {
        font-size: 2.5rem;
        margin-bottom: 25px;
        max-width: 100%;
    }
    
    .category-description {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 100%;
    }
    
    .category-description p {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 480px) {
    .hero-image {
        height: 280px;
        min-height: 280px;
    }
    
    .hero-content {
        padding: 40px 20px 30px 20px;
    }
      
    .category-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .category-description {
        font-size: 0.9rem;
    }
}
/* End Tour Category Hero Section */

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.tour-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}
.tour-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* cắt ảnh cho vừa khung */
  display: block;
}
.tour-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}
.tour-content {
    padding: 1rem;
}
.tour-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}
.tour-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* Giới hạn số dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tour-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
}
.tour-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 1rem;
}
.tour-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.feature-tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}
.book-button {
    width: 100%;
    background: linear-gradient(90deg, #CDA434 0%, #7C4A0E 100%);
    color: white;
    border: none;
    padding: 10px 20px 10px 15px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
    display: inline-block;
    border-radius:99px;
    text-align: center;
}

/*Chi tiết Tour*/
.tour-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    padding: 30px 0;
}

.tour-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45); /* lớp tối */
}

.tour-hero-inner {
    padding: 0 5%;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}

.tour-hero-left {
    max-width: 60%;
}

.tour-badge-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.tour-badge,
.tour-offer {
    background: #fff;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 3px;
}

.tour-offer {
    background: #e85d2c; /* màu cam Offer */
    color: #fff;
}

.tour-title-ct {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.2;
}

.tour-subtitle {
    font-size: 1.1rem;
    max-width: 500px;
    line-height: 1.6;
}

.tour-hero-right {
    text-align: right;
}

.quick-info-box {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.quick-info-item {
    text-align: center;
}







.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}
.single-du-an {
    padding-top: 0 !important;
}
.tour-hero {
    position: relative;
    height: 65vh;
    background: #000;
    color: #fff;
    margin-bottom: 20px;
    background-position: 50% 50%;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}
.tour-hero  .container{
    display: flex;
    justify-content: center;
    text-align: center;
}
.tour-hero-content {
    max-width: 800px;
}
.tour-badge {
    display: inline-block;
    background: rgba(255, 107, 107, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
.tour-title-ct {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
}
.tour-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.tour-quick-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.quick-info-item {
    text-align: center;
    display: flex;
    flex-direction: column;
}
.quick-info-item h3{
    font-size: 48px;
    line-height: 50px;
    color: #fff;
    margin-bottom: 10px;
}
.main-content {
    padding: 3rem 0;
}
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}
.tour-details {
    background: white;
}
.section-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}
.image-gallery {
    margin-bottom: 2rem;
}
.galleryduan {
    padding: 0 0 20px;
}
.flickity-slider {

}

.webvipduan-slider img {
    width: auto !important;
    max-height: 720px !important;
    margin: 0 auto;
}
.flickity-viewport>.flickity-slider>.col,.gallery-slider-img,.gallery-slider-thumbnails {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.webvipduan-slider_thumb .col img,.gallery-slider-img img,.gallery-slider-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* cắt ảnh cho vừa khung */
    display: block;
}
.title-cardtour{
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.itinerary-timeline {
    position: relative;
}
.itinerary-day {
    position: relative;
    padding: 1.5rem 0 1.5rem 3rem;
    border-left: 3px solid #e9ecef;
}
.itinerary-day h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}
.itinerary-day::before {
    content: attr(data-day);
    position: absolute;
    left: -1rem;
    top: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}
.day-activities {
    color: #666;
    line-height: 1.8;
}
.includes {
    border-left: 4px solid #28a745;
}
.includes, .excludes {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
}
.includes li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}
.includes-excludes .includes li{
    list-style-type: none;
}

.booking-card {
    background: white;
    border-radius: 20px;
    padding: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
}
.price-section {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}
.price-label {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.price-current {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6b6b;
    line-height: 1;
}
.price-original {
    color: #999;
    text-decoration: line-through;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}
.tour-features {
    margin-bottom: 2rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 13px;
}
.contact-info {
    text-align: left;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3px 15px;
    margin-top: 15px;
    border-left: 4px solid #667eea
}

.contact-info h4 {
    color: #1e293b;
    margin-bottom: 8px
}

.contact-info p {
    color: #64748b;
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px
}

.contact-info figure.gallery-item {
    padding: 0
}

.contact-info figure.gallery-item img {
    max-height: 60px;
    object-fit: contain
}
.booking-form {
    margin-top: 15px;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .content-grid {
        display: block;
    }
    .webvipduan-slider img {
        height: 300px !important;
        background: #d3d3d3;
        object-fit: cover;
        width: 100% !important;
    }
}