/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.pointer {
    cursor: pointer;
}
.header-nav-main {
    &.nav-left {
        li {
            &:first-child {
                margin-left: auto !important;
            }

            &:last-child {
                margin-right: 32px !important;
            }
        }
    }
}

.absolute-footer {
    display: none !important;
}

.review-icon .icon-box-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.review-icon .col-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.review-icon p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-top: 15px;
}

.review-icon {
    display: flex;
    flex-wrap: wrap;
}

.review-icon>.col {
    display: flex;
    flex: 1 1 33.333%;
}

.review-icon .col-inner {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 768px) {
    .review-icon>.col {
        flex: 1 1 100%;
        margin-bottom: 15px;
    }
}



.my-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff5722;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    z-index: 5;
}


.btn-tour-1 {
    display: inline-block;
    padding: 7px 18px;
    font-size: 12px;
    font-weight: 200;
    color: #fff;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color) 100%);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.08),
        0 6px 15px rgba(0, 0, 0, 0.2);
    margin-right: 0 !important;
}

.btn-tour-1:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.btn-tour-1:active {
    transform: translateY(1px);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.1),
        0 3px 8px rgba(0, 0, 0, 0.15);
}


/* Fixed image height */
.img-product {
    position: relative;
    overflow: hidden;
}

.img-product img {
    width: 100%;
  	height: auto;
  	aspect-ratio: 4 / 3;
  	object-fit: cover;
}

/* Box-text with remaining height and overflow handling */
.product-small.box .box-text {
    text-align: center;

    .price-wrapper {
        color: var(--fs-color-secondary);
        font-weight: bold;
        margin-bottom: .5rem;

        .woocommerce-Price-amount {
            color: var(--fs-color-secondary);
        }
    }

    .btn {
        background-color: var(--fs-color-secondary);
        width: 70%;
    }
}

.floatBox {
    background-color: #FFF3E0;
    border-radius: 4px;
    padding: 15px;
    border: 1px solid #f3d9b0;
    position: sticky;
    top: 110px;
}

.tour-booking-form .select-date {
    margin-bottom: 15px;
}

.tour-booking-form .select-date ul.ls-date {
    display: flex;
    gap: 10px;
    padding: 0;
    list-style: none;
    margin-top: 5px;
}

.tour-booking-form .select-date ul.ls-date li.item {
    background: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #ddd;
}

.tour-booking-form .select-date ul.ls-date li.item.active {
    background: #003C71;
    color: #fff;
    border-color: #003C71;
}

.number-detail {
    margin: 0 8px;
    min-width: 20px;
    text-align: center;
}

.total-price {
    font-size: 18px;
    color: #e74c3c;
    margin: 15px 0;
}

.order-now-btn {
    background: #FF8C00;
    color: #fff;
    font-weight: bold;
    border: none;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
}

.order-now-btn:hover {
    background: #ad6308;
}

.quantity.box-white {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 8px 12px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.quantity .btn-group {
    display: flex;
    align-items: center;
}

.btn-group {
    display: flex;
    align-items: center;
    gap: 5px;
}


.main-slider {
    width: 100%;
    margin-bottom: 10px;
}

.main-slider img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}


.thumb-slider {
    height: 100px;
}

.thumb-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.thumb-slider .swiper-slide {
    opacity: 0.5;
}

.thumb-slider .swiper-slide-thumb-active {
    opacity: 1;
}

/* Container ngày */
.flatpickr-days {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr);
    /* 7 cột đều nhau */
    gap: 2px;
    /* khoảng cách giữa các ngày */
}

/* Ô ngày */
.flatpickr-day {
    width: auto !important;
    /* để grid quản lý */
    height: 50px !important;
    /* bạn chỉnh tùy ý */
    line-height: 1.2 !important;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 3px;

    &.peak {
        border: 1px solid var(--fs-color-alert);
        color: var(--fs-color-alert);

        &:hover {
            background-color: var(--fs-color-alert);
            color: #fff;
        }

        &.selected {
            background-color: var(--fs-color-alert);
            color: #fff;
        }
    }

    &.off-peak {
        border: 1px solid var(--fs-color-primary);
        color: var(--fs-color-primary);

        &:hover {
            background-color: var(--fs-color-primary);
            color: #fff;
        }

        &.selected {
            background-color: var(--fs-color-primary);
            color: #fff;
        }
    }

    &.flatpickr-disabled {
        color: rgba(0, 0, 0, .5);
    }
}

.flatpickr-current-month {
    display: flex;
}

.quick-date {
    &.active {
        border: 2px solid var(--fs-color-primary);
        box-shadow: var(--fs-color-primary) !important;
        color: var(--fs-color-primary);
        background-color: #fff;
    }
}

