/* Banner  */
.banner-swiper .swiper-slide img {
    width: 100%;
}

.user-menu {
    position: relative;
}

.dropdown-user {
    position: absolute;
    top: 110%;
    right: -85px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    display: none;
    overflow: hidden;
    z-index: 999;
}

.dropdown-user a,
.dropdown-user button {
    display: flex;
    width: 100%;
    align-items: center;
    
        gap: 5px;
    padding: 10px 14px;
    text-align: left;
    background: none;
    border: none;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
}

.dropdown-user a:hover,
.dropdown-user button:hover {
    background: #f3f4f6;
}


.banner-swiper .content-banner {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: var(--container);
    z-index: 1;
    padding: 10px 27% 10px 15px;
}

.banner-swiper .content-banner h2 {
    font-size: clamp(24px, 4vw, 45px);
}

.banner-swiper .content-banner .button-group {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-web.btn-slide {
    padding: 3px 20px;
    line-height: 2;
    text-transform: uppercase;
    font-size: 16px;
}

/* Search home  */
.search-home-wrap {
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.search-home {
    background-color: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Search Home Header */
.search-home__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.search-home__header-icon {
    display: flex;
}

.search-home__header-icon svg {
    width: 30px;
    height: 30px;
}

.search-home__header-title {
    font-size: 24px;
    font-weight: 600;
}

/* Search Home Filters */
.search-home__filters {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 12px;
}

.search-home__filters-item {
    position: relative;
}

.search-home__filters-item select,
.search-home__filters-item input {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px;
    font-size: 16px;
}

.search-home__filters-item input {
    padding: 12px 12px 12px 35px;
}

.search-home__filters-item svg {
    position: absolute;
    top: 47%;
    left: 10px;
    transform: translateY(-50%);
}

.search-home__filters-submit {
    background-color: var(--color-3);
    color: var(--color-2);
    padding: 12px 32px;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-home__filters-submit:hover {
    background-color: #c01818;
}

.title-wrap {
    margin-bottom: 20px;
}

.title-page {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: solid 1px #e4e4e4;
    padding-bottom: 5px;
}

.title-page img {
    width: 32px;
}

/* Hot Deals Header */
.hot-deals__header {
    display: grid;
    grid-template-columns: max-content auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--color-3);
}

.hot-deals__header .line {
    height: 1px;
    background-color: #ddd;
    width: 100%;
}

/* Hot Deals Grid */
.hot-deals-item {
    padding: 4px 4px 10px;
}

.hot-deals-item .inner {
    border-radius: 12px;
    padding: 12px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 4px 10px;
}

.hot-deals-item .wrap-img {
    padding-bottom: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* .hot-deals-item .content {
    padding: 5px;
} */

.hot-deals-item .content .name {
    font-size: 18px;
}

.hot-deals-item .content .discount {
    font-size: 19px;
    margin-top: 10px;
    color: var(--color-3);
    padding-bottom: 5px;
    font-weight: 700;
    border-bottom: solid 1px #ebebeb;
}

.hot-deals-item .content .btn-web {
    margin-top: 10px;
    min-width: 52%;
    text-align: center;
}

/* customer survey  */
.customer-survey {
    margin-top: 30px;
}

.customer-survey__content {
    min-height: 400px;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.customer-survey .video-section {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 3%;
    border-radius: 20px;
    padding: 5px;
    background-color: var(--color-2);
    width: 40%;
    cursor: pointer;
}

.customer-survey .video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.customer-survey .video-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.customer-survey .video-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.customer-survey .video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--color-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.4);
}

.customer-survey .video-play:hover {
    transform: translate(-50%, -50%) scale(1.05);
    background-color: var(--color-3);
}

.customer-survey .video-play::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent white;
    margin-left: 5px;
}

.customer-survey .info-section {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: absolute;
    bottom: -15px;
    right: 5%;
    width: 40%;
}

.customer-survey .info-section ul {
    list-style: none;
    margin-bottom: 20px;
}

.customer-survey .info-section ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 16px;
}

.customer-survey .info-section ul li::before {
    content: '✓';
    color: var(--color-3);
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.customer-survey .info-section .btn-web {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.modal-video {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-video .modal-wrap {
    background: #FFF;
    padding: 10px;
    width: 90%;
    max-width: 800px;
    position: relative;
    border-radius: 6px;
    line-height: 1;
}

.close-modal {
    position: absolute;
    right: 5px;
    top: -40px;
    font-size: 32px;
    cursor: pointer;
    color: white;
}

.close-modal svg {
    width: 25px;
    height: 25px;
}

/* featured location  */
.featured-location {
    margin-top: 30px;
}

.featured-location-item {
    padding: 4px 4px 10px;
}

.featured-location-item .inner {
    border-radius: 12px;
    padding: 12px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 4px 10px;
    height: 100%;
}

.featured-location-item .wrap-img {
    padding-bottom: 63%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.featured-location-item .content {
    padding: 5px;
}

.featured-location-item .content .name {
    font-size: 20px;
}

.featured-location-item .content .location svg {
    color: var(--color-3);
    width: 20px;
    height: 20px;
}

.featured-location-item .content .location {
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.featured-location-item .button-group {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.featured-location-item .button-group .btn-web {
    font-size: 14px;
    padding: 8px 5px;
}

.featured-location-item .button-group .view-map {
    background-color: var(--color-2);
    border: 1px solid #ddd;
    color: var(--color-1);
    border-radius: 8px;
    padding: 8px 5px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: .3s;
}

.featured-location-item .button-group .view-map:hover {
    background-color: var(--color-3);
    border: 1px solid var(--color-3);
    color: var(--color-2);
}

.featured-location-item .view-map svg {
    width: 20px;
    height: 20px;
}

/* review customer  */
.customer-review-wrap {
    margin-top: 30px;
}

.customer-review__card {
    padding: 4px 4px 10px;
}

.customer-review__card .inner {
    background: #FFF;
    border-radius: 16px;
    padding: 15px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 4px 10px;
    position: relative;
}

.customer-review__card .wrap-img {
    padding-bottom: 60%;
    border-radius: 8px;
}

.customer-review__card .wrap-img::before {
    content: "";
    position: absolute;
    inset: 0;

    /* Trắng bên trái – trong suốt bên phải */
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.85) 40%,
            rgba(255, 255, 255, 0.4) 65%,
            rgba(255, 255, 255, 0) 100%);

    z-index: 1;
}

.customer-review__card .img-wrap {
    position: relative;
}

.customer-review__card .info-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.customer-review__rating {
    display: flex;
    margin-bottom: 5px;
}

.customer-review__star {
    font-size: 16px;
    color: #ffc107;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
}

.customer-review__customer-name {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 25px;
}

.customer-review__customer-location {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}

.customer-review__address {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    margin-bottom: 5px;
}

.customer-review__address svg {
    color: var(--color-3);
    width: 15px;
    height: 15px;
}

.customer-review__testimonial {
    font-size: 17px;
    line-height: 1.5;
    margin-top: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 76px;
}
.customer-review-wrap .title-page {
	border-bottom:0
}
.hot-deals__header .title-page {
	border-bottom:0
}

.item-post .wrap-img {
	padding-bottom: 100%;
	border-radius: 8px;
}

.item-post .content {
	background-color: #FFF;
	margin-top: -10px;
	padding: 20px 10px 10px;
	border-radius: 0 0 8px 8px;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 2px 7px;
}

.item-post .date svg {
	width: 20px;
	height: 20px;
}

.item-post .date {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #b8b295;
	margin-bottom: 10px;
	font-style: italic;
}

.item-post .name {
	font-size: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.item-post .des {
	display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
	margin-top: 5px;
}

.hot-deals-swiper {
    padding: 3px 0;
}

@media (max-width: 1200px) { 
    .featured-location-item .button-group .btn-web,
    .featured-location-item .button-group .view-map {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .search-home__header-title {
        font-size: 20px;
    }

    .search-home__header-icon svg {
        width: 30px;
        height: 30px;
    }

    .search-home__filters-item select, .search-home__filters-item input {
        font-size: 14px;
    }

    .search-home {
        padding: 12px;
    }
}

@media (max-width: 767px) { 
    .customer-survey .video-section {
        position: unset;
        transform: unset;
        width: 100%;
    }

    .customer-survey .info-section {
        position: unset;
        width: 100%;
        margin-top: 20px;
    }

    .customer-survey__content {
        padding: 20px;
    }

    .banner-swiper .content-banner {
        top: 20px;
        transform: translate(-50%, 0%);
        padding: 10px 15px 10px 15px;
    }

}

@media (max-width: 575px) { 
    .search-home__filters {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .search-home__filters-item select, .search-home__filters-item input {
        padding: 10px;
    }

    .search-home__filters-item input {
        padding: 10px 12px 10px 35px;
    }

    .search-home__header-title {
        font-size: 18px;
    } 

    .search-home__header-icon svg {
        width: 25px;
        height: 25px;
    }

    .search-home__header {
        margin-bottom: 12px;
    }

    .title-page {
        font-size: 22px;
    }

    .hot-deals-item .content .name {
        font-size: 20px;
    }

    .hot-deals__header {
        grid-template-columns: 1fr;
    }

    .hot-deals__header .line {
        display: none;
    }

    .btn-web.btn-slide {
        font-size: 14px;
    }

    .banner-swiper .content-banner .button-group {
        justify-content: center;
    }

    .banner-swiper .content-banner h2 {
        text-align: center;
    }
}

@media (max-width: 380px) {
    .btn-web.btn-slide {
        padding: 3px 10px;
    }
}