/* Hallmark · component: product-advisor · theme: Fresh Air C
 * States: default, hover, focus, active, disabled, loading, error, success.
 * Brand CTA red is the approved site convention. */
#fqf-dialog,#fqf-heart{--q-font:var(--freshair-font-body,'Be Vietnam Pro',sans-serif);--q-navy:#122c57;--q-teal:#0f939c;--q-red:#e30613;--q-red-hover:#bd0010;--q-white:#fff;--q-bg:#f4f6f8;--q-muted:#59677a;--q-line:#e4e9ee;--q-focus:#0f939c;--q-ring:#0f939c24;--q-error:#b82029;--q-success:#176244;--q-shadow:0 20px 70px #122c5733;font-family:var(--q-font);box-sizing:border-box;color:var(--q-navy);font-size:14px;font-weight:400;line-height:1.6}
#fqf-dialog *,#fqf-heart *{box-sizing:border-box}#fqf-dialog[hidden],#fqf-heart[hidden]{display:none!important}#fqf-dialog{width:min(900px,calc(100% - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:0;margin:auto;border:1px solid var(--q-line);border-radius:18px;background:var(--q-white);box-shadow:var(--q-shadow);overflow:hidden;overscroll-behavior:contain}#fqf-dialog[open]{display:flex;flex-direction:column;animation:fqf-enter .22s ease-out}#fqf-dialog::backdrop{background:#122c5770}html.fqf-open{overflow:hidden;scrollbar-gutter:stable}.fqf-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--q-line);flex-shrink:0}.fqf-head img{display:block;width:144px;height:36px;object-fit:contain}.fqf-icon{width:44px;height:44px;min-height:44px;border:1px solid var(--q-line);border-radius:12px;padding:0;background:var(--q-white);color:var(--q-navy);font-family:inherit;font-size:28px;line-height:1;cursor:pointer}.fqf-icon:hover{background:var(--q-bg)}#fqf-dialog button:focus-visible,#fqf-dialog a:focus-visible,#fqf-heart:focus-visible{outline:2px solid var(--q-focus);outline-offset:3px}#fqf-dialog button:active{filter:brightness(.95)}.fqf-body{padding:24px;overflow:auto;min-height:0;scrollbar-width:thin;flex:1}.fqf-body h2{font-family:inherit;font-size:22px;font-style:normal;font-weight:600;line-height:1.4;margin:0 0 12px;color:var(--q-navy);text-wrap:balance;overflow-wrap:anywhere}.fqf-body h3{font-family:inherit;font-size:16px;font-weight:600;line-height:1.5;margin:0;color:var(--q-navy)}.fqf-body p{font-size:14px;line-height:1.7;margin:0 0 16px;color:var(--q-muted);text-wrap:pretty}.fqf-kicker{font-size:12px;color:var(--q-muted);margin-bottom:8px}.fqf-progress{height:4px;background:var(--q-bg);border-radius:4px;margin:0 0 20px}.fqf-progress span{display:block;height:100%;background:var(--q-teal);border-radius:4px;transition:width .2s}.fqf-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.fqf-choice{display:flex;align-items:center;gap:12px;text-align:left;min-height:84px;padding:16px;border:1px solid var(--q-line);border-radius:12px;background:var(--q-white);font-family:inherit;color:var(--q-navy);font-size:14px;line-height:1.5;cursor:pointer}.fqf-choice:hover{background:var(--q-bg)}.fqf-choice[aria-pressed=true]{border-color:var(--q-teal);box-shadow:0 0 0 2px var(--q-ring);background:var(--q-bg)}.fqf-radio{width:18px;height:18px;border:1px solid var(--q-muted);border-radius:50%;flex-shrink:0}.fqf-choice[aria-pressed=true] .fqf-radio{border:5px solid var(--q-teal)}.fqf-choice small{display:block;font-size:12px;color:var(--q-muted);font-weight:400;margin-top:4px}.fqf-foot{padding:16px 24px;border-top:1px solid var(--q-line);display:flex;justify-content:space-between;gap:12px;flex-shrink:0}.fqf-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:10px 20px;border:1px solid var(--q-line);border-radius:12px;background:var(--q-white);color:var(--q-navy);font-family:inherit;font-size:14px;font-weight:500;line-height:1.4;text-align:center;text-decoration:none;cursor:pointer;transition:background .15s}.fqf-btn:hover{background:var(--q-bg);color:var(--q-navy)}.fqf-btn-primary{background:var(--q-red);color:var(--q-white);border-color:var(--q-red)}.fqf-btn-primary:hover{background:var(--q-red-hover);color:var(--q-white)}.fqf-btn:disabled{opacity:.5;cursor:not-allowed}.fqf-results-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;margin-top:20px}.fqf-summary{background:var(--q-bg);border-radius:12px;padding:20px;align-self:start}.fqf-summary ul{padding-left:18px;margin:8px 0 16px}.fqf-summary li{margin:8px 0;font-size:12px;color:var(--q-navy)}.fqf-summary .fqf-btn{width:100%;background:var(--q-white)}.fqf-product{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;padding:16px 0;border-bottom:1px solid var(--q-line);min-width:0}.fqf-product:first-child{padding-top:0}.fqf-product img{width:112px;height:124px;object-fit:contain;border:1px solid var(--q-line);border-radius:12px;display:block}.fqf-product small{display:block;color:var(--q-muted);font-size:12px;margin-bottom:4px}.fqf-product h3{overflow-wrap:anywhere}.fqf-product p{font-size:12px;margin:8px 0}.fqf-product a.fqf-detail{display:inline-flex;align-items:center;min-height:40px;font-size:12px;color:var(--q-navy);text-underline-offset:4px}.fqf-product .fqf-btn{min-height:40px;font-size:12px;padding:8px 12px}.fqf-product-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.fqf-lines{margin-top:24px}.fqf-lines h3{margin-bottom:12px}.fqf-line-link{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:12px 0;border-top:1px solid var(--q-line);color:var(--q-navy);font-size:14px;text-decoration:none}.fqf-line-link:hover{color:var(--q-teal)}.fqf-line-link span:last-child{font-size:20px}.fqf-state{min-height:220px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px}.fqf-state p{max-width:60ch;margin:0}.fqf-error{color:var(--q-error)!important}.fqf-loading{display:grid;gap:16px}.fqf-skeleton{height:108px;border-radius:12px;background:var(--q-bg);animation:fqf-skeleton 1.5s ease-in-out infinite}.fqf-heart{position:fixed;right:24px;bottom:220px;z-index:990;width:56px;height:56px;display:grid;place-items:center;border:1px solid var(--q-line);border-radius:50%;padding:0;background:var(--q-white);box-shadow:0 8px 24px #122c5729;cursor:pointer}.fqf-heart-glyph{font-size:34px;line-height:1;color:var(--q-red)}.fqf-heart-tip{position:absolute;right:68px;white-space:nowrap;background:var(--q-white);border:1px solid var(--q-line);border-radius:8px;padding:8px 12px;color:var(--q-navy);font-size:12px;box-shadow:0 8px 24px #122c571a;opacity:0;pointer-events:none;transition:opacity .2s}.fqf-heart:hover .fqf-heart-tip,.fqf-heart:focus-visible .fqf-heart-tip,.fqf-heart.is-new .fqf-heart-tip{opacity:1}.fqf-heart.is-new{animation:fqf-heart 1.1s ease-in-out 3}.fqf-heart[data-count]:after{content:attr(data-count);position:absolute;right:-2px;top:-3px;border:2px solid var(--q-white);border-radius:50%;background:var(--q-red);color:var(--q-white);font-size:10px;font-weight:600;width:20px;height:20px;display:grid;place-items:center}.fqf-notice{font-size:12px!important;margin-top:16px!important}.fqf-live-error{font-size:12px;color:var(--q-error);min-height:18px;margin-top:12px}.fqf-success-mark{color:var(--q-success);font-size:32px}
@keyframes fqf-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes fqf-heart{50%{box-shadow:0 0 0 8px var(--q-ring)}}@keyframes fqf-skeleton{50%{opacity:.55}}
@media(max-width:600px){#fqf-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 32px);border-radius:16px}.fqf-head{padding:16px}.fqf-body{padding:20px 16px}.fqf-body h2{font-size:20px}.fqf-choice-grid{grid-template-columns:minmax(0,1fr)}.fqf-choice{min-height:72px;padding:16px}.fqf-results-layout{grid-template-columns:minmax(0,1fr);gap:20px}.fqf-summary{padding:16px}.fqf-summary ul{display:flex;gap:4px 16px;flex-wrap:wrap;list-style:none;padding:0;margin:8px 0}.fqf-summary li{margin:0}.fqf-summary .fqf-btn{margin-top:12px;width:auto}.fqf-product{grid-template-columns:88px minmax(0,1fr);gap:12px}.fqf-product img{width:88px;height:104px}.fqf-product h3{font-size:14px}.fqf-foot{padding:16px}.fqf-foot .fqf-btn-primary{flex:1}.fqf-heart{right:16px;bottom:220px}.fqf-heart-tip{font-size:12px}.fqf-product-actions{gap:4px 12px}.fqf-line-link{font-size:13px}}@media(prefers-reduced-motion:reduce){#fqf-dialog,#fqf-dialog *,#fqf-heart,#fqf-heart *{animation:none!important;transition:none!important}}

#fqf-dialog .fqf-product.fresh-product-card{display:grid;margin:0;max-width:none;box-shadow:none;background:var(--q-white);border:0;border-bottom:1px solid var(--q-line);border-radius:0;transform:none}#fqf-dialog .fqf-product .fresh-product-name{font-family:inherit;font-size:16px;font-weight:600;line-height:1.5;text-transform:none;margin:0}#fqf-dialog .fqf-product:hover{box-shadow:none;transform:none}
#fqf-dialog .fqf-icon,#fqf-dialog .fqf-icon:focus{background:var(--q-white);color:var(--q-navy);border-color:var(--q-line)}#fqf-dialog .fqf-icon:hover{background:var(--q-bg);color:var(--q-navy)}#fqf-dialog .fqf-choice{background:var(--q-white);color:var(--q-navy)}#fqf-dialog .fqf-choice:hover,#fqf-dialog .fqf-choice[aria-pressed=true]{background:var(--q-bg);color:var(--q-navy)}#fqf-dialog .fqf-btn{background:var(--q-white);color:var(--q-navy)}#fqf-dialog .fqf-btn:hover{background:var(--q-bg);color:var(--q-navy)}#fqf-dialog .fqf-btn-primary{background:var(--q-red);color:var(--q-white);border-color:var(--q-red)}#fqf-dialog .fqf-btn-primary:hover{background:var(--q-red-hover);color:var(--q-white)}

/* Keep choice copy inside the card at every viewport; allow flex text to shrink. */
#fqf-dialog .fqf-choice{min-width:0;max-width:100%;width:100%;height:auto;white-space:normal}
#fqf-dialog .fqf-choice>span:not(.fqf-radio){flex:1 1 0%;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal}
#fqf-dialog .fqf-choice small{max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.6}
