/* ============================================================
   Mobile Specs Suite — Merged CSS
   Combines: mfl-style.css + hw-style.css + ab-style.css + mcf-style.css
   Prefixes stay as-is since they are unique per section
   ============================================================ */

/* Shared Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ============================================================
   SHARED VARS — unified
   ============================================================ */
:root {
    --msp-primary:   #0073aa;
    --msp-primary-d: #005f8e;
    --msp-accent:    #f0a500;
    --msp-green:     #27ae60;
    --msp-border:    #e0e0e0;
    --msp-bg:        #f7f9fb;
    --msp-card-bg:   #ffffff;
    --msp-radius:    10px;
    --msp-sidebar-w: 260px;

    /* Homepage widget overrides */
    --hw-primary:   #0073aa;
    --hw-primary-d: #005f8e;
    --hw-accent:    #f0a500;
    --hw-dark:      #0a1628;
    --hw-dark2:     #1a3a5c;
    --hw-border:    #e0e0e0;

    /* Brands overrides */
    --ab-dark:      #0a1628;
}

* { box-sizing: border-box; }

/* ============================================================
   MFL — Filter & Listing
   ============================================================ */
.mfl-page { font-family: 'Inter', 'Segoe UI', sans-serif; max-width: 1280px; margin: 0 auto; padding: 20px 16px 60px; background: var(--msp-bg); min-height: 80vh; }
.mfl-page-header { margin-bottom: 18px; }
.mfl-page-header h1 { font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: #1a1a2e; margin: 0 0 6px; }
.mfl-breadcrumb { font-size: 13px; color: #888; margin: 0; }
.mfl-breadcrumb a { color: var(--msp-primary); text-decoration: none; }
.mfl-breadcrumb a:hover { text-decoration: underline; }

.mfl-top-bar { background: #fff; border: 1px solid var(--msp-border); border-radius: var(--msp-radius); padding: 14px 18px; margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.mfl-sort-group { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.mfl-sort-group label { font-size: 13px; font-weight: 600; color: #555; }
.mfl-sort-select { padding: 7px 12px; border: 1.5px solid var(--msp-border); border-radius: 7px; font-size: 13px; color: #333; background: #fff; cursor: pointer; transition: border-color 0.2s; }
.mfl-sort-select:focus { border-color: var(--msp-primary); outline: none; }

.mfl-search-group { flex: 1 1 300px; max-width: 500px; }
.mfl-search-wrapper { position: relative; width: 100%; }
.mfl-search-input { width: 100%; padding: 10px 40px 10px 16px; border: 1.5px solid var(--msp-border); border-radius: 8px; font-size: 14px; color: #333; background: #fff; transition: all 0.2s; }
.mfl-search-input:focus { border-color: var(--msp-primary); outline: none; box-shadow: 0 0 0 3px rgba(0,115,170,0.1); }
.mfl-search-input::placeholder { color: #999; }
.mfl-search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 16px; pointer-events: none; opacity: 0.5; }

.mfl-search-suggestions { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--msp-border); border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); max-height: 400px; overflow-y: auto; z-index: 1000; display: none; }
.mfl-search-suggestions::-webkit-scrollbar { width: 6px; }
.mfl-search-suggestions::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }

.mfl-search-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #f0f0f0; text-decoration: none; color: inherit; transition: background 0.15s; }
.mfl-search-item:hover { background: #f7f9fb; }
.mfl-search-item:last-child { border-bottom: none; }
.mfl-search-image { flex-shrink: 0; width: 50px; height: 50px; border-radius: 6px; overflow: hidden; background: #f5f5f5; display: flex; align-items: center; justify-content: center; }
.mfl-search-image img { width: 100%; height: 100%; object-fit: cover; }
.mfl-search-no-image { font-size: 24px; }
.mfl-search-info { flex: 1; min-width: 0; }
.mfl-search-title { font-size: 14px; font-weight: 600; color: #1a1a2e; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mfl-search-meta { display: flex; gap: 10px; font-size: 12px; color: #666; }
.mfl-search-brand { color: var(--msp-primary); font-weight: 500; }
.mfl-search-price { font-weight: 600; color: var(--msp-green); }
.mfl-search-loading, .mfl-search-no-result, .mfl-search-error { padding: 20px; text-align: center; font-size: 13px; color: #888; }
.mfl-search-error { color: #e74c3c; }

.mfl-quick-filters { display: flex; gap: 7px; flex-wrap: wrap; }
.mfl-pill { padding: 5px 14px; border: 1.5px solid var(--msp-border); border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; background: #fff; color: #555; transition: all 0.2s; }
.mfl-pill:hover, .mfl-pill.active { background: var(--msp-primary); border-color: var(--msp-primary); color: #fff; }

.mfl-alpha-bar { display: flex; flex-wrap: wrap; gap: 3px; width: 100%; }
.mfl-alpha-btn { padding: 4px 8px; font-size: 12px; font-weight: 600; border: 1.5px solid var(--msp-border); border-radius: 5px; background: #fff; color: #555; cursor: pointer; transition: all 0.15s; min-width: 30px; text-align: center; }
.mfl-alpha-btn:hover, .mfl-alpha-btn.active { background: var(--msp-primary); border-color: var(--msp-primary); color: #fff; }

.mfl-active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; font-size: 13px; color: #555; }
.mfl-tag { display: inline-flex; align-items: center; gap: 5px; background: #e8f4fb; border: 1px solid #b8d9ef; color: var(--msp-primary-d); border-radius: 20px; padding: 3px 10px; font-size: 12px; font-weight: 500; }
.mfl-tag-remove { background: none; border: none; cursor: pointer; color: #888; font-size: 11px; padding: 0; line-height: 1; }
.mfl-tag-remove:hover { color: #c0392b; }
#mfl-reset-all { padding: 5px 14px; background: #fdf0f0; border: 1px solid #f5c6c6; border-radius: 6px; color: #c0392b; font-size: 12px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
#mfl-reset-all:hover { background: #f5c6c6; }

.mfl-layout { display: flex; gap: 22px; align-items: flex-start; }

.mfl-sidebar { width: var(--msp-sidebar-w); flex-shrink: 0; background: #fff; border: 1px solid var(--msp-border); border-radius: var(--msp-radius); padding: 0 0 16px; position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; }
.mfl-sidebar-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 12px; border-bottom: 1px solid var(--msp-border); position: sticky; top: 0; background: #fff; z-index: 2; }
.mfl-sidebar-header h3 { margin: 0; font-size: 15px; font-weight: 700; color: #1a1a2e; }
#mfl-sidebar-reset { font-size: 12px; color: var(--msp-primary); background: none; border: none; cursor: pointer; font-weight: 600; }
#mfl-sidebar-reset:hover { text-decoration: underline; }

.mfl-filter-group { border-bottom: 1px solid #f0f0f0; }
.mfl-filter-title { padding: 11px 16px; font-size: 13px; font-weight: 600; color: #333; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; transition: background 0.15s; }
.mfl-filter-title:hover { background: #f8f8f8; }
.mfl-arrow { font-size: 11px; transition: transform 0.2s; }
.mfl-arrow.up { transform: rotate(180deg); }
.mfl-filter-list { display: none; padding: 4px 16px 10px; max-height: 220px; overflow-y: auto; }
.mfl-filter-list.open { display: block; }

.mfl-checkbox { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; font-size: 13px; color: #444; transition: color 0.15s; }
.mfl-checkbox:hover { color: var(--msp-primary); }
.mfl-checkbox input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--msp-primary); cursor: pointer; flex-shrink: 0; }

.mfl-price-range { padding: 6px 0; }
.mfl-price-inputs { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.mfl-price-inputs input { width: 80px; padding: 6px 8px; border: 1.5px solid var(--msp-border); border-radius: 6px; font-size: 12px; text-align: center; }
.mfl-price-inputs input:focus { border-color: var(--msp-primary); outline: none; }
.mfl-price-inputs span { color: #999; }
#mfl-price-apply { padding: 7px 16px; background: var(--msp-primary); color: #fff; border: none; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
#mfl-price-apply:hover { background: var(--msp-primary-d); }

.mfl-results-col { flex: 1; min-width: 0; }
.mfl-results-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mfl-toggle-sidebar { display: none; padding: 8px 14px; background: var(--msp-primary); color: #fff; border: none; border-radius: 7px; font-size: 13px; font-weight: 600; cursor: pointer; }
.mfl-result-count, .mfl-count-bar { font-size: 13px; color: #888; font-weight: 500; }
.mfl-count-bar { margin-bottom: 14px; }

.mfl-loading-grid { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 80px 0; }
.mfl-loading-grid span { width: 11px; height: 11px; border-radius: 50%; background: var(--msp-primary); animation: mflBounce 0.7s infinite alternate; }
.mfl-loading-grid span:nth-child(2) { animation-delay: 0.2s; }
.mfl-loading-grid span:nth-child(3) { animation-delay: 0.4s; }
@keyframes mflBounce { from { transform: translateY(0); opacity: 0.4; } to { transform: translateY(-12px); opacity: 1; } }

.mfl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.mfl-card { background: var(--msp-card-bg); border: 1px solid var(--msp-border); border-radius: var(--msp-radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.mfl-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.mfl-card-img-wrap { display: block; position: relative; background: #f5f5f5; height: 180px; overflow: hidden; text-decoration: none; }
.mfl-card-img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform 0.3s; }
.mfl-card:hover .mfl-card-img { transform: scale(1.04); }
.mfl-no-img { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 52px; color: #ccc; }

.mfl-badge { position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: 5px; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; }
.mfl-5g { background: #0073aa; color: #fff; }
.mfl-4g { background: #27ae60; color: #fff; }

.mfl-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.mfl-card-brand { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--msp-primary); margin-bottom: 3px; }
.mfl-card-title a { color: #1a1a2e; text-decoration: none; font-size: 18px; }
.mfl-card-title a:hover { color: var(--msp-primary); }
.mfl-card-price { font-size: 14px; font-weight: 700; color: var(--msp-primary); margin-bottom: 8px; }

.mfl-card-actions { display: flex; gap: 8px; margin-top: auto; }
.mfl-btn-view { flex: 1; padding: 8px 0; background: var(--msp-primary); color: #fff; border: none; border-radius: 7px; font-size: 12px; font-weight: 600; text-align: center; text-decoration: none; transition: background 0.2s; }
.mfl-btn-view:hover { background: var(--msp-primary-d); color: #fff; }
.mfl-btn-compare { flex: 1; padding: 8px 0; background: #fff; color: var(--msp-primary); border: 1.5px solid var(--msp-primary); border-radius: 7px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.mfl-btn-compare:hover, .mfl-btn-compare.added { background: var(--msp-primary); color: #fff; }

.mfl-no-results { text-align: center; padding: 60px 20px; color: #888; }
.mfl-no-results-icon { font-size: 52px; margin-bottom: 12px; }
.mfl-no-results h3 { font-size: 18px; color: #555; margin-bottom: 6px; }
.mfl-no-results p { font-size: 14px; }

.mfl-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.mfl-page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border: 1.5px solid var(--msp-border); border-radius: 8px; background: #fff; color: #333; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.2s; cursor: pointer; }
.mfl-page-btn:hover { border-color: var(--msp-primary); color: var(--msp-primary); background: #f0f6fa; }
.mfl-page-btn.active { background: var(--msp-primary); border-color: var(--msp-primary); color: #fff; cursor: default; pointer-events: none; }

.mfl-error { color: #c0392b; text-align: center; padding: 30px; font-size: 14px; background: #fdf0f0; border-radius: 8px; border: 1px solid #f5c6c6; }

/* Compare floating bar (shared across filter + brand) */
#mfl-compare-bar, #bms-compare-bar { position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%); background: #1a1a2e; color: #fff; padding: 14px 24px; border-radius: 12px; display: flex; gap: 14px; align-items: center; font-size: 14px; box-shadow: 0 8px 32px rgba(0,0,0,0.25); transition: bottom 0.3s ease; z-index: 9999; white-space: nowrap; }
#mfl-compare-bar.visible, #bms-compare-bar.visible { bottom: 20px; }
#mfl-go-compare, #bms-go-compare { padding: 9px 20px; background: var(--msp-accent); color: #fff; border: none; border-radius: 7px; font-size: 13px; font-weight: 700; cursor: pointer; }
#mfl-go-compare:hover, #bms-go-compare:hover { opacity: 0.85; }
#mfl-clear-compare, #bms-clear-compare { padding: 9px 14px; background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); border-radius: 7px; font-size: 12px; cursor: pointer; }
#mfl-clear-compare:hover, #bms-clear-compare:hover { background: rgba(255,255,255,0.2); }

.mfl-toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px); background: #333; color: #fff; padding: 10px 22px; border-radius: 8px; font-size: 13px; opacity: 0; transition: all 0.3s; z-index: 10000; pointer-events: none; }
.mfl-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Responsive */
@media (max-width: 900px) {
    .mfl-sidebar { position: fixed; left: -100%; top: 0; height: 100vh; z-index: 999; border-radius: 0; transition: left 0.3s; max-height: 100vh; box-shadow: 4px 0 20px rgba(0,0,0,0.15); }
    .mfl-sidebar.open { left: 0; }
    .mfl-toggle-sidebar { display: flex; align-items: center; gap: 6px; }
    .mfl-layout { display: block; }
}
@media (max-width: 600px) {
    .mfl-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .mfl-top-bar { gap: 10px; }
    .mfl-alpha-bar { gap: 2px; }
    .mfl-alpha-btn { padding: 3px 5px; min-width: 24px; font-size: 11px; }
    .mfl-search-group { flex: 1 1 100%; max-width: 100%; order: -1; }
    .mfl-search-input { font-size: 13px; padding: 9px 36px 9px 14px; }
    .mfl-search-icon { right: 12px; font-size: 14px; }
}

.mfl-card-brand { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--msp-primary); margin-bottom: 3px; }
.mfl-filter-count { display: inline-block; background: var(--msp-primary); color: #fff; font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 10px; margin-left: 4px; }
.mfl-cb-count { color: #aaa; font-weight: 400; font-size: 11px; }

/* ============================================================
   HW — Homepage Widgets
   ============================================================ */
.hw-section { padding: 10px 0; }
.hw-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.hw-section-title { font-size: 22px; font-weight: 700; color: #1a1a2e; margin: 0; }
.hw-section-link { font-size: 13px; color: var(--hw-primary); text-decoration: none; font-weight: 600; }
.hw-section-link:hover { text-decoration: underline; }

.hw-search-wrap { position: relative; width: 100%; max-width: 640px; margin: 0 auto; }
.hw-search-bar { display: flex; align-items: center; background: #fff; border: 2px solid var(--hw-primary); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,115,170,0.12); }
.hw-search-icon { padding: 0 12px 0 16px; color: #999; display: flex; align-items: center; flex-shrink: 0; }
.hw-search-input { flex: 1; border: none; outline: none; padding: 14px 8px; font-size: 15px; color: #333; background: transparent; min-width: 0; }
.hw-search-input::placeholder { color: #aaa; }
.hw-search-btn { background: var(--hw-primary); color: #fff; border: none; padding: 0 28px; height: 52px; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background 0.2s; flex-shrink: 0; }
.hw-search-btn:hover { background: var(--hw-primary-d); }

.hw-suggestions { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius); box-shadow: 0 8px 28px rgba(0,0,0,0.12); z-index: 9999; display: none; overflow: hidden; }
.hw-sug-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-decoration: none; color: #333; border-bottom: 1px solid #f5f5f5; transition: background 0.15s; cursor: pointer; }
.hw-sug-item:hover { background: #f0f6fa; }
.hw-sug-item:last-child { border-bottom: none; }
.hw-sug-img { width: 40px; height: 40px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #f5f5f5; display: flex; align-items: center; justify-content: center; }
.hw-sug-img img { width: 100%; height: 100%; object-fit: contain; }
.hw-sug-ph { font-size: 20px; }
.hw-sug-name { font-size: 13px; font-weight: 600; color: #1a1a2e; }
.hw-sug-price { font-size: 12px; color: var(--hw-primary); font-weight: 500; }
.hw-sug-none { padding: 12px 16px; font-size: 13px; color: #888; }
.hw-sug-all { display: block; padding: 10px 14px; font-size: 13px; color: var(--hw-primary); font-weight: 600; text-decoration: none; background: #f8fbff; border-top: 1px solid #e8f0f8; }
.hw-sug-all:hover { background: #e8f4fb; }

.hw-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.hw-card { background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.hw-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.hw-card-img-wrap { display: block; position: relative; background: #f7f7f7; height: 170px; overflow: hidden; text-decoration: none; }
.hw-card-img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform 0.3s; display: block; }
.hw-card:hover .hw-card-img { transform: scale(1.05); }
.hw-no-img { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 48px; color: #ddd; }

.hw-badge { position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: 5px; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; }
.hw-new { background: #0F6E56; color: #9FE1CB; }
.hw-5g  { background: #185FA5; color: #B5D4F4; }
.hw-4g  { background: #27ae60; color: #fff; }

.hw-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.hw-card-brand { font-size: 10px; font-weight: 700; color: var(--hw-primary); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 3px; }
.hw-card-title { font-size: 13px; font-weight: 600; margin: 0 0 6px; line-height: 1.35; }
.hw-card-title a { color: #1a1a2e; text-decoration: none; }
.hw-card-title a:hover { color: var(--hw-primary); }
.hw-card-price { font-size: 14px; font-weight: 700; color: var(--hw-primary); margin-bottom: 8px; }

.hw-card-actions { display: flex; gap: 7px; margin-top: auto; }
.hw-btn-view { flex: 1; padding: 8px 0; background: var(--hw-primary); color: #fff; border: none; border-radius: 7px; font-size: 12px; font-weight: 600; text-align: center; text-decoration: none; display: block; transition: background 0.2s; cursor: pointer; }
.hw-btn-view:hover { background: var(--hw-primary-d); color: #fff; }
.hw-btn-compare { flex: 1; padding: 8px 0; background: #fff; color: var(--hw-primary); border: 1.5px solid var(--hw-primary); border-radius: 7px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.hw-btn-compare:hover, .hw-btn-compare.added { background: var(--hw-primary); color: #fff; }

/* Compare Section */
.hw-compare-section { background: var(--hw-dark); border-radius: var(--hw-radius); padding: 36px 28px; }
.hw-compare-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.hw-compare-title { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.hw-compare-desc  { font-size: 14px; color: #8899aa; margin-bottom: 28px; }
.hw-compare-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.hw-cslot { background: var(--hw-dark2); border: 1.5px dashed #2a4a6c; border-radius: var(--hw-radius); padding: 20px 10px; cursor: pointer; transition: border-color 0.2s, background 0.2s; min-height: 100px; display: flex; align-items: center; justify-content: center; }
.hw-cslot:hover { border-color: var(--hw-primary); background: #0d2240; }
.hw-cslot.hw-filled { border-style: solid; border-color: var(--hw-primary); background: #0d2240; }
.hw-cslot-empty { text-align: center; }
.hw-cslot-plus  { font-size: 28px; color: var(--hw-primary); line-height: 1; margin-bottom: 6px; }
.hw-cslot-label { font-size: 11px; color: #5577aa; }
.hw-cslot-filled { text-align: center; position: relative; width: 100%; }
.hw-cslot-img    { font-size: 32px; margin-bottom: 6px; }
.hw-cslot-name   { font-size: 11px; color: #7ab8f5; font-weight: 500; line-height: 1.3; }
.hw-cslot-remove { position: absolute; top: -8px; right: -4px; background: #c0392b; color: #fff; border: none; border-radius: 50%; width: 18px; height: 18px; font-size: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; }

.hw-compare-search-wrap { background: #0d2240; border: 1px solid #2a4a6c; border-radius: var(--hw-radius); padding: 12px; margin-bottom: 14px; position: relative; text-align: left; }
#hw-compare-search-input { width: 100%; background: #1a3a5c; border: 1px solid #2a4a6c; border-radius: 6px; padding: 10px 14px; font-size: 13px; color: #fff; outline: none; }
#hw-compare-search-input::placeholder { color: #5577aa; }
#hw-compare-search-input:focus { border-color: var(--hw-primary); }
.hw-compare-suggestions { background: #fff; border-radius: 6px; margin-top: 8px; overflow: hidden; display: none; }
.hw-compare-pick { padding: 10px 14px; cursor: pointer; border-bottom: 1px solid #f5f5f5; transition: background 0.15s; display: flex; align-items: center; gap: 10px; }
.hw-compare-pick:hover { background: #f0f6fa; }
.hw-compare-pick:last-child { border-bottom: none; }
.hw-compare-pick .hw-sug-name { color: #1a1a2e; font-size: 13px; font-weight: 600; }
.hw-compare-pick .hw-sug-price { color: var(--hw-primary); font-size: 12px; }

.hw-compare-btn { width: 100%; background: var(--hw-primary); color: #fff; border: none; border-radius: 8px; padding: 14px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.2s, opacity 0.2s; }
.hw-compare-btn:hover:not(:disabled) { background: var(--hw-primary-d); }
.hw-compare-btn:disabled { opacity: 0.5; cursor: default; }

/* News & Blog */
.hw-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.hw-news-card { background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.hw-news-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.hw-news-img-wrap { display: block; height: 160px; overflow: hidden; background: #f5f5f5; }
.hw-news-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.hw-news-card:hover .hw-news-img { transform: scale(1.04); }
.hw-news-no-img { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 48px; color: #ddd; }
.hw-news-body { padding: 14px; }
.hw-news-tag { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 12px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.hw-news-title { font-size: 14px; font-weight: 600; margin: 0 0 8px; line-height: 1.4; }
.hw-news-title a { color: #1a1a2e; text-decoration: none; }
.hw-news-title a:hover { color: var(--hw-primary); }
.hw-news-meta { font-size: 11px; color: #999; }

.hw-search-results-page { max-width: 1140px; margin: 0 auto; padding: 28px 16px; }
.hw-srp-header { margin-bottom: 28px; }
.hw-srp-header h1 { font-size: 24px; font-weight: 700; color: #1a1a2e; margin-bottom: 16px; }
.hw-results-count { font-size: 13px; color: #888; margin-bottom: 16px; font-weight: 500; }
.hw-results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.hw-no-results { text-align: center; padding: 60px 20px; color: #888; font-size: 15px; }

@media (max-width: 600px) {
    .hw-cards-grid  { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hw-news-grid   { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hw-results-grid{ grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hw-compare-slots { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .hw-cslot { padding: 14px 6px; min-height: 80px; }
    .hw-compare-section { padding: 24px 16px; }
    .hw-search-btn { padding: 0 16px; font-size: 13px; }
}

/* Admin shortcode cards */
.hw-admin-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.hw-admin-logo { display: flex; align-items: center; }
.hw-admin-logo h1 { margin: 0; font-size: 20px; }
.hw-admin-logo p { margin: 0; font-size: 13px; color: #888; }
.hw-admin-stats { display: flex; gap: 10px; }
.hw-astat { background: #f4f4f4; padding: 8px 16px; border-radius: 8px; text-align: center; font-size: 12px; color: #555; }
.hw-astat span { display: block; font-size: 22px; font-weight: 700; color: #0073aa; }
.hw-sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-bottom: 28px; }
.hw-sc-card { display: flex; gap: 14px; background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius); padding: 18px; }
.hw-sc-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: flex-shrink: 0; }
.hw-sc-content { flex: 1; min-width: 0; }
.hw-sc-badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; background: #e8f4fb; color: #0073aa; border-radius: 12px; margin-bottom: 6px; }
.hw-badge-green { background: #e8f8ef; color: #1e7e34; }
.hw-badge-orange { background: #fef3e2; color: #e67e00; }
.hw-badge-purple { background: #f3e8ff; color: #7c3aed; }
.hw-sc-content h2 { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: #1a1a2e; }
.hw-sc-content p { font-size: 13px; color: #666; margin: 0 0 10px; }
.hw-sc-codes { margin-bottom: 10px; }
.hw-sc-row { margin-bottom: 8px; }
.hw-sc-row label { display: block; font-size: 11px; font-weight: 600; color: #888; margin-bottom: 4px; text-transform: uppercase; }
.hw-sc-box { display: flex; align-items: center; gap: 8px; background: #f8f8f8; border: 1px solid #eee; border-radius: 6px; padding: 8px 12px; }
.hw-sc-box code { font-size: 13px; flex: 1; }
.hw-copy { padding: 5px 12px; background: #0073aa; color: #fff; border: none; border-radius: 5px; font-size: 11px; cursor: pointer; }
.hw-copy:hover { background: #005f8e; }
.hw-sc-links { display: flex; gap: 10px; flex-wrap: wrap; }
.hw-sc-link-btn { display: inline-block; padding: 7px 14px; background: #0073aa; color: #fff; text-decoration: none; border-radius: 6px; font-size: 12px; font-weight: 600; }
.hw-sc-link-btn:hover { background: #005f8e; color: #fff; }
.hw-link-grey { background: #777; }
.hw-link-grey:hover { background: #555; color: #fff; }
.hw-howto-card { background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius); padding: 24px; margin-bottom: 30px; }
.hw-howto-steps { display: flex; flex-wrap: wrap; gap: 18px; }
.hw-howto-step { display: flex; gap: 12px; flex: 1; min-width: 200px; }
.hw-howto-num { width: 28px; height: 28px; border-radius: 50%; background: #0073aa; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.hw-howto-step strong { font-size: 14px; }
.hw-howto-step p { margin: 2px 0 0; font-size: 12px; color: #888; }

/* ============================================================
   AB — All Brands
   ============================================================ */
.ab-page { max-width: 1140px; margin: 0 auto; padding: 28px 16px 60px; }
.ab-header { background: var(--ab-dark); border-radius: 14px; padding: 40px 32px; text-align: center; margin-bottom: 28px; }
.ab-header h1 { font-size: 30px; font-weight: 700; color: #fff; margin: 0 0 10px; }
.ab-header p { font-size: 15px; color: #8899aa; margin: 0 0 20px; }
.ab-header-stats { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.ab-header-stats span { font-size: 13px; font-weight: 600; color: #7ab8f5; background: #1a3a5c; padding: 6px 16px; border-radius: 20px; }

.ab-alpha-bar { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 20px; background: #fff; border: 1px solid var(--msp-border); border-radius: var(--msp-radius); padding: 12px 16px; }
.ab-alpha-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 8px; font-size: 12px; font-weight: 600; border: 1.5px solid var(--msp-border); border-radius: 6px; background: #fff; color: #555; text-decoration: none; transition: all 0.15s; }
.ab-alpha-btn:hover, .ab-alpha-btn.active { background: #0073aa; border-color: #0073aa; color: #fff; }
.ab-alpha-btn.disabled { color: #ccc; border-color: #f0f0f0; cursor: default; pointer-events: none; }

.ab-count { font-size: 13px; color: #888; margin-bottom: 16px; font-weight: 500; }
.ab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.ab-card { background: #fff; border: 1px solid var(--msp-border); border-radius: var(--msp-radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; display: flex; flex-direction: column; }
.ab-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); border-color: #0073aa; }
.ab-card-logo { background: #f7f9fb; height: 120px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #f0f0f0; padding: 16px; }
.ab-logo-img { max-width: 120px; max-height: 80px; object-fit: contain; }
.ab-logo-placeholder { width: 64px; height: 64px; background: #0073aa; color: #fff; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.ab-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.ab-brand-name { font-size: 17px; font-weight: 700; color: #1a1a2e; margin: 0 0 12px; }
.ab-brand-stats { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #f5f5f5; }
.ab-stat-num { font-size: 13px; font-weight: 700; color: #0073aa; display: block; }
.ab-stat-label { font-size: 10px; color: #aaa; text-transform: uppercase; letter-spacing: 0.5px; }
.ab-latest { font-size: 12px; color: #888; margin-bottom: 14px; line-height: 1.5; flex: 1; }
.ab-latest span { text-transform: uppercase; font-size: 10px; letter-spacing: 0.5px; color: #bbb; display: block; margin-bottom: 2px; }
.ab-latest strong { color: #444; font-weight: 600; }
.ab-view-btn { display: block; padding: 10px 14px; background: #0073aa; color: #fff; border-radius: 8px; font-size: 13px; font-weight: 600; text-align: center; text-decoration: none; transition: background 0.2s; margin-top: auto; }
.ab-view-btn:hover { background: #005f8e; color: #fff; }

@media (max-width: 600px) {
    .ab-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ab-header { padding: 28px 16px; }
    .ab-header h1 { font-size: 22px; }
    .ab-alpha-bar { padding: 10px 12px; gap: 4px; }
    .ab-alpha-btn { min-width: 26px; height: 26px; font-size: 11px; }
}

/* Admin brands */
.ab-admin-wrap { max-width: 1000px; }
.ab-admin-sub { font-size: 14px; color: #666; }
.ab-admin-stats { display: flex; gap: 12px; margin-bottom: 20px; }
.ab-admin-stats .ab-astat { background: #fff; border: 1px solid var(--msp-border); padding: 16px; border-radius: 8px; flex: 1; text-align: center; }
.ab-admin-stats .ab-astat span { font-size: 28px; font-weight: 700; color: #0073aa; display: block; margin-bottom: 4px; }
.ab-admin-card { background: #fff; border: 1px solid var(--msp-border); border-radius: var(--msp-radius); padding: 20px; margin-bottom: 16px; }
.ab-admin-card h2 { font-size: 18px; margin: 0 0 10px; color: #1a1a2e; }
.ab-sc-row { margin-bottom: 10px; }
.ab-sc-row label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 4px; }
.ab-sc-box { display: flex; align-items: center; gap: 8px; background: #f8f8f8; border: 1px solid #eee; border-radius: 6px; padding: 8px 12px; }
.ab-sc-box code { flex: 1; font-size: 13px; }
.ab-btn { padding: 6px 14px; background: #0073aa; color: #fff; border: none; border-radius: 6px; font-size: 12px; cursor: pointer; text-decoration: none; font-weight: 600; }
.ab-btn:hover { color: #fff; background: #005f8e; }
.ab-brands-table { border: 1px solid var(--msp-border); border-radius: 6px; overflow: hidden; }
.ab-table-head { display: grid; grid-template-columns: 2fr 1fr 3fr 1.5fr; gap: 10px; background: #f0f6fa; padding: 10px 14px; font-size: 12px; font-weight: 700; color: #555; text-transform: uppercase; }
.ab-table-row { display: grid; grid-template-columns: 2fr 1fr 3fr 1.5fr; gap: 10px; padding: 10px 14px; border-top: 1px solid #f0f0f0; align-items: center; font-size: 13px; }
.ab-t-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-btn-sm { padding: 4px 10px; font-size: 11px; background: #0073aa; color: #fff; border: none; border-radius: 5px; cursor: pointer; text-decoration: none; }
.ab-btn-sm:hover { color: #fff; }
.ab-btn-grey { background: #888; }
.ab-btn-copy { background: #27ae60; }
.ab-btn-copy:hover { background: #1e7e34; }

/* ============================================================
   MCF — Compare
   ============================================================ */
.mcf-container, .mcf-seo-page { font-family: 'Inter', 'Segoe UI', sans-serif; max-width: 1140px; margin: 0 auto; padding: 24px 16px; }
.mcf-seo-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid var(--msp-border); }
.mcf-seo-header h1 { font-size: clamp(20px, 3vw, 30px); font-weight: 700; color: #1a1a2e; margin: 0 0 10px; line-height: 1.3; }
.mcf-seo-desc { font-size: 15px; color: #555; margin: 0 0 18px; }

.mcf-share-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.mcf-share-bar input { flex: 1; min-width: 240px; padding: 9px 14px; border: 2px solid var(--msp-border); border-radius: 8px; font-size: 13px; color: #333; background: #f8f8f8; }
.mcf-share-bar button { padding: 9px 20px; background: #0073aa; color: #fff; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.mcf-share-bar button:hover { background: var(--msp-primary-d); }
.mcf-table thead .mcf-thumb { display: block; width: 100px; height: 120px; object-fit: contain; margin: 0 10px; }

#mcf-url-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; background: #f0f6fa; border: 2px solid #d0e8f5; border-radius: var(--msp-radius); padding: 12px 16px; margin-bottom: 20px; }
.mcf-url-label { font-size: 13px; font-weight: 600; color: #0073aa; white-space: nowrap; }
#mcf-share-input { flex: 1; min-width: 200px; padding: 8px 12px; border: 1.5px solid #b8d9ef; border-radius: 6px; font-size: 13px; color: #333; background: #fff; }
#mcf-copy-btn { padding: 8px 18px; background: #0073aa; color: #fff; border: none; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; }
#mcf-copy-btn:hover { background: var(--msp-primary-d); }
#mcf-copy-btn.copied { background: #27ae60; }
#mcf-open-btn { padding: 8px 18px; background: var(--msp-accent); color: #fff; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none; }
#mcf-open-btn:hover { opacity: 0.85; }

.mcf-selects-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.mcf-dropdown { flex: 1; min-width: 200px; }
.mcf-dropdown label { display: block; font-weight: 600; font-size: 12px; margin-bottom: 7px; color: #444; text-transform: uppercase; letter-spacing: 0.6px; }
.mcf-optional { font-weight: 400; color: #999; text-transform: none; letter-spacing: 0; }
.mcf-dropdown .select2-container { width: 100% !important; }
.select2-container--default .select2-selection--single { height: 44px; border: 2px solid var(--msp-border); border-radius: 8px; display: flex; align-items: center; padding: 0 12px; transition: border-color 0.2s, box-shadow 0.2s; }
.select2-container--default .select2-selection--single:hover { border-color: #0073aa; }
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open  .select2-selection--single { border-color: #0073aa; box-shadow: 0 0 0 3px rgba(0,115,170,0.12); outline: none; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; color: #333; padding-left: 0; font-size: 14px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; right: 10px; }
.select2-dropdown { border: 2px solid #0073aa; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background-color: #0073aa; }
.select2-search--dropdown .select2-search__field { border: 1.5px solid var(--msp-border); border-radius: 6px; padding: 7px 10px; font-size: 13px; }

.mcf-loading { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 50px 0; }
.mcf-loading span { width: 11px; height: 11px; border-radius: 50%; background: #0073aa; animation: mcfBounce 0.7s infinite alternate; }
.mcf-loading span:nth-child(2) { animation-delay: 0.2s; }
.mcf-loading span:nth-child(3) { animation-delay: 0.4s; }
@keyframes mcfBounce { from { transform: translateY(0); opacity: 0.4; } to { transform: translateY(-12px); opacity: 1; } }

.mcf-error { color: #c0392b; text-align: center; padding: 20px; font-size: 14px; background: #fdf0f0; border-radius: 8px; border: 1px solid #f5c6c6; }

.mcf-table-wrapper { overflow-x: auto; border-radius: var(--msp-radius); box-shadow: 0 4px 24px rgba(0,0,0,0.08); border: 1px solid var(--msp-border); }
.mcf-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mcf-table thead tr th { background: #0073aa; color: #fff; padding: 15px 18px; text-align: left; font-size: 14px; font-weight: 600; white-space: nowrap; position: sticky; top: 0; z-index: 2; }
.mcf-table thead tr th.mcf-spec-col { background: var(--msp-primary-d); width: 165px; min-width: 130px; }
.mcf-group-row td { background: #f0f6fa; color: #0073aa; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; padding: 10px 18px; border-top: 2px solid #d0e8f5; }
.mcf-spec-row td { padding: 11px 18px; border-bottom: 1px solid #f2f2f2; vertical-align: top; color: #333; line-height: 1.55; }
.mcf-spec-row:last-child td { border-bottom: none; }
.mcf-spec-label { font-weight: 500; color: #555 !important; background: #fafafa !important; white-space: nowrap; }
.mcf-spec-row:nth-child(even) td { background: #fafcff; }
.mcf-spec-row.mcf-diff td:not(.mcf-spec-label) { background: #fff8e1; font-weight: 600; color: #b7580a; }
.mcf-spec-row.mcf-diff .mcf-spec-label { background: #fff3cd !important; color: #7a4000 !important; }
.mcf-spec-row:hover td { background: #eaf5fb !important; }

.mcf-change-section { margin-top: 48px; padding-top: 32px; border-top: 2px solid var(--msp-border); }
.mcf-change-section h2 { font-size: 20px; font-weight: 700; color: #1a1a2e; margin-bottom: 20px; }

@media (max-width: 640px) {
    .mcf-selects-row  { flex-direction: column; }
    .mcf-seo-header h1 { font-size: 18px; }
    .mcf-table        { font-size: 12px; }
    .mcf-table thead tr th, .mcf-spec-row td, .mcf-group-row td { padding: 9px 10px; }
    #mcf-url-bar      { flex-direction: column; align-items: stretch; }
    #mcf-copy-btn, #mcf-open-btn { text-align: center; }
}

/* ============================================================
   BMS — Brand Shortcode admin
   ============================================================ */
.bms-admin-wrap { max-width: 1000px; }
.bms-admin-subtitle { font-size: 14px; color: #666; }
.bms-stats-row { display: flex; gap: 12px; margin: 16px 0; }
.bms-stat-box { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 16px 24px; text-align: center; flex: 1; }
.bms-stat-num { display: block; font-size: 28px; font-weight: 700; color: #0073aa; }
.bms-stat-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.bms-admin-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 20px; margin-bottom: 16px; }
.bms-admin-card h2 { font-size: 16px; margin: 0 0 10px; }
.bms-card-desc { font-size: 13px; color: #666; margin-bottom: 14px; }
.bms-steps { display: flex; gap: 18px; }
.bms-step { display: flex; gap: 12px; flex: 1; }
.bms-step-num { width: 32px; height: 32px; border-radius: 50%; background: #0073aa; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.bms-builder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.bms-builder-field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.bms-builder-field input[type="text"], .bms-builder-field select { width: 100%; padding: 8px 10px; border: 1.5px solid #ddd; border-radius: 6px; font-size: 13px; }
.bms-builder-field small { font-size: 11px; color: #999; }
.bms-shortcode-output label { font-size: 12px; font-weight: 600; display: block; margin-bottom: 6px; }
.bms-shortcode-box { display: flex; align-items: center; gap: 10px; background: #f8f8f8; border: 1px solid #eee; border-radius: 6px; padding: 10px 14px; }
.bms-shortcode-box code { font-size: 14px; flex: 1; }
.bms-copy-btn { padding: 6px 16px; background: #0073aa; color: #fff; border: none; border-radius: 6px; font-size: 12px; cursor: pointer; font-weight: 600; }
.bms-copy-btn:hover { background: #005f8e; }
.bms-brands-grid { display: flex; flex-direction: column; gap: 8px; }
.bms-brand-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f8f8f8; border-radius: 6px; border: 1px solid #eee; flex-wrap: wrap; }
.bms-brand-info { flex: 1; min-width: 120px; }
.bms-brand-info strong { font-size: 14px; }
.bms-brand-count { display: block; font-size: 11px; color: #888; }
.bms-brand-sc code { font-size: 13px; background: #fff; padding: 3px 8px; border-radius: 4px; border: 1px solid #e8e8e8; }
.bms-brand-actions { display: flex; gap: 6px; align-items: center; }
.bms-copy-small, .bms-view-small { padding: 4px 10px; border: none; border-radius: 5px; font-size: 11px; cursor: pointer; text-decoration: none; }
.bms-copy-small { background: #0073aa; color: #fff; }
.bms-copy-small:hover { background: #005f8e; color: #fff; }
.bms-view-small { background: #eee; color: #444; }
.bms-view-small:hover { background: #ddd; color: #333; }

.bms-ref-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.bms-ref-table th, .bms-ref-table td { padding: 8px 12px; border: 1px solid #e8e8e8; text-align: left; font-size: 13px; }
.bms-ref-table th { background: #f0f6fa; font-weight: 600; color: #555; }
.bms-ref-table td code { background: #f8f8f8; padding: 1px 5px; border-radius: 3px; font-size: 12px; }