.site-footer {
    border-top: 3px solid #d99b32;
    background:
        radial-gradient(circle at 82% 22%, rgba(232, 62, 36, .2), transparent 28%),
        linear-gradient(105deg, #8f0308 0%, #b0080d 58%, #8d0207 100%);
    color: #ffe9c6;
}

.site-footer .site-shell {
    width: min(1680px, calc(100vw - 96px));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr .72fr .85fr 1.3fr 1.15fr;
    gap: 28px;
    padding-block: 34px 24px;
}

.footer-column {
    min-width: 0;
    padding-left: 26px;
    border-left: 1px solid rgba(255, 217, 157, .13);
}

.footer-column--brand {
    padding-left: 0;
    border-left: 0;
}

.footer-title {
    margin-bottom: 15px;
    color: #fff8e8;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .015em;
    line-height: 1.2;
    white-space: nowrap;
}

.site-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.site-footer .footer-brand .footer-brand__mark {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    position: relative;
    overflow: visible;
    border: 3px solid #8e0309;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 27%, #fff8bc 0 7%, #ffd84f 27%, #f4b716 65%, #d98b00 100%);
    box-shadow: 0 0 0 3px rgba(255, 207, 63, .25), 0 7px 22px rgba(71, 0, 3, .32), inset 0 1px 8px rgba(255, 255, 255, .72);
    color: #a5070d;
}

.site-footer .footer-brand .footer-brand__copy {
    display: grid;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
}

.site-footer .footer-brand .brand-mark {
    display: block;
    width: 100%;
    height: 100%;
    padding: 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
}

.footer-brand__copy strong {
    display: flex;
    align-items: baseline;
    gap: .24em;
    font-size: 21px;
    letter-spacing: -.025em;
    line-height: 1.1;
    text-transform: none;
    white-space: nowrap;
}

.site-footer .footer-brand .brand-word {
    display: inline;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.site-footer .brand-word--red {
    color: #fff4d1;
}

.site-footer .brand-word--gold {
    color: #ffd35b;
}

.footer-brand__copy small {
    margin-top: 5px;
    color: #ffd899;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.footer-intro {
    max-width: 330px;
    margin: 17px 0 18px;
    color: #f8d9b6;
    font-size: 13px;
    line-height: 1.62;
}

.footer-socials {
    display: flex;
    gap: 9px;
}

.footer-socials a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 225, 170, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    color: #fff;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.footer-socials a:hover {
    background: #ffd35f;
    color: #97050b;
    transform: translateY(-2px);
}

.footer-socials .mmtl-icon {
    width: 18px;
    height: 18px;
}

.footer-socials .mmtl-icon--tiktok {
    width: 23px;
    height: 23px;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .16));
}

.footer-socials .mmtl-icon--tiktok path {
    stroke: none;
}

.footer-socials .mmtl-icon--zalo {
    width: 21px;
    height: 21px;
    border-radius: 6px;
    object-fit: contain;
}

/* Floating contact actions */
.floating-contact {
    right: 18px;
    bottom: 20px;
    gap: 12px;
}

.floating-contact .floating-contact__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 118px;
    height: 56px;
    gap: 9px;
    overflow: hidden;
    padding: 0 14px 0 11px;
    border: 2px solid rgba(255, 220, 112, .88);
    border-radius: 999px;
    color: #fff;
    isolation: isolate;
    text-decoration: none;
    transform-origin: right center;
    transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}

.floating-contact .floating-contact__item::before {
    position: absolute;
    inset: 3px;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: inherit;
    content: "";
}

.floating-contact .floating-contact__item::after {
    position: absolute;
    top: -50%;
    left: -62%;
    width: 36%;
    height: 210%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .62), transparent);
    content: "";
    transform: rotate(20deg);
    animation: mmtl-contact-shine 4.6s ease-in-out infinite;
}

