﻿:root {
    --primary-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --site-gutter-x: clamp(20px, 3vw, 46px);
    --whatsapp-btn-bg: #39a95d;
}

@layer base {
    img[data-dims-auto] {
        max-width: 100%;
        width: auto;
        height: auto;
    }
}

.u-logo-maxh-140 {
    max-height: 140px;
}

.u-hidden {
    display: none;
}

.u-footer-dark-btn {
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
}

.u-footer-dark {
    background-color: #000;
    color: #fff;
}

.u-maxw-1170 {
    max-width: 1170px;
}

.u-flag-h16 {
    height: 16px;
    width: auto;
}

.u-bottom-bar-font-12 {
    --bottom-bar-menu-text-font-size: 12px;
}

.u-maxw-100 {
    max-width: 100%;
}

.u-size-50 {
    width: 50px;
    height: 50px;
}

.u-width-80 {
    width: 80%;
}

.u-width-70 {
    width: 70%;
}

.u-width-30 {
    width: 30%;
}

.u-width-20 {
    width: 20%;
}

.u-text-center {
    text-align: center;
}

.u-mr-4 {
    margin-right: 4px;
}

.u-progress-bg {
    height: 6px;
    background: #f0f0f0;
}

.u-lineh135-minh56 {
    line-height: 1.35;
    min-height: 56px;
}

/* Disable frontend cookie consent strip */
.js-site-notice,
.site-notice.site-notice-full-width {
    display: none !important;
}

/* Global horizontal breathing space for frontend pages */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl,
.container-fluid {
    padding-left: var(--site-gutter-x);
    padding-right: var(--site-gutter-x);
}

@media (max-width: 575.98px) {
    :root {
        --site-gutter-x: 14px;
    }
}

body.page-loader-active {
    overflow: hidden;
}

#preloader-active.app-page-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(252, 248, 240, 0.92);
    backdrop-filter: blur(4px);
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

#preloader-active.app-page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.page-loader-ready #preloader-active.app-page-loader.is-hidden {
    display: none;
}

.app-page-loader__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.app-page-loader__spinner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 4px solid rgba(196, 145, 76, 0.18);
    border-top-color: #c4914c;
    animation: appPageLoaderSpin 0.8s linear infinite;
}

.app-page-loader__text {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #5f4a2d;
    font-weight: 700;
}

@keyframes appPageLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer background extends full width on tablet/mobile screens only */
@media (max-width: 1024px) {
    .footer-mid {
        width: calc(100% + 2 * var(--site-gutter-x));
        margin-left: calc(-1 * var(--site-gutter-x));
        margin-right: calc(-1 * var(--site-gutter-x));
        padding-left: var(--site-gutter-x);
        padding-right: var(--site-gutter-x);
    }

    .footer-mid .contact-infor,
    .footer-mid .contact\.html-infor {
        margin: 0;
        padding-left: 0;
        list-style: none;
    }

    .footer-mid .contact-infor li,
    .footer-mid .contact\.html-infor li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-mid .contact-infor li strong,
    .footer-mid .contact\.html-infor li strong {
        white-space: nowrap;
    }

    .footer-mid .contact-infor li span,
    .footer-mid .contact\.html-infor li span {
        min-width: 0;
        word-break: break-word;
    }

    .footer-mid .contact-infor li svg,
    .footer-mid .contact-infor li img,
    .footer-mid .contact\.html-infor li svg,
    .footer-mid .contact\.html-infor li img {
        flex: 0 0 auto;
        margin-top: 2px;
    }
}

@media (max-width: 1199.98px) {
    .footer-mid .row > .col:first-child {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-mid .row > .col:first-child .widget-about {
        max-width: 100%;
        margin-bottom: 18px;
    }

    .footer-mid .row > .footer-link-widget.col {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }

    .footer-mid .row > .footer-link-widget.col:nth-last-child(-n+2) {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer-mid .widget-about .contact-infor li,
    .footer-mid .widget-about .contact\.html-infor li {
        flex-wrap: nowrap;
        row-gap: 0;
    }

    .footer-mid .widget-about .contact-infor li strong,
    .footer-mid .widget-about .contact\.html-infor li strong {
        flex: 0 0 auto;
        min-width: 0;
    }

    .footer-mid .widget-about .contact-infor li span,
    .footer-mid .widget-about .contact\.html-infor li span {
        flex: 1 1 auto;
        margin-left: 0;
        line-height: 1.35;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 767.98px) {
    .footer-mid > .container,
    .footer-mid > .container.pt-15.pb-20 {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .footer-mid .row > .col {
        padding-left: 10px;
        padding-right: 10px;
    }
    
        /* Add spacing between Contact menu and Follow Us section */
    .mobile-social-icon {
        margin-top: 0px;
        padding-top: 24px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
}
