assets/mifan-policy.css — style chung cho 8 trang chính sách + form khiếu nại + badge sản phẩm .mifan-policy{max-width:860px;margin:0 auto;line-height:1.7;font-size:15px}
.mifan-policy h2{font-size:18px;margin:28px 0 10px;padding-bottom:6px;border-bottom:1px solid #eee}
.mifan-policy .policy-meta{color:#777;font-size:13px;margin-bottom:18px}
.mifan-policy .policy-table{width:100%;border-collapse:collapse;margin:12px 0;font-size:14px}
.mifan-policy .policy-table th,.mifan-policy .policy-table td{border:1px solid #e3e3e3;padding:8px 10px;vertical-align:top;text-align:left}
.mifan-policy .policy-table th{background:#f7f7f7}
.mifan-policy .policy-warning{background:#fff7e6;border-left:4px solid #f5a623;padding:10px 14px}
.mifan-policy details{border:1px solid #eee;border-radius:6px;padding:8px 14px;margin:8px 0}
.mifan-policy summary{cursor:pointer;font-weight:600}
.mifan-policy h3.faq-q{font-size:15px;font-weight:600;margin:18px 0 4px;padding-left:12px;border-left:3px solid #ddd}
@media(max-width:600px){.mifan-policy .policy-table{display:block;overflow-x:auto}}
/* link trên nền trắng: xanh đậm, gạch chân (màu vàng của theme chỉ hợp nền tối) */
.mifan-policy a,.mf-policy-badges a,.mf-ticket a,.mf-consent-row a,#mf-terms-modal a{color:#1a56a0!important;text-decoration:underline;text-underline-offset:2px}
.mifan-policy a:hover,.mf-policy-badges a:hover,.mf-ticket a:hover,.mf-consent-row a:hover,#mf-terms-modal a:hover{color:#0f3d75!important}
/* 14/09/2026: link trong nội dung soạn thảo (bài blog, trang, mô tả sản phẩm, mô tả danh mục) — biến --link-color của theme là vàng #FFDB00, không đọc được trên nền trắng */
.rte a:not(.btn):not([class*="button"]),.article-content a:not(.btn),.mf-coldesc a{color:#1a56a0!important;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
.rte a:not(.btn):not([class*="button"]):hover,.article-content a:not(.btn):hover,.mf-coldesc a:hover{color:#0f3d75!important;text-decoration-thickness:2px}
.rte a:not(.btn):focus-visible,.article-content a:not(.btn):focus-visible{outline:2px solid #1a56a0;outline-offset:2px;border-radius:2px}
/* ảnh trong bài: không tràn cột, bo nhẹ, chú thích nhỏ dưới ảnh */
.article-content .rte img{max-width:100%;height:auto;border-radius:6px;display:block;margin:16px auto 6px}
.article-content .rte figure{margin:20px 0}.article-content .rte figcaption{font-size:13px;color:#666;text-align:center;margin-top:4px;line-height:1.45}
.mf-policy-badges .mf-badge a{white-space:nowrap}
.mf-policy-badges .mf-badge{color:#222;line-height:1.5}
/* phân loại sản phẩm đang chọn: theme tô chữ màu vàng trên nền trắng (khó đọc) → chữ đen trên nền vàng nhạt, giữ viền vàng */
.swatch .swatch-element:not(.color) input:checked + label{color:#111!important;background:#fff6c7!important;font-weight:600}
/* đánh giá khách mua (mifan-reviews) */
.mf-reviews{margin:24px 0}
.mf-rv-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px}
.mf-rv-title{font-size:20px;margin:0}
.mf-rv-summary{font-size:15px;color:#333}.mf-rv-avg{font-weight:700}
.mf-star{color:#d9d9d9;font-size:15px}.mf-star.on{color:#f5b301}
.mf-rv-note{font-size:13px;color:#666;margin:6px 0 14px;max-width:78ch}
.mf-rv-item{border-top:1px solid #eee;padding:12px 0}
.mf-rv-meta{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:13px;color:#666;align-items:center}
.mf-rv-src{background:#f3f4f6;border-radius:4px;padding:1px 7px}
.mf-rv-text{margin:6px 0 0;font-size:15px;line-height:1.6;color:#222;max-width:78ch}
.mf-rv-imgs{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}.mf-rv-imgs img{width:72px;height:72px;object-fit:cover;border-radius:6px;border:1px solid #eee}
.mf-rv-more{margin-top:12px;padding:10px 18px;border:1px solid #333;background:#fff;border-radius:6px;cursor:pointer;font-weight:600}
/* ===== Nhóm 1: nút mua (duyệt 10/09/2026) ===== */
.details-pro .buynow{background:#FFDB00!important;color:#111!important;border:1px solid #FFDB00!important;font-weight:800!important;letter-spacing:.04em}
.details-pro .buynow:hover{background:#f2cf00!important}
.details-pro .btn_add_cart.add_to_cart{background:#fff!important;color:#292929!important;border:1px solid #292929!important;font-weight:700}
.details-pro .btn_add_cart.add_to_cart:hover{background:#f5f5f5!important}
.details-pro .product-policises-wrapper{display:none!important} /* 3 icon cũ: trùng thẻ chính sách và dòng lý do mua */
.details-pro .product-hotline{font-size:13px;color:#555}
/* hộp khuyến mãi gọn 1 dòng */
.details-pro .product-promotion{padding:8px 12px!important;border:1px solid #e6e6e6!important;border-radius:6px}
.details-pro .product-promotion__heading{font-size:12px!important;margin-bottom:4px!important}
.details-pro .promotion-box{display:flex;flex-wrap:wrap;gap:2px 16px;list-style:none;padding-left:0;margin:0;font-size:13px}
.details-pro .promotion-box li{margin:0}
/* dòng lý do mua dưới nút */
.mf-trust{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:#222;margin:12px 0 4px;padding-top:10px;border-top:1px dashed #e3e3e3}
.mf-trust span::before{content:"\2713  ";color:#25663F;font-weight:700}
/* điểm đánh giá dưới tên sản phẩm (từ snippet mifan-reviews) */
.mf-rating-line{font-size:13px;color:#444;margin:2px 0 8px} .mf-rating-line .mf-star{font-size:14px} .mf-rating-line a{color:#1a56a0!important;text-decoration:underline}
/* thanh dính mobile: nút giỏ thành icon + nút MUA NGAY vàng */
.sticky-product-prompt .mf-sticky-cart{flex:0 0 44px!important;width:44px;height:42px;padding:0!important;margin-left:8px!important;border:1px solid #292929!important;border-radius:4px;color:#292929!important;background:#fff!important}
.sticky-product-prompt .mf-sticky-buy{flex:0 0 auto;height:42px;padding:0 16px;margin-left:8px;border:0;border-radius:4px;background:#FFDB00;color:#111;font-weight:800;letter-spacing:.03em;cursor:pointer}
.sticky-product-prompt .price{color:#EB3030;font-size:15px}
/* form khiếu nại */
.mf-ticket{display:grid;gap:12px;max-width:640px}
.mf-ticket label{font-weight:600;font-size:14px}
.mf-ticket input,.mf-ticket select,.mf-ticket textarea{width:100%;padding:10px;border:1px solid #ccc;border-radius:6px;font-size:16px}
.mf-ticket .mf-consent{display:flex;gap:10px;align-items:flex-start;font-weight:400;line-height:1.5}
.mf-ticket input[type=checkbox]{width:20px!important;height:20px;flex:0 0 auto;margin:2px 0 0;padding:0}
.mf-ticket .mf-consent span{flex:1 1 auto}
.mf-ticket button{padding:12px 18px;border:0;border-radius:6px;background:#111;color:#fff;font-weight:600;cursor:pointer}
.mf-ticket .mf-result{padding:14px;border-radius:6px;background:#e8f7ec;border:1px solid #b6e2c1}
.mf-ticket .mf-error{padding:14px;border-radius:6px;background:#fdecec;border:1px solid #f3b4b4}
/* badge sản phẩm */
.mf-policy-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}
.mf-policy-badges .mf-badge{border:1px solid #eee;border-radius:8px;padding:10px 12px;font-size:13px}
.mf-policy-badges .mf-badge b{display:block;font-size:13px;margin-bottom:2px}
.mf-policy-badges .mf-badge a{font-size:12px}
@media(max-width:600px){.mf-policy-badges{grid-template-columns:1fr}}
/* consent đăng ký + giỏ hàng */
.mf-consent-row{display:flex;gap:8px;align-items:flex-start;margin:10px 0;font-size:14px}
.mf-consent-row input{margin-top:2px;width:20px;height:20px;flex:0 0 auto}
/* cookie banner */
#mf-cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:9999;background:#fff;border:1px solid #ddd;border-radius:10px;padding:14px 16px;box-shadow:0 6px 24px rgba(0,0,0,.12);font-size:14px;max-width:720px;margin:0 auto}
#mf-cookie .mf-cookie-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
#mf-cookie button{padding:8px 14px;border-radius:6px;border:1px solid #333;background:#fff;cursor:pointer}
#mf-cookie button.primary{background:#111;color:#fff}
/* ==== Điểm review trên thẻ sản phẩm (mifan-card-rating) ==== */
.mf-card-rating{display:inline-flex;align-items:center;gap:4px;font-size:12px;line-height:1.3;color:#555!important;text-decoration:none!important;margin:0 0 4px}
.mf-card-rating .mf-star{font-size:12px}.mf-card-rating b{color:#282828;font-weight:600}.mf-card-rating__n{color:#777}
.product-rating:empty{display:none}
/* ==== Thanh tiến độ miễn phí ship (mifan-freeship-bar) ==== */
.mf-fs-wrap{margin:10px 0}.mf-fs{border:1px solid #e6e6e6;border-radius:6px;padding:10px 12px;font-size:13px;line-height:1.4;background:#fff;color:#282828}
.mf-fs__t{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;margin-bottom:6px}.mf-fs__t b{color:#282828}.mf-fs__amt{white-space:nowrap;color:#666;font-size:12px}
.mf-fs__track{position:relative;height:8px;background:#eee;border-radius:99px;overflow:hidden}.mf-fs__fill{height:100%;background:#FFDB00;border-radius:99px;transition:width .3s}.mf-fs__tick{position:absolute;top:0;bottom:0;width:2px;background:#fff}
.mf-fs.ok .mf-fs__fill{background:#25663F}.mf-fs.ok .mf-fs__t b{color:#25663F}
.mf-fs__tiers{display:flex;justify-content:space-between;font-size:11px;color:#777;margin-top:4px}
.mf-fs__code{margin-top:8px;font-size:12.5px}.mf-fs__cd{border:1px dashed #292929;padding:1px 8px;font-weight:700;border-radius:4px;margin:0 2px}.mf-fs__copy{color:#1a56a0!important;text-decoration:underline!important;margin-left:4px}.mf-fs__code em{color:#777;font-size:11.5px}
.tfoot-popup .mf-fs-wrap{margin:0 0 10px}.modal-right .mf-fs-wrap{margin:8px 0}
@media(max-width:767px){.mf-fs{font-size:12px;padding:8px 10px}.mf-fs__amt{display:none}}
/* ==== Dọn góc dưới mobile (11/09/2026): bỏ AddThis, giữ nút lên đầu trang (trên bong bóng chat), bảng cookie gọn ==== */
.addThis_listSharing .addThis_listing{display:none!important}
@media(max-width:767px){
  #mf-cookie{left:8px;right:8px;bottom:64px;padding:8px 72px 8px 10px;font-size:12px;line-height:1.35;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.14)}
  #mf-cookie .mf-cookie-actions{margin-top:6px;gap:6px}
  #mf-cookie button{padding:6px 10px;font-size:12px;border-radius:5px}
}
/* blog readability 19/09/2026 */
.article-content{font-size:18px;line-height:1.75;color:#3a3a3a;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.article-content .rte>p{margin:0 0 20px}
.article-content h2{font-size:23px;line-height:1.35;font-weight:600;color:#1a1a1a;margin:38px 0 12px}
.article-content h3{font-size:19px;line-height:1.4;font-weight:600;color:#1a1a1a;margin:28px 0 10px}
.article-content strong{font-weight:600;color:#2a2a2a}
.article-content ul,.article-content ol{margin:0 0 22px;padding-left:24px}
.article-content li{margin:0 0 10px;line-height:1.75}
.article-content li:last-child{margin-bottom:0}
.article-content .rte>p:first-child{background:#f7f8fa;border-left:3px solid #1a56a0;padding:14px 16px;border-radius:4px;margin-bottom:26px;color:#333}
@media(max-width:767px){.article-content{font-size:17px;line-height:1.75}.article-content h2{font-size:20px;margin:30px 0 12px}.article-content h3{font-size:18px}}

/* blog table 21/09/2026 */
.article-content table{width:100%;border-collapse:collapse;margin:4px 0 24px;font-size:15.5px;line-height:1.55}
.article-content th,.article-content td{border-bottom:1px solid #e5e7eb;padding:10px 10px;text-align:left;vertical-align:top}
.article-content thead th{background:#f4f6f8;font-weight:600;color:#1a1a1a;border-bottom:2px solid #dbe0e6;white-space:nowrap}
.article-content tbody tr:nth-child(even){background:#fbfbfc}
.article-content td:first-child,.article-content th:first-child{font-weight:600;color:#2a2a2a}
@media(max-width:767px){.article-content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;font-size:14px}.article-content th,.article-content td{padding:8px 8px;min-width:96px}.article-content td:first-child,.article-content th:first-child{min-width:104px}}