/* Shared comparison-article design system (site palette). Enqueued once,
   cached by the browser, instead of duplicating this CSS inline on every
   article -- keeps new pillar pages fast and consistent.
   v2: brought up to parity with the hand-tuned hair dryer article (post 59) --
   adds the sort/filter bar, the 3-question buying helper, and the mobile
   sticky CTA, none of which existed in v1. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');
:root{
  --ink:#1a1d1a;
  --paper:#f7f4ee;
  --card:#fffdf9;
  --line:#e4ddd0;
  --muted:#6a6459;
  --accent:#e8552b;
  --accent-dark:#c8421e;
  --green:#1f7a4d;
  --gold:#b8852a;
  --shadow:0 1px 2px rgba(26,29,26,.06),0 8px 24px rgba(26,29,26,.07);
  --radius:14px;
}
.hd-wrap *{box-sizing:border-box}
.hd-wrap{
  font-family:'Hanken Grotesk',system-ui,sans-serif;
  background:var(--paper);color:var(--ink);
  line-height:1.55;-webkit-font-smoothing:antialiased;
  padding:0 0 40px;
  width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
}
.hd-inner{max-width:1120px;margin:0 auto;padding:0 18px}
.hd-wrap h1,.hd-wrap h2,.hd-wrap h3{font-family:'Fraunces',Georgia,serif;line-height:1.12;letter-spacing:-.01em}
.hd-header{padding:36px 0 22px;text-align:left}
.hd-eyebrow{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);font-weight:700;margin-bottom:12px}
.hd-header h1{font-size:clamp(2.1rem,6vw,3.3rem);font-weight:600;margin:0 0 12px}
.hd-lede{font-size:1.08rem;color:var(--muted);max-width:none;margin:0}
.hd-meta{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin-top:18px;font-size:.83rem;color:var(--muted);position:relative}
.hd-meta .dot{width:7px;height:7px;border-radius:50%;background:var(--green);display:inline-block;margin-right:6px}
.hd-meta details.hd-disclosure{order:-1;margin:0;font-size:inherit;color:inherit;position:relative}
.hd-meta details.hd-disclosure summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:5px;font-weight:600;color:var(--ink);user-select:none}
.hd-meta details.hd-disclosure summary::-webkit-details-marker{display:none}
.hd-meta details.hd-disclosure summary:before{content:"\24D8";color:var(--accent);font-weight:700}
.hd-meta details.hd-disclosure summary:after{content:"\2304";font-size:.85rem;font-weight:700;color:var(--muted)}
.hd-meta details.hd-disclosure[open] summary:after{content:"\2303"}
.hd-meta details.hd-disclosure .hd-disclosure-body{position:absolute;top:100%;left:0;margin-top:8px;width:min(280px,80vw);border:1px solid var(--line);border-radius:10px;padding:10px 14px;background:#fff;box-shadow:var(--shadow);font-size:.78rem;color:var(--muted);z-index:5}

/* ---- buying helper (3-question quiz that recommends one product) ---- */
.hd-helper{background:linear-gradient(180deg,#fffdf9,#f3eee3);border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin:26px 0;box-shadow:var(--shadow)}
.hd-helper h2{font-size:1.25rem;margin:0 0 4px}
.hd-helper p.sub{font-size:.9rem;color:var(--muted);margin:0 0 16px}
.hd-q{margin-bottom:14px}
.hd-q-label{font-size:.82rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--ink);margin-bottom:8px}
.hd-opts{display:flex;flex-wrap:wrap;gap:8px}
.hd-opt{border:1.5px solid var(--line);background:#fff;border-radius:30px;padding:8px 15px;font-size:.9rem;cursor:pointer;transition:.15s;font-family:inherit;color:var(--ink)}
.hd-opt:hover{border-color:var(--accent)}
.hd-opt.active{background:var(--ink)!important;color:#fff!important;border-color:var(--ink)!important}
.hd-helper-result{margin-top:8px;padding:14px 16px;border-radius:10px;background:#fff;border:1px dashed var(--accent);font-size:.95rem;display:none}
.hd-helper-result.show{display:block}
.hd-helper-result b{color:var(--accent-dark)}

.hd-listhead{font-size:1.7rem;font-weight:600;margin:34px 0 6px}
.hd-listsub{font-size:.92rem;color:var(--muted);margin:0 0 16px}

/* ---- sticky sort/filter bar above the comparison list ---- */
.hd-controls{position:sticky;top:0;z-index:20;background:rgba(247,244,238,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);padding:12px 0;margin-bottom:8px}
.hd-controls-inner{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.hd-ctl-label{font-size:.78rem;font-weight:600;color:var(--muted);margin-right:2px}
.hd-chip{border:1.5px solid var(--line);background:#fff;border-radius:30px;padding:6px 13px;font-size:.83rem;cursor:pointer;font-family:inherit;color:var(--ink)!important;transition:.15s;white-space:nowrap}
.hd-chip:hover{border-color:var(--accent)}
.hd-chip.active{background:var(--green)!important;color:#fff!important;border-color:var(--green)!important}
select.hd-chip{appearance:none;padding-right:28px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236a6459' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center}

.hd-list{display:flex;flex-direction:column;gap:16px;margin:8px 0 36px}
.hd-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:grid;grid-template-columns:220px 1fr;transition:.2s}
.hd-card.hd-hidden{display:none!important}
.hd-card.hd-pick{outline:2.5px solid var(--accent);outline-offset:-1px}
.hd-card-media{position:relative;background:#fff;display:flex;align-items:center;justify-content:center;padding:22px;border-right:1px solid var(--line)}
.hd-card-media img{max-width:100%;max-height:180px;object-fit:contain}
.hd-rank{position:absolute;top:8px;left:8px;width:26px;height:26px;border-radius:50%;background:var(--ink);color:#fff;font-family:'Fraunces',serif;font-weight:600;font-size:.9rem;display:flex;align-items:center;justify-content:center}
.hd-card-body{padding:16px 18px}
.hd-badge{display:inline-block;font-size:.7rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:4px 10px;border-radius:6px;margin-bottom:8px}
.hd-badge.overall{background:#1a1d1a;color:#fff}
.hd-badge.value{background:var(--green);color:#fff}
.hd-badge.premium{background:var(--gold);color:#fff}
.hd-badge.budget{background:#2f5e8f;color:#fff}
.hd-badge.specialist{background:#7a4ea3;color:#fff}
.hd-card-body h3{font-size:1.2rem;font-weight:600;margin:0 0 4px}
.hd-stars{color:var(--gold);font-size:.9rem;letter-spacing:1px}
.hd-stars span{color:var(--muted);font-size:.8rem;letter-spacing:0;margin-left:6px}
.hd-specs{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.hd-spec{font-size:.78rem;background:#f1ece2;border-radius:6px;padding:3px 9px;color:#4a463d}
.hd-proscons{display:grid;grid-template-columns:1fr 1fr;gap:6px 16px;margin:10px 0 4px;font-size:.84rem}
.hd-proscons ul{list-style:none;margin:0;padding:0}
.hd-proscons li{margin-bottom:3px;padding-left:18px;position:relative;color:#3a362e}
.hd-pros li:before{content:"\2713";position:absolute;left:0;color:var(--green);font-weight:700}
.hd-cons li:before{content:"\2212";position:absolute;left:0;color:#b04a32;font-weight:700}
.hd-buyrow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;flex-wrap:wrap}
.hd-price{font-family:'Fraunces',serif;font-size:1.35rem;font-weight:600}
.hd-price small{font-size:.72rem;color:var(--muted);font-family:'Hanken Grotesk',sans-serif;font-weight:500;display:block;margin-top:-2px}
.hd-cta{background:var(--accent)!important;color:#fff!important;text-decoration:none!important;font-weight:700;font-size:.95rem;padding:12px 22px;border-radius:10px;transition:.15s;white-space:nowrap;box-shadow:0 2px 0 var(--accent-dark);display:inline-block}
.hd-cta:hover{background:var(--accent-dark)!important}
.hd-cta:visited{color:#fff!important}

.hd-block{margin:34px auto;max-width:1120px}
.hd-block h2{font-size:1.7rem;font-weight:600;margin:0 0 14px}
.hd-block h3{font-size:1.22rem;font-weight:600;margin:22px 0 8px}
.hd-guide{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:36px 40px;box-shadow:var(--shadow)}
.hd-guide-lede{font-size:1.03rem;color:#3a362e;margin:0 0 28px}
.hd-guide-steps{position:relative;padding-left:52px}
.hd-guide-steps:before{content:"";position:absolute;left:19px;top:6px;bottom:6px;width:2px;background:var(--line)}
.hd-guide-step{position:relative;margin-bottom:30px}
.hd-guide-step:last-child{margin-bottom:0}
.hd-guide-badge{position:absolute;left:-52px;top:0;width:40px;height:40px;border-radius:50%;background:var(--ink);color:#fff;font-family:'Fraunces',serif;font-weight:600;font-size:1rem;display:flex;align-items:center;justify-content:center;z-index:1}
.hd-guide-step h3{margin:6px 0 8px}
.hd-guide-step p{margin:0 0 10px;color:#3a362e;font-size:.96rem}
.hd-guide-step ul{margin:0 0 10px;padding-left:20px;color:#3a362e;font-size:.93rem}
.hd-guide-step li{margin-bottom:6px}
.hd-guide-final{margin-top:30px;padding-top:20px;border-top:1px solid var(--line);font-size:.97rem;color:#3a362e}
@media(max-width:560px){
  .hd-guide{padding:26px 22px}
  .hd-guide-steps{padding-left:44px}
  .hd-guide-badge{width:34px;height:34px;left:-44px;font-size:.88rem}
}

.hd-pullquote{margin:22px 0;padding:20px 24px 20px 28px;background:var(--paper);border-left:4px solid var(--accent);border-radius:0 10px 10px 0;position:relative}
.hd-pullquote:before{content:"\201C";font-family:'Fraunces',serif;font-size:3.2rem;color:var(--accent);opacity:.35;position:absolute;top:-6px;left:10px;line-height:1}
.hd-pullquote p{font-family:'Fraunces',Georgia,serif;font-style:italic;font-weight:500;font-size:1.18rem;line-height:1.45;color:var(--ink);margin:0 0 6px;padding-left:22px}
.hd-pullquote cite{font-style:normal;font-size:.78rem;color:var(--muted);padding-left:22px;display:block}

details.hd-faq{background:var(--card);border:1px solid var(--line);border-radius:10px;margin-bottom:10px;overflow:hidden}
details.hd-faq summary{padding:15px 18px;font-weight:600;cursor:pointer;list-style:none;font-size:.98rem;display:flex;justify-content:space-between;align-items:center}
details.hd-faq summary::-webkit-details-marker{display:none}
details.hd-faq summary:after{content:"+";font-size:1.4rem;color:var(--accent);font-weight:400;line-height:1}
details.hd-faq[open] summary:after{content:"\2013"}
details.hd-faq .hd-ans{padding:0 18px 16px;font-size:.92rem;color:#3a362e}

.hd-pillar .entry-meta{display:none!important}
.hd-pillar .cat-links{display:none!important}
.hd-pillar .inside-article{padding-top:0!important}
.hd-pillar .entry-header{display:none!important}
.hd-pillar .entry-content{margin-top:0!important}
.hd-pillar .featured-image.page-header-image-single{margin:0!important}
.hd-pillar .featured-image.page-header-image-single img{width:100%;height:340px;object-fit:cover;display:block}
@media(max-width:560px){
  .hd-pillar .featured-image.page-header-image-single img{height:200px}
}

/* ---- mobile sticky CTA bar for the current top/recommended pick ---- */
.hd-sticky-cta{position:fixed;bottom:0;left:0;right:0;z-index:40;background:#fff;border-top:1px solid var(--line);padding:10px 16px;display:none;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 -4px 18px rgba(0,0,0,.06)}
.hd-sticky-cta .hd-si{font-size:.82rem;font-weight:600;line-height:1.2}
.hd-sticky-cta .hd-si small{display:block;color:var(--muted);font-weight:500;font-size:.72rem}
.hd-sticky-cta a{background:var(--accent)!important;color:#fff!important;text-decoration:none!important;font-weight:700;padding:11px 20px;border-radius:10px;font-size:.92rem;white-space:nowrap}

@media(max-width:560px){
  .hd-card{grid-template-columns:1fr}
  .hd-card-media{border-right:none;border-bottom:1px solid var(--line);padding:18px}
  .hd-card-media img{max-height:190px}
  .hd-proscons{grid-template-columns:1fr}
  .hd-sticky-cta.hd-show{display:flex}
  .hd-buyrow .hd-cta{flex:1;text-align:center}
  body.hd-pillar{padding-bottom:72px}
}
