/*
 * Chân trang kiểu nhập mới — CSS dùng chung cho MỌI theme.
 *
 * Nguyên tắc: chỉ tạo dáng cho những khối theme chưa có (danh sách liên hệ có icon,
 * hàng mạng xã hội, ô đối tác thanh toán). Màu chữ/nền đều dùng currentColor hoặc
 * màu trong suốt để ăn theo màu chân trang của từng theme, không đè màu của theme.
 *
 * Nạp bằng <link> ngay trong partial (không dùng @push('css') vì nhiều theme đẩy
 * stack sau phần nội dung nên bị mất).
 */

/* ----- Cột thông tin doanh nghiệp ----- */
.bc-footer-logo {
    display: block;
    max-width: 180px;
    height: auto;
    margin-bottom: 14px;
}

.bc-footer-about {
    margin-bottom: 14px;
}

.bc-footer-contact {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.bc-footer-contact > li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.bc-footer-contact > li::before {
    content: none; /* bỏ dấu chấm/gạch mà một số theme gắn cho li trong .context */
}

.bc-footer-ico {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 22px;
    opacity: .75;
}

.bc-footer-contact a {
    text-decoration: none;
}

.bc-footer-contact a:hover {
    text-decoration: underline;
}

/* ----- Hàng mạng xã hội ----- */
.bc-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.bc-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: inherit;
    background: rgba(127, 127, 127, .18);
    transition: transform .2s ease, background-color .2s ease;
}

.bc-social:hover {
    color: inherit;
    transform: translateY(-2px);
    background: rgba(127, 127, 127, .32);
}

/* ----- Cột liên kết lấy từ Menu ----- */
.bc-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bc-footer-links > li {
    margin-bottom: 8px;
}

.bc-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.4;
    background: rgba(127, 127, 127, .18);
}

/* ----- Dòng cuối trang: đối tác thanh toán + chứng nhận ----- */
.bc-footer-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.bc-footer-paylabel {
    opacity: .8;
    margin-right: 2px;
}

.bc-pay {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    color: #fff;
    background: #6b7280;
}

/* Màu riêng cho vài bên quen mặt, còn lại dùng màu trung tính ở trên */
.bc-pay--vnpay { background: #005baa; }
.bc-pay--momo { background: #a50064; }
.bc-pay--visa { background: #1a1f71; }
.bc-pay--mastercard { background: #eb001b; }
.bc-pay--jcb { background: #0e4c96; }
.bc-pay--zalopay { background: #0068ff; }
.bc-pay--atm, .bc-pay--internet-banking { background: #0f766e; }

.bc-footer-badges img {
    max-height: 40px;
    width: auto;
}

.bc-footer-cert img {
    max-height: 44px;
}

@media (max-width: 767.98px) {
    .bc-footer-badges {
        justify-content: flex-start;
    }
}
