/* --- FOOTER STYLES --- */

footer {
    background-color: #16181b;
    color: #e4e6eb;
    padding: 60px 0 30px;
    font-family: Arial, sans-serif;
    border-top: 4px solid #ee4d2d;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 15px;
    gap: 30px;
}

.footer-column {
    min-width: 250px;
}

.footer-company {
    flex: 1.6;
}

.footer-support,
.footer-map {
    flex: 1;
}

footer h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55px;
    height: 3px;
    background-color: #ee4d2d;
}

.about p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 14px;
    color: #c8cad1;
    text-align: justify;
}

.address p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #c8cad1;
}

.address i {
    color: #ee4d2d;
    min-width: 20px;
    margin-top: 3px;
}

.address a {
    color: #ffffff;
    text-decoration: none;
}

.footer-support ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-support li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-support li::before {
    content: '•';
    color: #ee4d2d;
    font-size: 18px;
    line-height: 0;
}

.footer-support a {
    text-decoration: none;
    color: #c8cad1;
    font-size: 14px;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.footer-support a:hover {
    color: #ee4d2d;
    transform: translateX(4px);
}

.footer-badge {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 14px 16px;
    border-radius: 12px;
}

.badge-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background-color: #ffffff;
    color: #ee4d2d;
    font-size: 18px;
}

.badge-title,
.badge-note {
    display: block;
    color: #ffffff;
}

.badge-title {
    font-weight: 700;
    font-size: 14px;
}

.badge-note {
    font-size: 12px;
    color: #c8cad1;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 10px 16px;
    text-decoration: none;
    color: #ffffff;
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: background-color 0.25s ease, transform 0.25s ease;
    font-size: 14px;
}

.map-link:hover {
    background-color: rgba(238,77,45,0.15);
    transform: translateY(-2px);
}

.map-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}

.map-card iframe {
    width: 100%;
    min-height: 280px;
    border: 0;
}

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    padding-bottom: 8px;
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 15px;
}

.footer-social-label {
    font-size: 13px;
    color: #c8cad1;
    letter-spacing: 0.5px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-links a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: #c8cad1;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social-links a:hover {
    background-color: #ee4d2d;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-copy {
    padding: 0 15px;
}

.footer-copy p {
    margin: 0;
    font-size: 13px;
    color: #9da3b3;
}

.footer-contact-fixed {
    position: fixed;
    left: 20px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

.contact-toggle {
    display: inline-flex;
    align-items: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    overflow: hidden;
    border: none;
    padding: 0;
    background-color: #111317;
    color: #ffffff;
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.contact-toggle:hover,
.contact-toggle.active {
    width: auto;
    padding-right: 16px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.contact-zalo .contact-icon {
    background-color: #0064ff;
    color: #ffffff;
    font-weight: 700;
}

.contact-phone .contact-icon {
    background-color: #00b074;
    color: #ffffff;
}

.contact-label {
    display: inline-block;
    opacity: 0;
    margin-left: 10px;
    white-space: nowrap;
    transition: opacity 0.25s ease;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.contact-toggle:hover .contact-label,
.contact-toggle.active .contact-label {
    opacity: 1;
}

@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-column {
        width: 100%;
    }

    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .footer-contact-fixed {
        left: 12px;
        bottom: 14px;
    }

    .contact-toggle {
        width: 48px;
        height: 48px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
    }
}

/* --- MINI FLOATING PRODUCT BAR AT BOTTOM --- */
.mini-product-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-top: 2.5px solid #ee4d2d;
    z-index: 9998;
    padding: 10px 20px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    opacity: 0;
}

.mini-product-bar.show {
    transform: translateY(0);
    opacity: 1;
}

.mini-product-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.mini-product-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    overflow: hidden;
}

.mini-product-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

.mini-product-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mini-product-badge {
    font-size: 10px;
    font-weight: 700;
    color: #ee4d2d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.mini-product-name {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-product-price {
    font-size: 14px;
    font-weight: 800;
    color: #ee4d2d;
}

.mini-product-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-btn-buy {
    background: linear-gradient(135deg, #ff5722, #ee4d2d);
    color: white !important;
    padding: 9px 22px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(238, 77, 45, 0.3);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.mini-btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(238, 77, 45, 0.45);
    background: linear-gradient(135deg, #ee4d2d, #d0011b);
}

.mini-bar-close {
    background: #f0f0f0;
    color: #666;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    transition: background 0.2s;
    flex-shrink: 0;
}

.mini-bar-close:hover {
    background: #e0e0e0;
    color: #333;
}
