﻿
.list-tour {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.card-word-tour {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    height: 300px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

    .card-word-tour .img-card {
        flex: 0 0 35%; 
        position: relative;
    }

        .card-word-tour .img-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.wrap-content {
    display: flex;
    flex: 1;
}

.content-card {
    flex: 2;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid #eee;
}

.title-card h1 {
    font-size: 24px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.title-card a:hover {
    color: #b0a377 !important;
}

    .title-card h1 a {
        color: #333;
        text-decoration: none;
    }

.duration-badge {
    font-size: 16px;
    color: #555;
    margin-left: 15px;
    font-weight: 600;
    border-left: 2px solid #ddd;
    padding-left: 15px;
}

.summary-tour {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.star-tour {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 15px 0;
}

    .star-tour i {
        color: #f8c218;
        font-size: 18px;
    }

    .star-tour p {
        margin: 0 0 0 50px;
        font-size: 18px;
        color: #888;
    }

.cta-tour {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
}

.activities-tour {
    display: flex;
    gap: 20px;
}

    .activities-tour i {
        color: #444;
        font-size: 18px;
        position: relative;
        cursor: pointer;
    }

        .activities-tour i span {
            display: none;
        }


.btn-share-heart {
    display: flex;
    gap: 20px;
    align-items: center;
    color: #aaa;
}

    .btn-share-heart i {
        cursor: pointer;
        transition: 0.3s;
    }

        .btn-share-heart i:hover {
            color: #333;
        }

.explore-card {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 20px;
}

.label-from {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.price-old {
    text-decoration: line-through;
    color: #bbb;
    font-size: 18px;
    margin: 0;
}

.price-new {
    color: #333;
    font-weight: 800;
    font-size: 36px;
    margin: -5px 0 15px 0;
}

.speedometer {
    font-size: 70px;
    color: #bbb;
    margin-bottom: 20px;
    opacity: 0.8;
}

.hvr-sweep-to-right {
    background: #7a7a5a;
    color: #fff;
    border: none;
    padding: 10px 40px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    width: 100%;
}
.cta-tour-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

.activities-icons {
    display: flex;
    gap: 40px;
    color: #555;
    font-size: 24px;
}

.share-actions {
    display: flex;
    gap: 18px;
    color: #bbb;
    cursor: pointer;
}
.share-item {
    position: relative;
    display: inline-block;
}

.share-menu {
    position: absolute;
    bottom: 100%; 
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    padding: 10px;
    border-radius: 4px;
    list-style: none;
    margin: 0;
    width: 100px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.share-item:hover .share-menu {
    opacity: 1;
    visibility: visible;
    bottom: 120%; 
}

.share-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    padding: 5px 0;
}

    .share-menu li a:hover {
        color: #ffb400 !important;
    }

.share-menu::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}
.box-recently-viewed {
    padding: 60px 0;
    background-color: #fff;
}

.title-viewed {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: bold;
    color: #333;
}

.wrap-recently-viewed {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    margin-top: 30px;
}

.card-viewed-item {
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 420px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-viewed {
    padding: 15px;
    height: 95px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}
    .header-viewed a {
        color: #474d4b !important;
    }
    .header-viewed a:hover {
        color: #b0a377;
        text-decoration: none;
    }
    .header-viewed h3 {
        font-size: 14px;
        margin: 0;
        font-weight: 700;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #474d4b !important;
    }

    .header-viewed .sub-title {
        font-size: 11px;
        color: #999;
        margin-top: 5px;
    }

.img-viewed-box {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

    .img-viewed-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.footer-viewed {
    margin-top: auto; 
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f5f5f5;
}

.icons-viewed {
    display: flex;
    gap: 8px;
    color: #444;
    font-size: 14px;
}

.meta-viewed {
    display: flex;
    align-items: center;
    gap: 12px;
}

.duration-viewed {
    text-align: right;
    font-size: 11px;
    line-height: 1.2;
}

    .duration-viewed .days {
        display: block;
        font-weight: 700;
        color: #333;
    }

    .duration-viewed .nights {
        color: #777;
    }

.price-box-viewed {
    border-left: 1px solid #ddd;
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 60px;
    text-align: right;
}

    .price-box-viewed .old-p {
        text-decoration: line-through; 
        font-size: 11px;
        color: #aaa;
        margin-bottom: 2px;
    }

    .price-box-viewed .new-p {
        font-size: 15px;
        font-weight: 800;
        color: #333;
    }