/*
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.   ***************/

.entry-content {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

/* Layout các show: Ảnh bên trái, Text bên phải */
.product-small.product .col-inner {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    padding: 15px;
    height: 100%;
}

.product-small.product .box {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    text-align: left;
    height: 100%;
    margin: 0;
}

.product-small.product .box-image {
    width: 35%;
    flex: 0 0 35%;
    position: relative; /* Cho badge absolute */
    border-radius: 10px;
    overflow: hidden;
}

.product-small.product .box-image img, 
.product-small.product .box-image .image-fade_in_back {
    border-radius: 10px;
    overflow: hidden;
}

/* Badge status */
.show-status-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9;
    padding: 5px 12px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    background-color: #2eac6d !important; /* Màu xanh của mẫu */
}

/* Right Content */
.product-small.product .box-text {
    width: 65%;
    flex: 0 0 65%;
    padding: 0 0 0 25px !important;
    display: flex;
    flex-direction: column;
}

/* Date Time box */
.show-datetime-wrap {
    display: inline-flex;
    align-items: center;
    border: 2px solid #233468;
    border-radius: 30px;
    padding: 6px 15px;
    color: #233468;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    width: fit-content;
}

.show-datetime-wrap svg {
    vertical-align: middle;
    margin-right: 6px;
    margin-top: -2px;
}

.show-datetime-wrap .sep {
    margin: 0 10px;
    color: #233468;
    font-weight: 400;
}

/* Title */
.product-small.product .title-wrapper {
    margin-bottom: 24px;
}
.product-small.product .title-wrapper .product-title {
    height: auto !important;
    white-space: normal;
}
.product-small.product .title-wrapper .product-title a {
    color: #233468;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Details (Singer, Location) */
.show-details {
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
}
.show-details > div {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.show-details svg {
    margin-right: 10px;
    color: #718096;
}

/* Book Button */
.show-book-btn {
    margin-top: auto;
    text-align: right;
}
.show-book-btn .book-button {
    background-color: #233468 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 8px 24px !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center;
    box-shadow: 0 4px 10px rgba(35, 52, 104, 0.25) !important;
    margin-bottom: 0 !important;
}
.show-book-btn .book-button:hover {
    background-color: #1a2750 !important;
}

/* Ẩn style mặc định Flatsome */
.product-small.product .box-text-products {
    text-align: left !important;
}
.product-small.product .price-wrapper {
    display: none !important;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .product-small.product .col-inner {
        padding: 10px !important;
    }
    .product-small.product .box-image {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-bottom: 15px !important;
    }
    .product-small.product .box {
        flex-direction: column !important;
    }
    .product-small.product .box-text {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding: 0 !important;
    }
    .show-book-btn {
        margin-top: 15px !important;
    }
}

/* Nút liên hệ cố định góc trái dưới */
.xc-float-contact {
    position: fixed;
    left: 20px;
    bottom: 10%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.xc-float-contact .contact-item {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.xc-float-contact .icon-wrap {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    position: relative;
    animation: pulse-border 2s infinite;
}

.xc-float-contact .btn-zalo .icon-wrap {
    background-color: transparent;
    box-shadow: none;
    animation: none; /* Hoặc để pulse nếu muốn Zalo cũng chớp */
}
.xc-float-contact .btn-zalo .icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: wiggle 2s infinite;
}

.xc-float-contact .btn-phone .icon-wrap {
    background-color: #dd3333; /* Đỏ cho hotline */
    color: #fff;
    font-size: 24px;
}

.xc-float-contact .btn-phone .icon-wrap i {
    animation: phone-ring 1.5s infinite;
}

/* Animations */
@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(221, 51, 51, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(221, 51, 51, 0); }
    100% { box-shadow: 0 0 0 0 rgba(221, 51, 51, 0); }
}

@keyframes wiggle {
    0%, 10% { transform: rotate(-10deg); }
    5%, 15% { transform: rotate(10deg); }
    20%, 100% { transform: rotate(0deg); }
}

@keyframes phone-ring {
    0%, 10%, 20%, 30%, 40% { transform: rotate(-15deg); }
    5%, 15%, 25%, 35%, 45% { transform: rotate(15deg); }
    50%, 100% { transform: rotate(0deg); }
}

/* =========================================
   FOOTER STYLE (Tương tự Mây Lang Thang)
   ========================================= */

/* Toàn bộ footer */
.xc-footer {
    background-color: #111827 !important;
}
.xc-footer .section-bg.fill {
    opacity: 0.3 !important;
    mix-blend-mode: overlay;
    pointer-events: none;
}
#footer .absolute-footer {
    display: none; /* Ẩn footer phụ mặc định của Flatsome */
}

/* Khung liên hệ phía trên (Blue Banner) */
.xc-footer > .section-content > .row:first-of-type {
    background-color: #2563eb;
    border-radius: 12px;
    padding: 36px 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}
.xc-footer > .section-content > .row:first-of-type::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url('assets/images/contact-info-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    mix-blend-mode: multiply;
}
.xc-footer > .section-content > .row:first-of-type .col-inner {
    display: flex;
    align-items: center;
}
.xc-footer .icon-box {
    display: flex;
    align-items: center;
    text-align: left;
    margin: 0;
    position: relative;
    padding-left: 80px; 
}
.xc-footer .icon-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 63px;
    height: 63px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}
