/** Variables (theo Global Colors / Fonts của Elementor) */
:root {
    --primary-Color: var(--e-global-color-primary, #6F5E4B);
    --second-Color: var(--e-global-color-secondary, #922B2A);
    --heading-Color: var(--e-global-color-text, #3A3129);
    --primary-Font: var(--e-global-typography-primary-font-family, "Roboto Flex"), sans-serif
}

/** Layout (thay cho Bootstrap container / row) */
.gv_footer_block .container {
    width: 100%;
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto
}

.gv_footer_block .container>.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px
}

.gv_footer_block a {
    color: inherit;
    text-decoration: none
}

.gv_footer_block .desc p {
    margin-bottom: 0
}

.gv_footer_block .social a .txt {
    font-size: 11px;
    font-weight: 700
}

.head_footer {
    position: relative;
    font-family: var(--primary-Font)
}

.head_footer .title {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0;
    color: #fff;
    padding-bottom: 10px;
    position: relative
}

.head_footer .title::after {
    content: "";
    height: 1px;
    bottom: 0;
    left: 0;
    width: 46px;
    position: absolute;
    background: #fff
}

/** Footer */
.gv_footer_block {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background: #000;
    color: #fff
}

.gv_footer_block::before {
    content: "";
    /* Feedback 10/2026: lớp phủ xám mờ thay cho nâu, vẫn thấy ảnh nền */
    background: #5d5959;
    opacity: 0.8;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%
}

.gv_footer_block .container {
    position: relative;
    z-index: 3
}

.gv_footer_block .container>.row {
    margin-bottom: 32px
}

.gv_footer_block .container>.row .ftx-item {
    padding: 12px 12px;
    flex: 0 0 26%;
    max-width: 26%
}

.gv_footer_block .container>.row .ftx-item:nth-child(2),
.gv_footer_block .container>.row .ftx-item:nth-child(3),
.gv_footer_block .container>.row .ftx-item:nth-child(4) {
    flex: 0 0 16%;
    max-width: 16%
}

@media(max-width: 991px) {

    .gv_footer_block .container>.row .ftx-item:nth-child(2),
    .gv_footer_block .container>.row .ftx-item:nth-child(3),
    .gv_footer_block .container>.row .ftx-item:nth-child(4) {
        flex: 0 0 33.33334%;
        max-width: 33.33334%;
        padding: 12px 12px
    }
}

@media(max-width: 767px) {

    .gv_footer_block .container>.row .ftx-item:nth-child(2),
    .gv_footer_block .container>.row .ftx-item:nth-child(3),
    .gv_footer_block .container>.row .ftx-item:nth-child(4) {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 12px 12px
    }
}

@media(max-width: 575px) {

    .gv_footer_block .container>.row .ftx-item:nth-child(2),
    .gv_footer_block .container>.row .ftx-item:nth-child(3),
    .gv_footer_block .container>.row .ftx-item:nth-child(4) {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 12px 12px
    }
}

@media(max-width: 991px) {
    .gv_footer_block .container>.row .ftx-item {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 12px 12px
    }
}

@media(max-width: 767px) {
    .gv_footer_block .container>.row .ftx-item {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 12px 12px
    }
}

@media(max-width: 575px) {
    .gv_footer_block .container>.row .ftx-item {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 12px 12px
    }
}

.gv_footer_block .head_footer {
    position: relative;
    margin-bottom: 24px
}

.gv_footer_block .logo {
    margin-bottom: 16px;
    display: inline-block
}

.gv_footer_block .logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1)
}

.gv_footer_block .desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    text-align: justify;
    margin-bottom: 20px
}

.gv_footer_block .notify {
    display: block;
    margin-top: 20px
}

.gv_footer_block .notify a img {
    height: 60px;
    width: auto
}

.gv_footer_block .contact {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 16px
}