.floating-contact .floating-contact__item--call {
    background: linear-gradient(135deg, #b5050e, #e0191f 62%, #b5070f);
    box-shadow: 0 9px 25px rgba(143, 3, 9, .36), 0 0 0 0 rgba(213, 22, 29, .32);
    animation: mmtl-call-pulse 2.8s ease-in-out infinite;
}

.floating-contact .floating-contact__item--zalo {
    border-color: rgba(194, 226, 255, .92) !important;
    background: linear-gradient(135deg, #075fd6, #0878ff 58%, #0056d6) !important;
    box-shadow: 0 9px 25px rgba(0, 77, 185, .34), 0 0 0 0 rgba(0, 104, 255, .28) !important;
    animation: mmtl-zalo-float 3.2s ease-in-out infinite;
}

.floating-contact .floating-contact__item:hover {
    filter: saturate(1.12) brightness(1.06);
    transform: translateX(-4px) scale(1.04);
}

.floating-contact__icon {
    display: grid;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
}

.floating-contact__icon .mmtl-icon {
    width: 21px;
    height: 21px;
    stroke-width: 1.8;
}

.floating-contact__item--call .floating-contact__icon .mmtl-icon {
    animation: mmtl-phone-ring 3.2s ease-in-out infinite;
}

.floating-contact__item--zalo .floating-contact__icon .mmtl-icon {
    width: 23px;
    height: 23px;
    border-radius: 7px;
    object-fit: contain;
}

.floating-contact__label {
    position: relative;
    z-index: 1;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

@keyframes mmtl-call-pulse {
    0%, 100% { box-shadow: 0 9px 25px rgba(143, 3, 9, .36), 0 0 0 0 rgba(213, 22, 29, .34); }
    50% { box-shadow: 0 11px 28px rgba(143, 3, 9, .4), 0 0 0 8px rgba(213, 22, 29, 0); }
}

@keyframes mmtl-zalo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes mmtl-phone-ring {
    0%, 82%, 100% { transform: rotate(0); }
    86% { transform: rotate(-12deg); }
    90% { transform: rotate(12deg); }
    94% { transform: rotate(-7deg); }
}

@keyframes mmtl-contact-shine {
    0%, 58% { left: -62%; opacity: 0; }
    66% { opacity: 1; }
    84%, 100% { left: 130%; opacity: 0; }
}

@media (max-width: 700px) {
    .floating-contact {
        right: 12px;
        bottom: 14px;
        gap: 9px;
    }

    .floating-contact .floating-contact__item {
        width: 58px;
        height: 58px;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        padding: 4px;
    }

    .floating-contact__icon {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
    }

    .floating-contact__label {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-contact .floating-contact__item,
    .floating-contact .floating-contact__item::after,
    .floating-contact__item--call .floating-contact__icon .mmtl-icon {
        animation: none;
    }
}

.site-footer ul.footer-links,
.site-footer ul.footer-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin: 0 0 9px;
}

.footer-links a {
    display: inline-block;
    color: #f8ddbd;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease, transform .18s ease;
}

.footer-links a:hover {
    color: #ffd768;
    transform: translateX(3px);
}

.footer-contact-list {
    display: grid;
    gap: 9px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #f9dfbf;
    font-size: 12.5px;
    line-height: 1.35;
    white-space: nowrap;
}

/* Địa chỉ dài hơn các mục khác trong danh sách — cho phép xuống dòng thay vì
   tràn sang cột kế bên, phòng trường hợp chuỗi rút gọn vẫn còn dài trên máy nhỏ.
   Selector lặp .footer-contact-list li để độ ưu tiên cao hơn luật nowrap ở trên. */
.footer-contact-list li.footer-contact-list__address {
    align-items: flex-start;
    white-space: normal;
    overflow-wrap: break-word;
}

.footer-contact-list .mmtl-icon {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    color: #ffd15c;
}

.footer-contact-list a {
    color: inherit;
    text-decoration: none;
}

.footer-contact-list a:hover {
    color: #ffd768;
}

.footer-newsletter-copy {
    margin: 0 0 16px;
    color: #f8ddbd;
    font-size: 13px;
    white-space: nowrap;
}

.footer-newsletter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 44px;
    overflow: hidden;
    border: 1px solid rgba(255, 220, 155, .45);
    border-radius: 7px;
    background: #fff;
}

.footer-newsletter input {
    min-width: 0;
    padding: 0 13px;
    border: 0;
    outline: 0;
    color: #3e3028;
    font-size: 12px;
}

.footer-newsletter button {
    padding-inline: 15px;
    border: 0;
    background: linear-gradient(180deg, #ffe28a, #efb83e);
    color: #8f0308;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.footer-payments {
    display: flex;
    gap: 9px;
    margin-top: 18px;
}

.footer-payments span {
    display: grid;
    min-width: 52px;
    height: 31px;
    padding-inline: 8px;
    place-items: center;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(46, 0, 2, .18);
    font-size: 11px;
    font-weight: 900;
}

.footer-payments .is-visa { color: #194d9a; font-size: 15px; font-style: italic; }
.footer-payments .is-mastercard { color: #e32925; letter-spacing: -5px; font-size: 20px; }
.footer-payments .is-momo { background: #a41665; color: #fff; }
.footer-payments .is-zalopay { color: #078b6d; }

.site-footer .footer-bottom {
    padding-block: 12px 15px;
    border-top: 1px solid rgba(255, 225, 170, .16);
    color: #e8bb80;
    font-size: 12px;
    text-align: center;
}

.footer-bottom__demo-note {
    display: block;
    margin-top: 4px;
}

@media (max-width: 1450px) {
    .site-footer .site-shell {
        width: min(1360px, calc(100vw - 48px));
    }

    .footer-grid {
        grid-template-columns: 1.15fr .7fr .85fr 1.25fr 1.1fr;
        gap: 18px;
    }

    .footer-column {
        padding-left: 18px;
    }

    .footer-brand__copy strong {
        font-size: 18px;
    }

    .footer-contact-list li,
    .footer-links a {
        font-size: 12px;
    }
}

@media (max-width: 1120px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-column--brand,
    .footer-column--contact {
        grid-column: span 2;
    }

    .footer-column:nth-child(4) {
        border-left: 0;
    }
}

@media (max-width: 700px) {
    .site-footer .site-shell {
        width: min(100% - 32px, 620px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-block: 30px 22px;
    }

    .footer-column,
    .footer-column--brand,
    .footer-column--contact {
        grid-column: auto;
        padding: 0 0 22px;
        border: 0;
        border-bottom: 1px solid rgba(255, 225, 170, .14);
    }

    .footer-title,
    .footer-links a,
    .footer-contact-list li,
    .footer-newsletter-copy {
        white-space: normal;
    }

    .footer-brand__copy strong {
        font-size: 17px;
    }

    .footer-payments {
        flex-wrap: wrap;
    }
}