.xc-footer .icon-box::after {
    content: "";
    position: absolute;
    left: 11.5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
}
/* Map Icon */
.xc-footer .box-office::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512' fill='%232563eb'%3E%3Cpath d='M384 192c0 87.4-117 243-168.3 307.2c-12.3 15.3-35.1 15.3-47.4 0C117 435 0 279.4 0 192C0 86 86 0 192 0S384 86 384 192z'/%3E%3C/svg%3E");
}
/* Email Icon */
.xc-footer .box-email::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%232563eb'%3E%3Cpath d='M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z'/%3E%3C/svg%3E");
}
/* Phone Icon */
.xc-footer .box-phone::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%232563eb'%3E%3Cpath d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E");
}
.xc-footer .icon-box-text p {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 500;
    color: #fff;
}
.xc-footer .icon-box-text h3 {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0;
}

/* Phần Logo & Social Icons */
.xc-footer .social-icons {
    margin-top: 20px;
}
.xc-footer .social-icons .icon.button {
    border: 1px solid #9EAACB;
    color: #9EAACB;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    margin-bottom: 0;
}
.xc-footer .social-icons .icon.button:hover {
    color: #ffffff;
    background-color: #2563eb;
    border-color: #2563eb;
}

/* Phần Menu Điều khoản (Row 2) */
.xc-footer .ux-menu-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    border-bottom: none; 
}
.xc-footer .ux-menu-link {
    padding: 0;
    margin-bottom: 10px;
}
.xc-footer .ux-menu-link__link {
    color: #f2f2f2;
    font-size: 16px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: none; 
}
.xc-footer .ux-menu-link__link:hover {
    color: #60a5fa; 
}
.xc-footer .ux-menu-link__link::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%23ffffff'%3E%3Cpath d='M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}
.xc-footer .ux-menu-link__link:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%2360a5fa'%3E%3Cpath d='M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z'/%3E%3C/svg%3E");
}
.xc-footer .ux-menu--divider-solid .menu-item {
    border-bottom: none;
}

/* Phần bản quyền (Row 3) */
.xc-footer > .section-content > .row:last-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 34px;
    margin-top: 30px;
    text-align: center;
}
.xc-footer > .section-content > .row:last-of-type p {
    color: #f2f2f2;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 10px;
}

/* Responsive cho Footer Mobile */
@media screen and (max-width: 849px) {
    .xc-footer > .section-content > .row:first-of-type {
        padding: 20px;
        margin-left: 15px;
        margin-right: 15px;
        width: auto;
    }
    .xc-footer .icon-box {
        margin-bottom: 25px;
    }
    .xc-footer .icon-box-text h3 {
        font-size: 16px;
        word-break: break-all;
    }
    .xc-footer .ux-menu-title {
        margin-top: 20px;
    }
}