/*
 * Shared component styles, restored and quarantined.
 *
 * Everything here was once in pdp.css or hubs.css and was silently destroyed by
 * index-based edits to those files: the mega-menu panel content, the compare
 * table, the saved grid, section chrome. This file is append-only — nothing
 * edits it by offset — and the deploy gate now fails if any template-emitted
 * class has no rule anywhere.
 */

/* ------------------------------------------------------------ sections --- */
.airr-hsec{margin:26px 0 0}
.airr-hsec-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;
  gap:10px;margin-bottom:10px}
.airr-hsec-head h1,.airr-hsec-head h2{margin:0;font-size:1.25rem;font-weight:780;
  letter-spacing:-.018em;color:var(--a-ink,#12161e)}
.airr-hsec-head a{font-size:.85rem;font-weight:650;color:var(--a-accent,#2b4acb);text-decoration:none}
.airr-hsec-head a:hover{text-decoration:underline}
.airr-hsec-note{margin:0 0 14px;font-size:.86rem;color:var(--a-muted,#657084);line-height:1.5}

/* -------------------------------------------------------- mega menu panel --- */
.airr-mega{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,.8fr);gap:28px;
  padding:24px 26px;width:100%}
.airr-mega-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 14px;align-content:start}
.airr-mega-item{display:flex;align-items:baseline;justify-content:space-between;gap:8px;
  padding:7px 9px;border-radius:8px;text-decoration:none;transition:background .12s}
.airr-mega-item:hover{background:#eef1f5}
.airr-mega-item b{font-size:.88rem;font-weight:600;color:#12161e;min-width:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto}
.airr-mega-item span{font-size:.74rem;color:#657084;font-variant-numeric:tabular-nums}
.airr-mega-feature{position:relative;display:block;border:1px solid #dde3ea;border-radius:12px;
  overflow:hidden;text-decoration:none;background:#fff;transition:border-color .12s}
.airr-mega-feature:hover{border-color:#c9b26a}
.airr-mega-flag{position:absolute;top:8px;left:8px;z-index:2;background:#1a1e26;color:#f5d98a;
  font-size:.6rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;
  padding:3px 8px;border-radius:4px}
.airr-mega-shot{width:100%;aspect-ratio:16/9;object-fit:cover;object-position:top center;display:block}
.airr-mega-fbody{display:block;padding:11px 13px}
.airr-mega-frow{display:flex;align-items:center;gap:8px}
.airr-mega-frow img{border-radius:7px;object-fit:contain;background:#fff;border:1px solid #dde3ea;padding:2px}
.airr-mega-frow b{font-size:.92rem;font-weight:700;color:#12161e}
.airr-mega-frow em{margin-left:auto;font-style:normal;font-weight:800;color:#2b4acb;font-size:.9rem}
.airr-mega-ftag{display:block;margin-top:5px;font-size:.8rem;color:#3a434f;line-height:1.4}
.airr-mega-foot{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:18px;padding-top:14px;
  border-top:1px solid #dde3ea}
.airr-mega-foot a{font-size:.83rem;font-weight:600;color:#2b4acb;text-decoration:none}
.airr-mega-foot a:hover{text-decoration:underline}
@media (max-width:900px){.airr-mega{grid-template-columns:1fr}
  .airr-mega-cols{grid-template-columns:repeat(2,1fr)}}

/* Belt and braces: even with the plugin's JS or CSS absent, the panel must never
   dump into the page flow. Hidden unless its item is hovered, focused, or marked
   open by JetMenu. */
.jet-mega-menu-item--mega > .jet-mega-menu-mega-container{
  display:none;
}
.jet-mega-menu-item--mega:hover > .jet-mega-menu-mega-container,
.jet-mega-menu-item--mega:focus-within > .jet-mega-menu-mega-container,
.jet-mega-menu-item--mega.jet-mega-menu-item--hover > .jet-mega-menu-mega-container,
.jet-mega-menu-item--mega.jet-mega-menu-item--active-hover > .jet-mega-menu-mega-container{
  display:block;
}

/* -------------------------------------------------------- compare table --- */
.airr-compare-app{display:flex;flex-direction:column;gap:12px}
.airr-cmp-empty{background:var(--a-card,#fff);border:1px dashed var(--a-rule2,#c4cdd8);
  border-radius:12px;padding:36px 24px;text-align:center;color:var(--a-ink2,#3a434f)}
.airr-cmp-empty a{color:var(--a-accent,#2b4acb)}
.airr-cmp-clear{align-self:flex-start;background:transparent;border:1px solid var(--a-rule2,#c4cdd8);
  border-radius:8px;padding:6px 13px;font-size:.83rem;font-weight:600;
  color:var(--a-accent,#2b4acb);cursor:pointer}
.airr-cmp-clear:hover{background:#e8ecfb}
.airr-cmp-results{min-width:0}
.airr-cmp{width:100%;border-collapse:collapse;background:var(--a-card,#fff);font-size:.9rem}
.airr-cmp th img{display:block;margin:0 auto 5px;border-radius:7px;object-fit:contain;
  background:#fff;border:1px solid #dde3ea;padding:2px}
.airr-cmp thead th{text-align:center;padding:12px 10px;background:#eef1f5}
.airr-cmp thead th a{color:#12161e;text-decoration:none;font-weight:700}
.airr-cmp thead th a:hover{color:#2b4acb}
.airr-cmp tbody th{text-align:left;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;
  color:#657084;white-space:nowrap;padding:10px 12px;font-weight:750}
.airr-cmp td{text-align:center;padding:10px 12px;border-top:1px solid #dde3ea;color:#3a434f}
.airr-cmp-out{color:#657084;font-size:.8rem}

/* ------------------------------------------------------- saved + empties --- */
.airr-saved-results{min-width:0}
.airr-saved-results.airr-grid,
.airr-empty-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.airr-usercount{font-size:.8rem;color:#657084}
.airr-usercount--none{color:#657084}

/* ------------------------------------------------------------- footer --- */
.airr-footer-top{display:flex;flex-wrap:wrap;gap:26px 40px;justify-content:space-between}
.airr-footer-col{display:flex;flex-direction:column;gap:7px;min-width:150px}
.airr-footer-col b{font-size:.72rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;
  color:rgba(255,255,255,.55);margin-bottom:3px}
.airr-footer-col a{font-size:.86rem;color:rgba(255,255,255,.82);text-decoration:none}
.airr-footer-col a:hover{color:#fff;text-decoration:underline}
.airr-footer-copy{margin-top:20px;padding-top:16px;border-top:1px solid rgba(255,255,255,.14);
  font-size:.78rem;color:rgba(255,255,255,.55);line-height:1.6}

/* ------------------------------------------------------- odds and ends --- */
.airr-prov{font-size:.7rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#657084}
.airr-courses{display:flex;flex-direction:column;gap:10px}
.airr-news-jfb{max-width:460px}
.airr-news-jfb input[type=email]{width:100%;padding:10px 13px;font-size:.92rem;
  border:1px solid #c4cdd8;border-radius:9px}
.airr-auth-form{display:flex;flex-direction:column}

/* ------------------------------------------------------- discontinued --- */
.airr-dead-banner{
  display:flex;flex-wrap:wrap;gap:6px;align-items:baseline;
  background:#f4f0e6;border:1px solid #e2d8bd;border-left:4px solid #b08d2f;
  border-radius:10px;padding:12px 16px;margin-bottom:14px;
  font-size:.9rem;color:#5c4a14;line-height:1.55;
}
.airr-dead-banner strong{color:#7a5c10}
.airr-tcard-dead{
  position:absolute;top:9px;left:9px;z-index:2;
  background:#5c5c66;color:#fff;font-size:.62rem;font-weight:800;
  letter-spacing:.09em;text-transform:uppercase;padding:4px 9px;border-radius:5px;
}

.airr-price-note{margin:-4px 0 12px;font-size:.8rem;color:var(--a-muted,#657084)}
.airr-price-note a{color:var(--a-accent,#2b4acb)}

/* ---------------------------------------------------- review composer --- */
.airr-revtags{display:flex;flex-direction:column;gap:8px;margin:0 0 18px}
.airr-revtags h3{margin:6px 0 2px;font-size:.95rem;font-weight:750;color:var(--a-ink,#12161e)}
.airr-revtags-row{display:flex;flex-wrap:wrap;gap:7px}
.airr-revtag{font-size:.82rem;font-weight:600;padding:5px 12px;border-radius:999px;border:1px solid}
.airr-revtag--pro{background:#e3f5ea;color:#1a6b43;border-color:#c4e9d3}
.airr-revtag--con{background:#fdeaea;color:#9c3535;border-color:#f7d2d2}

.airr-composer{background:var(--a-card2,#eef1f5);border:1px solid var(--a-rule,#dde3ea);
  border-radius:14px;padding:20px 22px;display:flex;flex-direction:column;gap:14px;margin:4px 0 18px}
.airr-composer-head h3{margin:0;font-size:1.05rem;font-weight:750;color:var(--a-ink,#12161e)}
.airr-composer-head p{margin:3px 0 0;font-size:.85rem;color:var(--a-muted,#657084)}
.airr-composer-stars{display:flex;align-items:center;gap:4px}
.airr-composer-stars button{font-size:1.7rem;line-height:1;background:none;border:0;cursor:pointer;
  color:#d6dbe3;padding:2px;transition:color .1s,transform .1s}
.airr-composer-stars button:hover{transform:scale(1.15)}
.airr-composer-stars button.is-on{color:#e0a020}
.airr-composer-starhint{margin-left:8px;font-size:.83rem;color:var(--a-muted,#657084)}
.airr-composer-taggroup{margin-bottom:6px}
.airr-composer-taggroup b{display:block;font-size:.74rem;font-weight:800;letter-spacing:.05em;
  text-transform:uppercase;color:var(--a-muted,#657084);margin-bottom:6px}
.airr-composer-taggroup div{display:flex;flex-wrap:wrap;gap:6px}
.airr-ctag{font-size:.82rem;font-weight:600;padding:5px 12px;border-radius:999px;cursor:pointer;
  background:#fff;border:1px solid var(--a-rule2,#c4cdd8);color:var(--a-ink2,#3a434f);transition:all .1s}
.airr-ctag:hover{border-color:var(--a-accent,#2b4acb);color:var(--a-accent,#2b4acb)}
.airr-ctag.is-on{background:var(--a-accent,#2b4acb);border-color:var(--a-accent,#2b4acb);color:#fff}
.airr-composer-use{width:100%;padding:9px 13px;font-size:.9rem;border:1px solid var(--a-rule2,#c4cdd8);
  border-radius:9px;background:#fff}
.airr-composer-draftrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.airr-composer-draft{cursor:pointer;font-size:.87rem;font-weight:650;padding:8px 16px;border-radius:9px;
  background:#fff;border:1px solid var(--a-accent,#2b4acb);color:var(--a-accent,#2b4acb)}
.airr-composer-draft:hover{background:var(--a-accent,#2b4acb);color:#fff}
.airr-composer-hint{font-size:.78rem;color:var(--a-muted,#657084)}
.airr-composer-editor{min-height:96px;background:#fff;border:1px solid var(--a-rule2,#c4cdd8);
  border-radius:9px;padding:12px 14px;font-size:.92rem;line-height:1.6;outline:none}
.airr-composer-editor:focus-visible{border-color:var(--a-accent,#2b4acb)}
.airr-composer-editor:empty::before{content:attr(data-placeholder);color:#8b95a5}
.airr-composer-who{display:flex;flex-wrap:wrap;gap:8px}
.airr-composer-who input{flex:1 1 180px;padding:9px 13px;font-size:.88rem;
  border:1px solid var(--a-rule2,#c4cdd8);border-radius:9px;background:#fff}
.airr-composer-as{font-size:.85rem;color:var(--a-ink2,#3a434f)}
.airr-composer-foot{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.airr-composer-send{cursor:pointer;font-size:.93rem;font-weight:650;padding:10px 22px;border-radius:9px;
  background:var(--a-accent,#2b4acb);color:#fff;border:1px solid var(--a-accent,#2b4acb)}
.airr-composer-send:hover:not([disabled]){filter:brightness(1.08)}
.airr-composer-send[disabled]{opacity:.7;cursor:default}
.airr-composer-msg{font-size:.85rem;color:#9c3535}
.airr-composer-legal{margin:0;font-size:.76rem;color:var(--a-muted,#657084);line-height:1.5}
.airr-composer-done{padding:10px 0}
.airr-composer-done b{font-size:1rem;color:#1a6b43}
.airr-composer-done p{margin:4px 0 0;font-size:.86rem;color:var(--a-ink2,#3a434f)}
/* the stock widget's own empty text and form are replaced by the composer */
.airr-card#reviews .jet-reviews-widget__notfound,
.airr-card#reviews .jet-reviews__new-button{display:none}

/* pending-review cards */
.airr-pendingcard,.airr-pending-js{
  display:flex;flex-direction:column;gap:4px;margin:0 0 16px;
  background:#eef4ff;border:1px solid #c9d8f5;border-left:4px solid var(--a-accent,#2b4acb);
  border-radius:10px;padding:12px 16px;font-size:.88rem;line-height:1.5;
}
.airr-pendingcard b,.airr-pending-js b{color:var(--a-ink,#12161e)}
.airr-pendingcard span,.airr-pending-js span{color:var(--a-ink2,#3a434f)}
.airr-pendingcard em{font-style:normal;font-size:.78rem;color:var(--a-muted,#657084)}
.airr-composer-title{width:100%;padding:9px 13px;font-size:.9rem;font-weight:650;
  border:1px solid var(--a-rule2,#c4cdd8);border-radius:9px;background:#fff}