.gv_footer_block .contact>li {
    display: block;
    position: relative;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    padding-left: 22px;
    margin-bottom: 12px
}

.gv_footer_block .contact>li:last-child {
    margin-bottom: 0
}

.gv_footer_block .contact>li i {
    height: 16px;
    width: 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    left: 0;
    top: 3px;
    position: absolute;
    filter: brightness() invert(1);
    display: block
}

.gv_footer_block .desc {
    font-size: 14px;
    margin-bottom: 16px;
    text-align: left
}

.gv_footer_block .social {
    display: flex;
    margin-bottom: 12px
}

.gv_footer_block .social a {
    height: 38px;
    width: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    margin-bottom: 4px;
    background: transparent;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    color: #fff
}

.gv_footer_block .social a i {
    font-size: 16px
}

.gv_footer_block .social a:hover {
    background: #fff;
    color: var(--heading-Color)
}

.gv_footer_block .menu {
    list-style: none;
    padding: 0;
    margin: 0
}

.gv_footer_block .menu>li {
    display: block;
    position: relative;
    margin-bottom: 16px
}

.gv_footer_block .menu>li:last-child {
    margin-bottom: 0
}

.gv_footer_block .menu>li a,
.gv_footer_block .menu>li span {
    color: #fff;
    text-decoration: none;
    display: block;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer
}

.gv_footer_block .menu>li a:hover,
.gv_footer_block .menu>li span:hover {
    color: #333
}

.gv_footer_block .menu>li:last-child {
    margin-bottom: 0
}

.gv_footer_block .fanpage {
    margin-bottom: 24px
}

.gv_footer_block .maps {
    height: 150px
}

.gv_footer_block .maps iframe {
    height: 150px;
    width: 100%;
    vertical-align: bottom
}

.gv_footer_block .copy {
    padding-top: 24px;
    position: relative;
    border-top: 1px solid #fff;
    color: #fff;
    font-size: 15px;
    font-weight: 400
}

/** Button */
.gvx-button-wrap {
    position: fixed;
    top: 50%;
    left: -125px;
    z-index: 10;
    transform: translateY(-50%);
    display: block
}

@media(min-width: 576px) {
    .gvx-button-wrap {
        display: block
    }
}

.gvx-button-wrap a {
    border-radius: 3px;
    height: 40px;
    line-height: 40px;
    padding: 8px;
    display: flex;
    align-items: center;
    width: 165px;
    transform: translateX(0px);
    background: #fff;
    color: #333;
    font-size: 14px;
    border: 1px solid #e1e1e1;
    margin-bottom: 5px;
    transition: all 0.6s ease;
    text-align: right;
    justify-content: flex-end
}

.gvx-button-wrap a img {
    height: 100%;
    width: auto;
    margin-left: 20px;
    order: 2
}

.gvx-button-wrap a span {
    order: 1
}

.gvx-button-wrap a:hover {
    transform: translateX(120px)
}

/** Floating contact (thu gọn thành 1 nút, click để mở) */
.gvx-button-box {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px
}

@media(max-width: 575px) {
    .gvx-button-box {
        right: 14px;
        bottom: 16px
    }
}

.gvx-button-box .gvx-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none
}

.gvx-button-box .gvx-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(16px) scale(.6);
    transition: opacity .25s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1);
    transition-delay: calc((3 - var(--i, 0)) * 40ms)
}

.gvx-button-box.is-open .gvx-list {
    pointer-events: auto
}

.gvx-button-box.is-open .gvx-list a {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i, 0) * 50ms)
}

.gvx-button-box .gvx-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
    transition: transform .2s ease, box-shadow .2s ease
}

.gvx-button-box .gvx-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%
}

.gvx-button-box .gvx-label {
    background: #fff;
    color: #222;
    font-family: var(--primary-Font);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .2s ease, transform .2s ease
}

.gvx-button-box .gvx-list a:hover .gvx-icon,
.gvx-button-box .gvx-list a:focus-visible .gvx-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25)
}