.pum-theme-default-theme {
    background: #00000030 !important;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}

.contact-fixed {
    position: fixed;
    right: 10px;
    bottom: 50px;
    z-index: 999;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.contact-fixed a {
    display: flex;
    /*   padding: 8px 16px; */
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    width: 55px;
    height: 55px;
    animation: shake 0.5s infinite ease-in-out;
    transition: transform 0.3s;
    margin-bottom: 24px;
    justify-content: center;
    align-items: anchor-center;

   
}

.contact-fixed a::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: wave 1s infinite;
    z-index: -1;
    width: 55px;
    height: 55px;
    background: #2962ff;
    opacity: .5;
}

.contact-fixed a::after {
    content: '';
    position: absolute;
    left: 0;
    border-radius: 50%;
    z-index: -1;
    width: 55px;
    height: 55px;
    background: #2962ff;
    transform: scale(1);
}


@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes wave {
    0% {
        transform: scale(1);

    }

    100% {
        transform: scale(1.3);

    }
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 2.6em;
}

.text-banner .box-text {
    top: 50%;
}

.accordion-tour-program {
    img {
        width: 150px;
        height: 100px;
        object-fit: fill;
        display: block;
        transition: all .3s ease-in-out;
    }
    &:not(.collapsed){
        img {
            width: 0px;
            display: block;
        }
    }
}

.success-message {
  font-size: 20px;
  font-weight: bold;
  color: #2e7d32;             /* xanh lá */
  text-align: center;
  padding: 12px 16px;         /* có khoảng đệm */
  border: 2px solid #2e7d32;  /* viền xanh lá */
  border-radius: 8px;         /* bo tròn góc */
  display: inline-block;      /* để border ôm gọn chữ */
  margin: 0 auto 16px;        /* căn giữa + cách dưới 576*/
}

@media only screen and (max-width: 576px) {
    .accordion-tour-program {
        img {
            width: 100px;
        }
        p{
            font-size: .75rem !important;
        }
    }
	 .product .button, 
  .product .btn {
    display: block;
    width: 100%;               /* full ngang */
    margin: 10px auto 0;
    font-size: 10px;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase; /* chữ in hoa cho nổi bật */
    background: linear-gradient(90deg, #ff6600, #ff9900); /* màu cam vàng */
    color: #fff;
    border: none;
    transition: all 0.3s ease;
  }

  .product .button:hover, 
  .product .btn:hover {
    background: linear-gradient(90deg, #ff9900, #ff6600); /* đổi hướng gradient */
    transform: scale(1.03);   /* phóng to nhẹ */
  }

  .product .button:active, 
  .product .btn:active {
    transform: scale(0.97);   /* nhấn xuống thu nhỏ nhẹ */
  }
}
.woocommerce-Price-amount{
	color:#FF8C00!important;
}

@media (max-width: 768px) {
.product-info.floatBox {
	top:unset;
  position: fixed !important;
  bottom: 0;   
  width: 100% !important;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 2; 
}
	.total {
		font-size:1.2rem!important;
	}
	.card{
		border-radius: 1px !important;
	}
	
	  /* Ảnh combo */
  .product img {
    width: 100% !important;   /* full màn hình */
    height: auto !important;  /* giữ tỉ lệ */
    border-radius: 10px;      /* bo góc cho đẹp */
  }



  /* Giá combo */
  .price {
    font-size: 16px;
    font-weight: bold;
   /* color: #ff6600;   màu cam nổi bật */
    margin-bottom: 12px;
  }

 /* Nút yêu cầu */

}
lp-overlay-content {
  width: 50%;
  background: #fff;
	
}
@media(max-width: 768px){
  .lp-overlay-content {
    width: 90%;
  }
}



a.button[href="https://honson.com.vn/combo/"] {
  display: inline-block !important;   /* không full row */
  width: auto !important;             /* tự co theo chữ */
  margin: 10px 0 0 0;                 /* căn trái, không auto */
  font-size: 10px;
  padding: 4px 10px;                  /* bé xinh hơn */
  border-radius: 20px;                /* kiểu viên thuốc mềm mại */
  font-weight: bold;
  text-transform: uppercase;          /* chữ in hoa */
  background: linear-gradient(90deg, #ff6600, #ff9900); /* cam vàng tươi */
  color: #fff !important;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hiệu ứng hover */
a.button[href="https://honson.com.vn/combo/"]:hover {
  background: linear-gradient(90deg, #ff8533, #ffb84d); /* gradient sáng hơn */
  transform: scale(1.08);   /* phóng to nhẹ hơn */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
a.button[href="https://honson.com.vn/tour/"] {
  display: inline-block !important;
  width: auto !important;
  margin: 10px 0 0 0;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 20px; /* viên thuốc */
  font-weight: bold;
  text-transform: uppercase;
  background: linear-gradient(90deg, #0099ff, #33ccff); /* xanh biển */
  color: #fff !important;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover */
a.button[href="https://honson.com.vn/tour/"]:hover {
  background: linear-gradient(90deg, #33ccff, #66e0ff); /* xanh nhạt sáng hơn */
  transform: scale(1.08);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.btn-banner{
	display: inline-block;
	padding: 10px 30px;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid #fff;
	border-radius: 50px;   /* Bo tròn */
	background: transparent;
	transition: all 0.3s ease;
}