/* Completely scoped: keeps layouts independent of WordPress themes and Classic Editor markup. */
.dbw-widgets { --dbw-navy:#142c4a; --dbw-teal:#087e78; --dbw-orange:#d36514; --dbw-blue:#255da0; --dbw-border:#d9e1e9; --dbw-surface:#fff; color:var(--dbw-navy); max-width:100%; margin:24px 0; font-family:inherit; font-size:15px; line-height:1.55; box-sizing:border-box; }
.dbw-widgets *, .dbw-widgets *:before, .dbw-widgets *:after { box-sizing:border-box; }
.dbw-widgets .dbw-badge { display:inline-block; padding:4px 9px; font-weight:800; font-size:11px; line-height:1.4; letter-spacing:.02em; color:#fff; background:var(--dbw-blue); border-radius:5px; }
.dbw-widgets .dbw-badge--value { background:#0a9b80; }
.dbw-widgets .dbw-thumb { display:inline-flex; align-items:center; justify-content:center; vertical-align:middle; flex:0 0 auto; width:92px; height:92px; max-width:100%; background:#fff; border-radius:9px; overflow:hidden; }
.dbw-widgets .dbw-thumb-img, .dbw-widgets .dbw-thumb img { display:block!important; width:88px!important; max-width:88px!important; height:88px!important; max-height:88px!important; object-fit:contain!important; border:none!important; box-shadow:none!important; border-radius:0!important; margin:0!important; }
.dbw-widgets .dbw-no-image { display:flex; align-items:center; justify-content:center; width:84px; min-height:68px; border:1px dashed #cad3dd; border-radius:6px; color:#66778a; font-size:11px; text-align:center; line-height:1.35; }
.dbw-widgets h3 { color:var(--dbw-navy); margin:5px 0 8px; font-size:1.1rem; line-height:1.35; font-weight:750; }
.dbw-widgets p { margin:6px 0 10px; font-size:inherit; line-height:1.55; }
.dbw-widgets .dbw-best-for { color:#39506c; }
.dbw-widgets .dbw-buy { display:inline-flex; align-items:center; justify-content:center; gap:6px; white-space:nowrap; text-align:center; border-radius:7px; padding:9px 12px; line-height:1.25; font-size:13px; font-weight:800; text-decoration:none!important; color:#fff!important; background:var(--dbw-orange); border:1px solid #b45310; box-shadow:0 2px 3px rgba(0,0,0,.08); transition:background-color .15s, transform .15s; }
.dbw-widgets .dbw-buy:hover,.dbw-widgets .dbw-buy:focus { background:#aa4c08; color:#fff!important; transform:translateY(-1px); }
.dbw-widgets .dbw-buy:focus-visible { outline:3px solid #168bbb; outline-offset:3px; }
.dbw-widgets .dbw-disclosure { font-size:11px; color:#65758a; line-height:1.5; margin:11px 0 0; }
.dbw-widgets .dbw-pros { list-style:none!important; padding:0!important; margin:12px 0!important; }
.dbw-widgets .dbw-pros li { margin:4px 0!important; padding:0 0 0 22px!important; position:relative; }
.dbw-widgets .dbw-pros li:before { content:'✓'; position:absolute; left:0; color:#118a69; font-weight:900; }
.dbw-widgets .dbw-cons { margin:8px 0; padding:9px 11px; border-radius:7px; font-size:13px; background:#fff7e9; color:#6a4a2b; }
/* Comparison grid, AAWP-like appearance but original layout. */
.dbw-widgets .dbw-scroll-label { display:none; color:#536578; margin:0 0 8px; font-size:12px; }
.dbw-widgets .dbw-comparison-scroll,.dbw-widgets .dbw-compact-table-wrap { width:100%; max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--dbw-border); border-radius:10px; }
.dbw-widgets .dbw-comparison-scroll:focus-visible,.dbw-widgets .dbw-compact-table-wrap:focus-visible { outline:2px solid #15829d; }
.dbw-widgets table.dbw-compare-table,.dbw-widgets table.dbw-compact-table { width:100%; border:0; border-collapse:separate; border-spacing:0; table-layout:fixed; padding:0; background:#fff; margin:0; color:var(--dbw-navy); font-family:inherit; font-size:13px; }
.dbw-widgets .dbw-compare-table caption { position:static; caption-side:top; text-align:left; font-size:18px; font-weight:800; line-height:1.3; color:var(--dbw-navy); background:#f5f8fb; padding:12px 16px; }
.dbw-widgets .dbw-compare-table th,.dbw-widgets .dbw-compare-table td,.dbw-widgets .dbw-compact-table th,.dbw-widgets .dbw-compact-table td { padding:10px; border:0; border-right:1px solid #e0e5ea; border-bottom:1px solid #e0e5ea; line-height:1.45; vertical-align:middle; word-break:normal; overflow-wrap:break-word; }
.dbw-widgets .dbw-compare-table th:last-child,.dbw-widgets .dbw-compare-table td:last-child,.dbw-widgets .dbw-compact-table th:last-child,.dbw-widgets .dbw-compact-table td:last-child { border-right:0; }
.dbw-widgets .dbw-compare-table tbody tr:last-child th,.dbw-widgets .dbw-compare-table tbody tr:last-child td,.dbw-widgets .dbw-compact-table tbody tr:last-child td { border-bottom:0; }
.dbw-widgets .dbw-compare-table th:first-child { width:170px; background:#f1f4f7; font-weight:800; text-align:left; }
.dbw-widgets .dbw-compare-table thead .dbw-product-header { background:#f4f8fd; padding:12px 8px 14px; text-align:center; font-size:13px; font-weight:700; border-top:4px solid var(--dbw-blue); }
.dbw-widgets .dbw-compare-table thead .dbw-product-header:nth-child(3n) { background:#effbf8; border-top-color:#0a9b80; }
.dbw-widgets .dbw-compare-table .dbw-product-header .dbw-badge { display:block; margin:-12px -8px 8px; padding:7px; border-radius:0; }
.dbw-widgets .dbw-compare-table .dbw-product-header .dbw-thumb { display:flex; margin:0 auto 5px; }
.dbw-widgets .dbw-compare-table .dbw-compare-name { display:block; font-weight:800; font-size:13px; line-height:1.3; }
.dbw-widgets .dbw-compare-table tbody td { text-align:center; background:#f9fbfe; }
.dbw-widgets .dbw-compare-table tbody td:nth-child(3n) { background:#f0faf7; }
.dbw-widgets .dbw-compare-table tbody tr:nth-child(even) td { filter:brightness(.987); }
.dbw-widgets .dbw-compare-table .dbw-compare-cta-row td { padding:12px 8px; }
.dbw-widgets .dbw-not-listed { color:#8190a3; }
/* Horizontal boxes */
.dbw-widgets .dbw-product-box { display:grid; grid-template-columns:125px minmax(0,1fr); gap:19px; padding:19px; border:1px solid var(--dbw-border); border-radius:11px; background:#fff; box-shadow:0 3px 11px rgba(9,30,56,.05); }
.dbw-widgets .dbw-product-box .dbw-box-image { padding-top:5px; }
.dbw-widgets .dbw-product-box .dbw-box-content { min-width:0; }
.dbw-widgets .dbw-product-box .dbw-action { margin-top:14px; }
/* Grid */
.dbw-widgets .dbw-product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.dbw-widgets .dbw-product-tile { display:flex; flex-direction:column; align-items:flex-start; min-width:0; gap:8px; position:relative; border:1px solid var(--dbw-border); border-radius:10px; padding:15px; background:#fff; box-shadow:0 3px 9px rgba(9,30,56,.05); }
.dbw-widgets .dbw-product-tile>.dbw-thumb { width:100%; height:107px; }
.dbw-widgets .dbw-product-tile>.dbw-thumb .dbw-thumb-img { width:92px!important; height:92px!important; max-width:92px!important; max-height:92px!important; }
.dbw-widgets .dbw-product-tile h3 { font-size:15px; margin:0; }
.dbw-widgets .dbw-product-tile .dbw-tile-desc { font-size:13px; color:#4b5c73; flex:1; }
.dbw-widgets .dbw-product-tile .dbw-buy { width:100%; margin-top:auto; }
/* Compact table */
.dbw-widgets .dbw-compact-table thead th { background:#eff3f8; font-weight:800; text-align:left; }
.dbw-widgets .dbw-compact-table .dbw-table-product { display:flex; gap:12px; align-items:center; }
.dbw-widgets .dbw-compact-table .dbw-table-product>span:last-child { display:flex; flex-direction:column; align-items:flex-start; gap:5px; }
.dbw-widgets .dbw-compact-table .dbw-thumb { width:63px; height:63px; }
.dbw-widgets .dbw-compact-table .dbw-thumb img { width:58px!important; height:58px!important; max-width:58px!important; max-height:58px!important; }
/* Lists */
.dbw-widgets .dbw-product-list { display:grid; gap:12px; }
.dbw-widgets .dbw-list-item { display:grid; grid-template-columns:100px minmax(0,1fr) auto; gap:16px; align-items:start; padding:16px; background:#fff; border:1px solid var(--dbw-border); border-radius:11px; }
.dbw-widgets .dbw-list-copy { min-width:0; }
.dbw-widgets .dbw-list-action { align-self:center; }
@media(max-width:800px){
 .dbw-widgets .dbw-scroll-label { display:block; }
 .dbw-widgets table.dbw-compare-table { min-width:720px; table-layout:auto; }
 .dbw-widgets table.dbw-compare-table th:first-child { min-width:145px; }
 .dbw-widgets table.dbw-compare-table thead .dbw-product-header { min-width:150px; }
 .dbw-widgets .dbw-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .dbw-widgets .dbw-list-item { grid-template-columns:75px minmax(0,1fr); }
 .dbw-widgets .dbw-list-item .dbw-thumb { width:73px; height:73px; }
 .dbw-widgets .dbw-list-item .dbw-thumb img { width:70px!important; height:70px!important; max-width:70px!important; max-height:70px!important; }
 .dbw-widgets .dbw-list-action { grid-column:2; justify-self:start; }
 .dbw-widgets .dbw-compact-table { min-width:560px; }
}
@media(max-width:480px){
 .dbw-widgets .dbw-product-grid { grid-template-columns:1fr; }
 .dbw-widgets .dbw-product-box { grid-template-columns:76px minmax(0,1fr); padding:13px; gap:10px; }
 .dbw-widgets .dbw-box-image .dbw-thumb { width:74px; height:74px; }
 .dbw-widgets .dbw-box-image .dbw-thumb img { width:70px!important; height:70px!important; max-width:70px!important; max-height:70px!important; }
 .dbw-widgets .dbw-list-item { padding:12px; gap:10px; }
 .dbw-widgets .dbw-buy { padding:9px 10px; font-size:12px; }
}