.gvx-button-box .gvx-list a:hover .gvx-label,
.gvx-button-box .gvx-list a:focus-visible .gvx-label {
    opacity: 1;
    transform: none
}

@media(hover: none) {
    .gvx-button-box.is-open .gvx-label {
        opacity: 1;
        transform: none
    }
}

.gvx-button-box .gvx-toggle {
    position: relative;
    width: 58px;
    height: 58px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: var(--hv-ink, #1f1f1f);
    color: #fff;
    cursor: grab;
    touch-action: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
    transition: transform .3s ease, background .3s ease
}

.gvx-button-box .gvx-toggle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--hv-ink, #1f1f1f);
    z-index: -1;
    animation: gvx-pulse 2s ease-out infinite
}

.gvx-button-box .gvx-toggle:hover {
    background: var(--hv-ink-hover, #6e6969);
    transform: scale(1.06)
}

.gvx-button-box.is-dragging .gvx-toggle {
    cursor: grabbing;
    transform: scale(1.1);
    transition: none
}

/* Nút bị kéo sang nửa trái màn hình: danh sách lật sang phải */
.gvx-button-box.is-left,
.gvx-button-box.is-left .gvx-list {
    align-items: flex-start
}

.gvx-button-box.is-left .gvx-list a {
    flex-direction: row-reverse
}

.gvx-button-box .gvx-toggle svg {
    position: absolute;
    transition: opacity .25s ease, transform .3s ease
}

.gvx-button-box .gvx-toggle .ic-close {
    opacity: 0;
    transform: rotate(-90deg)
}

.gvx-button-box.is-open .gvx-toggle {
    background: var(--hv-ink-hover, #6e6969)
}

.gvx-button-box.is-open .gvx-toggle::before {
    animation: none;
    opacity: 0
}

.gvx-button-box.is-open .gvx-toggle .ic-open {
    opacity: 0;
    transform: rotate(90deg)
}

.gvx-button-box.is-open .gvx-toggle .ic-close {
    opacity: 1;
    transform: none
}

@keyframes gvx-pulse {
    0% {
        transform: scale(1);
        opacity: .5
    }

    100% {
        transform: scale(1.6);
        opacity: 0
    }
}

@media(prefers-reduced-motion: reduce) {
    .gvx-button-box *,
    .gvx-button-box *::before {
        animation: none !important;
        transition: none !important
    }
}

/** Notify */
.gv_notify_block {
    position: fixed;
    bottom: 12px;
    left: 12px;
    z-index: 99999
}

.gv_notify_block .inner {
    width: 100%;
    max-width: 320px;
    border-radius: 6px;
    background: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3)
}

.gv_notify_block .inner button {
    position: absolute;
    z-index: 10;
    right: 6px;
    top: 6px;
    height: 24px;
    width: 24px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    outline: none;
    color: #000;
    background: transparent;
    padding: 0
}

.gv_notify_block .inner .image {
    max-width: 80px;
    min-width: 80px;
    height: 80px
}

.gv_notify_block .inner .image img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.13)
}

.gv_notify_block .inner .info {
    flex: 1;
    padding-left: 16px
}

.gv_notify_block .inner .info .nf-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 3px
}

.gv_notify_block .inner .info .nf-text {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 2px
}

.gv_notify_block .inner .info .nf-product {
    display: block;
    font-size: 14px
}

.gv_notify_block .inner .info .nf-product strong {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 600
}

.gv_notify_block .inner .info .nf-time {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 0
}
/** Cột cuối (Theo dõi) luôn rộng 26%, chia đều khoảng trống khi ít cột */
@media(min-width: 992px) {
    .gv_footer_block .container>.row {
        justify-content: space-between
    }

    .gv_footer_block .container>.row .ftx-item:last-child {
        flex: 0 0 26%;
        max-width: 26%
    }
}
