/* D143: Problems & Solutions side advert and Featured products (owner-approved sample, 23 Nov 2026) */
.pgrid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:16px}
.pgrid>.card{margin:0}
.pgrid .sad-wide{display:none}
@media (min-width:1100px){
 .pgrid.has-ad{grid-template-columns:minmax(0,1fr) 300px;align-items:stretch}
 .pgrid .sad-in-list{display:none}
 .pgrid .sad-wide{display:block;position:relative;min-height:420px}
 /* the advert takes exactly the list's height (owner, 23 Nov 2026): it does not push the row taller; the picture fills what is left */
 .pgrid .sad-wide>.sad{position:absolute;inset:0}
 .pgrid .sad-wide .sad-pic{flex:1 1 auto;min-height:160px;height:auto}
}
.sad{background:#fff;border:1px solid var(--line,#E3E8E1);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 10px rgba(0,0,0,.05)}
.sad-sp{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;font-size:11px;font-weight:800;letter-spacing:.05em;color:#6B776E}
.sad-sp a{color:#6B776E;font-weight:600;letter-spacing:0;text-decoration:underline}
.sad-pic{position:relative;display:block;height:360px;background:#0E3B26 center 35%/cover no-repeat;color:#fff;text-decoration:none}
.sad-pic:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,30,16,.82) 0%,rgba(8,30,16,.35) 30%,rgba(0,0,0,0) 48%,rgba(0,0,0,0) 62%,rgba(8,30,16,.85) 100%)}
.sad-top,.sad-bot{position:absolute;left:16px;right:16px;z-index:1;display:flex;flex-direction:column;gap:4px}
.sad-top{top:16px}.sad-bot{bottom:14px;font-size:12.5px}
.sad-tag{align-self:flex-start;background:#F2C230;color:#1D2A18;font-weight:800;font-size:11px;padding:3px 8px;border-radius:6px;letter-spacing:.04em}
.sad-h{font-size:23px;line-height:1.15;font-weight:800;margin-top:4px}
.sad-b{font-size:13px;opacity:.95}
.sad-bot b{font-size:20px;line-height:1.2}
.sad-cta{padding:12px}.sad-cta .btn{display:flex;width:100%;justify-content:center}
.sad-who{display:flex;gap:8px;align-items:center;padding:0 12px 12px;font-size:12.5px;color:#3F4D44}
.sad-av{width:26px;height:26px;border-radius:50%;background:#3E9B3A;color:#fff;font-weight:800;font-size:11px;display:flex;align-items:center;justify-content:center;flex:none}
.sad-v{color:#1B7A34;font-weight:700}
.sad-more{border-top:1px solid #EEF1EC;padding:8px 12px;font-size:12px;color:#6B776E;text-align:center}.sad-more a{color:#6B776E}
.sad-in-list{margin:12px 16px;}
.pleft{display:flex;flex-direction:column;gap:16px;min-width:0}.pleft>.card{margin:0}
.fpd{padding:12px}
.fpd-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.fpd-h a{font-weight:700;color:#1B7A34}
.fpd-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (min-width:900px){.fpd-g{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}}
.fpd-c{border:1px solid #EEF1EC;border-radius:12px;overflow:hidden;color:#17211A;text-decoration:none;display:flex;flex-direction:column}
.fpd-i{display:block;height:96px;background:#EEF4EA center/cover no-repeat}
.fpd-b{padding:10px;display:flex;flex-direction:column;gap:2px}
.fpd-n{font-size:14px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fpd-p{color:#1B7A34;font-size:15px}
.fpd-r{display:none}
@media (min-width:900px){.fpd-r{display:block;font-size:12px;color:#6B776E;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}.fpd-s{color:#B7791F;letter-spacing:1px}.fpd-s0{color:#C9CFC6;letter-spacing:1px}
@media (min-width:900px){.fpd-i{height:170px}}.fpd-l{font-size:12px;color:#6B776E}
/* keep the filters on one line next to the advert column */
@media (min-width:1100px){.pgrid.has-ad select.in{font-size:13.5px;padding:6px 26px 6px 10px;min-height:36px!important}.pgrid.has-ad .tab,.pgrid.has-ad .tabs a{font-size:14px}}

/* below 1100px (phones, small tablets; owner 23 Nov 2026): advert replaces the green page card, search + Ask in a slim row,
   product panel gets a small "Featured" highlight. Computers keep the side column and no product heading. */
.sad-top-m,.ps-m{display:none}
.fpd-tag{display:none}
@media (max-width:1099px){
 .ph.ph-has-ad{display:none}
 .sad-top-m{display:block;margin-bottom:12px}
 .ps-m{display:flex;gap:8px;align-items:center;margin-bottom:12px}
 .ps-m .tbs{display:flex;flex:1;height:44px;min-width:0;max-width:none;border:1.5px solid #CBD5C8;border-radius:10px}.ps-m .tbs input{min-width:0}
 .ps-m .ps-ask{flex:none;height:44px;display:inline-flex;align-items:center;background:#F2C230;border-color:#F2C230;color:#1D2A18}
 .fpd-tag{display:inline-flex;align-items:center;gap:4px;background:#F2C230;color:#1D2A18;font-weight:800;font-size:12px;padding:4px 10px;border-radius:999px;margin-bottom:10px;letter-spacing:.02em}
}

/* phone banner: rounded, short, edges fade into the page, whole banner taps through to the shop */
.sadb{position:relative;display:block;height:190px;border-radius:18px;overflow:hidden;background:#0E3B26 center 40%/cover no-repeat;color:#fff;text-decoration:none;
 -webkit-mask-image:radial-gradient(120% 115% at 50% 50%,#000 55%,transparent 100%);mask-image:radial-gradient(120% 115% at 50% 50%,#000 55%,transparent 100%)}
.sadb:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,30,16,.85) 0%,rgba(8,30,16,.55) 45%,rgba(0,0,0,0) 75%)}
.sadb-in{position:absolute;left:18px;top:16px;bottom:16px;width:62%;z-index:1;display:flex;flex-direction:column;justify-content:center;gap:6px}
.sadb-h{font-size:20px;line-height:1.15;font-weight:800}
.sadb-p{font-size:15px;font-weight:800;color:#F2C230}
.sadb-l{font-size:12.5px;font-weight:600;opacity:.95}

/* filters (owner, 23 Nov 2026, phones only): row 1 = For you, All, Need an answer, Solved, Near me on one line;
   row 2 = the three drop-downs side by side. Computers keep one wrapping row as before. */
.pf{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.pf-row1,.pf-row2{display:contents}
.pf-sel{min-height:38px;width:auto}
@media (max-width:767px){
 .pf{flex-direction:column;align-items:stretch;gap:10px;flex-wrap:nowrap}
 .pf-row1{display:flex;gap:4px;align-items:center;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -4px;padding:0 4px}
 .pf-row1::-webkit-scrollbar{display:none}
 .pf-row1 .tab,.pf-row1 .tabs{flex:none;white-space:nowrap}
 .pf-row1 .tabs{display:flex;padding:2px}
 .pf-row1 .tab{padding:6px 8px;font-size:13px}
 .pf-nt{display:none}
 .pf-row2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .pf-row2 label.sr{position:absolute}
 .pf-sel{width:100%;min-width:0;min-height:40px;font-size:12.5px;padding:6px 20px 6px 7px;text-overflow:ellipsis;background-position:right 5px center}
}

/* "More" menu on the filter line: shown only when it has choices */
.pf-more{position:relative;flex:none}
.pf-more>summary{list-style:none;cursor:pointer;white-space:nowrap}.pf-more>summary::-webkit-details-marker{display:none}
.pf-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:20;min-width:190px;background:#fff;border:1px solid #E3E8E1;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.12);padding:6px;display:flex;flex-direction:column}
.pf-menu a{padding:10px 12px;border-radius:8px;color:#1F2A22;font-weight:600;font-size:14px;text-decoration:none}.pf-menu a:hover,.pf-menu a.on{background:#E7F2E5;color:#1B5E2E}
@media (max-width:767px){.pf-menu{position:fixed;left:16px;right:16px;top:auto;min-width:0}}
