/* ===== Footer 2 cột (G5 Media + chính sách) ===== */
.footer .footer-company,
.footer .footer-policy { padding-top: 10px; padding-bottom: 10px; font-size: 14px; line-height: 1.6; }
.footer .footer-company h4 { font-size: 15px; font-weight: 700; margin: 12px 0 8px; color: #222; }
.footer .footer-company p { margin: 0 0 4px; }
.footer .footer-company a,
.footer .footer-policy a { color: #333; }
.footer .footer-company a:hover,
.footer .footer-policy a:hover { color: #c8102e; }
.footer .footer-copy { margin-top: 10px !important; color: #777; }
.footer .footer-policy h3 { font-size: 18px; font-weight: 600; margin: 5px 0 10px; color: #333; }
.footer .footer-policy ul { list-style: none; padding: 0; margin: 0; }
.footer .footer-policy li { margin-bottom: 6px; }
.footer .footer-policy li:before { content: "›"; margin-right: 6px; color: #f0b400; font-weight: 700; }

/* ===== Popup đồng ý cookie ===== */
.xls-cc-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 99998; display: none; }
.xls-cc { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: calc(100% - 24px); max-width: 760px;
    max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; color: #1f2937; border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,.25); z-index: 99999; padding: 24px 28px; display: none; font-size: 15px; line-height: 1.55; }
.xls-cc.show, .xls-cc-overlay.show { display: block; }
.xls-cc-head { display: flex; gap: 14px; align-items: flex-start; }
.xls-cc-icon { flex: 0 0 44px; height: 44px; border: 1px solid #f3b8c0; background: #fdf2f4; border-radius: 4px;
    display: flex; align-items: center; justify-content: center; font-size: 22px; }
.xls-cc h2 { font-size: 24px; font-weight: 700; margin: 0 0 6px; color: #1f2937; }
.xls-cc-intro { margin: 0; }
.xls-cc-intro a { color: #c8102e; text-decoration: underline; }
.xls-cc-list { margin: 16px 0 0; border-top: 1px solid #e5e7eb; }
.xls-cc-item { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e5e7eb; }
.xls-cc-item strong { display: block; margin-bottom: 2px; }
.xls-cc-item p { margin: 0; color: #4b5563; font-size: 14px; }
.xls-cc-switch { position: relative; flex: 0 0 52px; height: 28px; margin-top: 4px; }
.xls-cc-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.xls-cc-slider { position: absolute; inset: 0; cursor: pointer; border: 1px solid #9ca3af; border-radius: 3px; background: #fff; transition: .2s; }
.xls-cc-slider:before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff;
    border: 1px solid #9ca3af; border-radius: 2px; transition: .2s; }
.xls-cc-switch input:checked + .xls-cc-slider { background: #c8102e; border-color: #c8102e; }
.xls-cc-switch input:checked + .xls-cc-slider:before { transform: translateX(24px); border-color: #fff; }
.xls-cc-switch input:disabled + .xls-cc-slider { cursor: not-allowed; border-color: #f3b8c0;
    background: repeating-linear-gradient(135deg, #f8c9d0 0 6px, #fbe0e4 6px 12px); }
.xls-cc-switch input:disabled + .xls-cc-slider:before { transform: translateX(24px); border-color: #fff; }
.xls-cc-switch input:focus-visible + .xls-cc-slider { outline: 2px solid #c8102e; outline-offset: 2px; }
.xls-cc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.xls-cc-btn { cursor: pointer; padding: 9px 18px; font-size: 14px; font-weight: 600; border-radius: 3px; border: 1px solid #c8102e;
    background: #fff; color: #c8102e; }
.xls-cc-btn:hover { background: #fdf2f4; }
.xls-cc-btn.primary { background: #c8102e; color: #fff; }
.xls-cc-btn.primary:hover { background: #a50d26; }
@media (max-width: 575px) {
    .xls-cc { padding: 18px 16px; bottom: 10px; }
    .xls-cc h2 { font-size: 20px; }
    .xls-cc-icon { display: none; }
    .xls-cc-btn { flex: 1 1 100%; }
}
