:root{
  --bcq-bg:#0c0d0a;
  --bcq-bg2:#141611;
  --bcq-card:#1a1d16;
  --bcq-line:#2a2e22;
  --bcq-green:#9ef01a;
  --bcq-gold:#d4af37;
  --bcq-cream:#f4f3ec;
  --bcq-muted:#9aa08c;
}

#budclub-quiz-app{
  position:relative;
  isolation:isolate;
  min-height:100vh;
  padding:clamp(28px,5vw,70px) 16px;
  background:
    radial-gradient(circle at top left,rgba(158,240,26,.14),transparent 34%),
    radial-gradient(circle at bottom right,rgba(212,175,55,.10),transparent 34%),
    var(--bcq-bg);
  color:var(--bcq-cream);
  overflow:hidden;
  font-family:var(--bc-font-body,'DM Sans',system-ui,sans-serif);
}

#budclub-quiz-app *{box-sizing:border-box}

.bcq-bg-orb{
  position:absolute;
  z-index:-1;
  width:360px;
  height:360px;
  border-radius:50%;
  filter:blur(54px);
  opacity:.26;
  pointer-events:none;
}

.bcq-bg-orb--one{top:4%;left:-140px;background:var(--bcq-green)}
.bcq-bg-orb--two{right:-160px;bottom:8%;background:#f0a32b}

.bcq-wrap{
  width:min(1120px,100%);
  margin:0 auto;
}

.bcq-hero{
  text-align:center;
  margin:0 auto 26px;
  max-width:780px;
}

.bcq-kicker,
.bcq-result-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 13px;
  border:1px solid rgba(158,240,26,.38);
  border-radius:999px;
  background:rgba(158,240,26,.09);
  color:var(--bcq-green);
  font-size:11px;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.bcq-hero h1{
  margin:16px 0 10px;
  font-family:var(--bc-font-heading,'Anton',Impact,sans-serif);
  font-size:clamp(42px,7vw,88px);
  line-height:.92;
  letter-spacing:-.045em;
  text-transform:uppercase;
  color:var(--bcq-cream);
}

.bcq-hero p{
  margin:0 auto;
  max-width:620px;
  color:#cfd6c5;
  font-size:clamp(15px,1.4vw,19px);
  line-height:1.5;
}

.bcq-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--bcq-line);
  border-radius:28px;
  background:linear-gradient(180deg,#141711,#0f120d);
  box-shadow:0 28px 90px rgba(0,0,0,.32);
}

.bcq-topbar{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:18px;
  align-items:center;
  padding:18px 20px;
  border-bottom:1px solid var(--bcq-line);
  background:rgba(255,255,255,.018);
}

.bcq-step-counter{
  display:block;
  color:var(--bcq-muted);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.bcq-step-counter strong{color:var(--bcq-green)}
.bcq-step-label{
  display:block;
  margin-top:3px;
  color:var(--bcq-cream);
  font-size:14px;
  font-weight:900;
}

.bcq-progress{
  height:9px;
  border-radius:999px;
  overflow:hidden;
  background:#0b0d08;
  border:1px solid rgba(255,255,255,.06);
}

.bcq-progress-bar{
  height:100%;
  width:20%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--bcq-green),#c8ff69);
  box-shadow:0 0 26px rgba(158,240,26,.32);
  transition:width .25s ease;
}

.bcq-alert{
  margin:18px 20px 0;
  padding:13px 15px;
  border-radius:14px;
  font-size:14px;
  font-weight:800;
}

.bcq-alert[hidden]{display:none}
.bcq-alert--error{border:1px solid rgba(255,90,90,.42);background:rgba(255,90,90,.09);color:#ffd0d0}
.bcq-alert--warning{border:1px solid rgba(240,163,43,.48);background:rgba(240,163,43,.10);color:#ffe6bb}
.bcq-alert--success{border:1px solid rgba(158,240,26,.42);background:rgba(158,240,26,.10);color:#eaffca}
.bcq-alert--notice{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:var(--bcq-cream)}

.bcq-content{
  position:relative;
  padding:clamp(20px,3.8vw,42px);
}

.bcq-step{display:none}
.bcq-step.active{display:block}

.bcq-question-badge{
  display:inline-grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:14px;
  background:rgba(158,240,26,.12);
  border:1px solid rgba(158,240,26,.28);
  color:var(--bcq-green);
  font-family:var(--bc-font-heading,'Anton',Impact,sans-serif);
  font-size:22px;
}

.bcq-step h2{
  margin:16px 0 8px;
  max-width:820px;
  color:var(--bcq-cream);
  font-family:var(--bc-font-heading,'Anton',Impact,sans-serif);
  font-size:clamp(32px,4.6vw,58px);
  line-height:.95;
  letter-spacing:-.035em;
  text-transform:uppercase;
}

.bcq-question-sub{
  margin:0 0 22px;
  color:var(--bcq-muted);
  font-size:16px;
  line-height:1.5;
}

.bcq-options-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.bcq-options-grid--three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.bcq-option{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:center;
  min-height:112px;
  padding:18px;
  border:1.5px solid var(--bcq-line);
  border-radius:18px;
  background:linear-gradient(160deg,#1a1d16,#12150f);
  color:var(--bcq-cream);
  text-align:left;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}

.bcq-option:hover,
.bcq-option:focus-visible{
  transform:translateY(-2px);
  border-color:rgba(158,240,26,.52);
  outline:none;
}

.bcq-option.selected{
  border-color:var(--bcq-green);
  background:linear-gradient(160deg,rgba(158,240,26,.16),rgba(158,240,26,.045));
  box-shadow:0 0 0 1px rgba(158,240,26,.12),0 16px 40px rgba(0,0,0,.22);
}

.bcq-option-icon{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:15px;
  background:#0b0d08;
  border:1px solid rgba(255,255,255,.06);
  font-size:25px;
}

.bcq-option-title{
  display:block;
  color:var(--bcq-cream);
  font-size:16px;
  font-weight:950;
  line-height:1.15;
}

.bcq-option-desc{
  display:block;
  margin-top:4px;
  color:var(--bcq-muted);
  font-size:13px;
  line-height:1.35;
}

.quiz-footer{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:18px 20px;
  border-top:1px solid var(--bcq-line);
  background:rgba(0,0,0,.12);
}

.bcq-btn{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 22px;
  border-radius:999px;
  border:0;
  text-decoration:none!important;
  cursor:pointer;
  font-size:14px;
  font-weight:950;
  line-height:1;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
}

.bcq-btn:hover{transform:translateY(-1px)}
.bcq-btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
.bcq-btn--primary{
  background:var(--bcq-green);
  color:#071006!important;
  box-shadow:0 14px 32px rgba(158,240,26,.24);
}
.bcq-btn--ghost,
.bcq-btn--outline{
  background:rgba(255,255,255,.04);
  color:var(--bcq-cream)!important;
  border:1px solid rgba(158,240,26,.38);
}
.bcq-btn--ghost:hover,
.bcq-btn--outline:hover{background:rgba(158,240,26,.08)}

.bcq-loading{
  position:absolute;
  inset:0;
  z-index:10;
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:30px;
  background:rgba(12,13,10,.84);
  backdrop-filter:blur(8px);
  text-align:center;
}

.bcq-is-loading .bcq-loading{display:flex}
.bcq-loader{
  width:46px;
  height:46px;
  border-radius:50%;
  border:3px solid rgba(158,240,26,.20);
  border-top-color:var(--bcq-green);
  animation:bcqSpin .7s linear infinite;
}
@keyframes bcqSpin{to{transform:rotate(360deg)}}
.bcq-loading strong{font-size:18px}
.bcq-loading small{color:var(--bcq-muted)}

.bcq-result-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}

.bcq-result-header h2{
  margin-top:12px;
}

.bcq-result-header p{
  color:#cfd6c5;
  font-size:16px;
  line-height:1.5;
  max-width:760px;
}

.bcq-result-card{
  display:grid;
  grid-template-columns:minmax(280px,.78fr) minmax(0,1fr);
  overflow:hidden;
  border:1px solid var(--bcq-line);
  border-radius:24px;
  background:#0f120d;
}

.bcq-result-image-wrap{
  position:relative;
  min-height:430px;
  background:radial-gradient(circle at center,rgba(158,240,26,.20),transparent 58%),#11150d;
}

.bcq-result-image{
  width:100%;
  height:100%;
  min-height:430px;
  object-fit:cover;
  display:block;
}

.product-badge,
.match-score{
  position:absolute;
  z-index:2;
  top:16px;
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.product-badge{
  left:16px;
  background:rgba(12,13,10,.78);
  color:var(--bcq-green);
  border:1px solid rgba(158,240,26,.38);
}

.match-score{
  right:16px;
  background:var(--bcq-green);
  color:#071006;
}

.bcq-result-info{
  padding:clamp(22px,3vw,38px);
}

.bcq-result-meta{
  margin:0 0 8px;
  color:var(--bcq-green);
  font-size:12px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.bcq-result-info h3{
  margin:0 0 12px;
  font-family:var(--bc-font-heading,'Anton',Impact,sans-serif);
  color:var(--bcq-cream);
  font-size:clamp(34px,4vw,58px);
  line-height:.95;
  text-transform:uppercase;
}

.result-tags,
.match-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0;
}

.result-tags span,
.match-pills span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.07);
  color:#dfe7d4;
  font-size:12px;
  font-weight:800;
}

.bcq-result-side{
  color:#cfd6c5;
  font-size:15px;
  line-height:1.55;
}

.why-card{
  margin-top:18px;
  padding:16px;
  border:1px solid rgba(158,240,26,.24);
  border-radius:16px;
  background:rgba(158,240,26,.065);
}

.why-card h4{
  margin:0 0 10px;
  font-size:14px;
  color:var(--bcq-cream);
}

.why-card ul{
  margin:0;
  padding-left:18px;
  color:#cfd6c5;
  font-size:14px;
  line-height:1.5;
}

.bcq-result-bottom{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:16px;
  align-items:end;
  margin-top:22px;
}

.price-block small{
  display:block;
  color:var(--bcq-muted);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.price-block strong{
  display:block;
  margin-top:3px;
  color:var(--bcq-green);
  font-family:var(--bc-font-heading,'Anton',Impact,sans-serif);
  font-size:34px;
  line-height:1;
}
.cta-group{
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:9px;
}

.alt-products-section{
  margin-top:28px;
}

.alt-products-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.alt-products-head h3{
  margin:0;
  color:var(--bcq-cream);
  font-size:22px;
}

.alt-products-head p{
  margin:0;
  color:var(--bcq-muted);
  font-size:14px;
}

.alt-products-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.alt-product-card{
  overflow:hidden;
  border:1px solid var(--bcq-line);
  border-radius:18px;
  background:linear-gradient(180deg,#151911,#0f120d);
}

.alt-product-image{
  position:relative;
  display:block;
  aspect-ratio:1.55;
  background:#0b0d08;
  overflow:hidden;
}
.alt-product-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.alt-product-image span{
  position:absolute;
  right:10px;
  top:10px;
  display:inline-flex;
  min-height:26px;
  align-items:center;
  padding:0 9px;
  border-radius:999px;
  background:var(--bcq-green);
  color:#071006;
  font-size:11px;
  font-weight:950;
}
.alt-product-body{padding:16px}
.alt-product-meta{
  color:var(--bcq-green);
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.alt-product-title{
  margin:6px 0 8px;
  color:var(--bcq-cream);
  font-size:18px;
  line-height:1.15;
}
.alt-product-desc{
  margin:0;
  color:#cfd6c5;
  font-size:13px;
  line-height:1.45;
}
.alt-product-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:14px;
}
.alt-price{
  color:var(--bcq-green);
  font-weight:950;
}
.alt-actions{
  display:flex;
  gap:8px;
}
.alt-actions .bcq-btn{
  min-height:38px;
  padding:0 13px;
  font-size:12px;
}
.bcq-empty-alt{
  grid-column:1/-1;
  border:1px solid var(--bcq-line);
  border-radius:16px;
  padding:18px;
  color:var(--bcq-muted);
}

.bcq-has-result .quiz-footer{
  display:none;
}

@media(max-width:900px){
  #budclub-quiz-app{padding:28px 12px}
  .bcq-topbar{grid-template-columns:1fr;gap:12px}
  .bcq-options-grid,
  .bcq-options-grid--three,
  .alt-products-grid{
    grid-template-columns:1fr;
  }
  .bcq-result-header{
    display:grid;
  }
  .bcq-result-card{
    grid-template-columns:1fr;
  }
  .bcq-result-image-wrap,
  .bcq-result-image{
    min-height:280px;
  }
  .bcq-result-bottom{
    grid-template-columns:1fr;
  }
  .cta-group{
    justify-content:stretch;
    display:grid;
    grid-template-columns:1fr;
  }
  .alt-products-head{
    display:block;
  }
  .alt-products-head p{margin-top:4px}
}

@media(max-width:560px){
  .bcq-card{border-radius:22px}
  .bcq-content{padding:18px}
  .bcq-option{
    min-height:0;
    padding:15px;
  }
  .quiz-footer{
    display:grid;
    grid-template-columns:1fr 1fr;
    padding:14px;
  }
  .bcq-btn{
    width:100%;
    padding:0 14px;
  }
}


/* ==========================================================================
   v0.2.1: Mobile Compact Quiz UX
   Reduces scroll depth and makes answer selection faster on phones.
   ========================================================================== */
@media(max-width:760px){
  #budclub-quiz-app{
    min-height:auto;
    padding:18px 10px 86px;
  }

  .bcq-hero{
    margin-bottom:14px;
    text-align:left;
  }

  .bcq-kicker{
    min-height:24px;
    padding:0 10px;
    font-size:9px;
    letter-spacing:.13em;
  }

  .bcq-hero h1{
    margin:10px 0 6px;
    font-size:clamp(30px,10vw,42px);
    line-height:.94;
    letter-spacing:-.04em;
  }

  .bcq-hero p{
    max-width:none;
    font-size:13px;
    line-height:1.38;
    color:#cbd2c0;
  }

  .bcq-card{
    border-radius:18px;
  }

  .bcq-topbar{
    position:sticky;
    top:0;
    z-index:5;
    grid-template-columns:1fr;
    gap:9px;
    padding:12px 14px;
    background:rgba(15,18,13,.94);
    backdrop-filter:blur(12px);
  }

  .bcq-step-counter{
    display:inline;
    font-size:10px;
  }

  .bcq-step-label{
    display:inline;
    margin-left:8px;
    font-size:12px;
  }

  .bcq-progress{
    height:7px;
  }

  .bcq-alert{
    margin:10px 12px 0;
    padding:10px 12px;
    border-radius:12px;
    font-size:12px;
  }

  .bcq-content{
    padding:14px;
  }

  .bcq-question-badge{
    width:34px;
    height:34px;
    border-radius:10px;
    font-size:17px;
  }

  .bcq-step h2{
    margin:10px 0 5px;
    font-size:clamp(25px,8vw,34px);
    line-height:.96;
  }

  .bcq-question-sub{
    margin:0 0 12px;
    font-size:13px;
    line-height:1.35;
  }

  .bcq-options-grid,
  .bcq-options-grid--three{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }

  .bcq-options-grid--three .bcq-option:nth-child(3){
    grid-column:1 / -1;
  }

  .bcq-option{
    min-height:94px;
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
    gap:7px;
    padding:11px 8px;
    border-radius:14px;
  }

  .bcq-option-icon{
    width:34px;
    height:34px;
    border-radius:11px;
    font-size:19px;
  }

  .bcq-option-title{
    font-size:13px;
    line-height:1.05;
  }

  .bcq-option-desc{
    margin-top:0;
    font-size:10.5px;
    line-height:1.2;
  }

  .quiz-footer{
    position:fixed;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:40;
    display:grid;
    grid-template-columns:.7fr 1fr;
    gap:8px;
    padding:8px;
    border:1px solid rgba(158,240,26,.18);
    border-radius:18px;
    background:rgba(20,22,17,.94);
    backdrop-filter:blur(14px);
    box-shadow:0 16px 40px rgba(0,0,0,.34);
  }

  .bcq-has-result .quiz-footer{
    display:none;
  }

  .bcq-btn{
    min-height:42px;
    padding:0 14px;
    font-size:12px;
  }

  .bcq-loading{
    position:fixed;
    inset:0;
    z-index:999;
    padding:20px;
  }

  .bcq-loader{
    width:38px;
    height:38px;
  }

  .bcq-result-header{
    gap:10px;
    margin-bottom:14px;
  }

  .bcq-result-pill{
    min-height:24px;
    padding:0 10px;
    font-size:9px;
  }

  .bcq-result-header h2{
    margin-top:9px;
    font-size:clamp(26px,8vw,36px);
  }

  .bcq-result-header p{
    font-size:13px;
    line-height:1.35;
  }

  .bcq-result-image-wrap,
  .bcq-result-image{
    min-height:230px;
  }

  .product-badge,
  .match-score{
    top:10px;
    min-height:24px;
    padding:0 9px;
    font-size:9px;
  }

  .product-badge{
    left:10px;
  }

  .match-score{
    right:10px;
  }

  .bcq-result-info{
    padding:16px;
  }

  .bcq-result-meta{
    margin-bottom:6px;
    font-size:10px;
  }

  .bcq-result-info h3{
    font-size:clamp(27px,9vw,38px);
    margin-bottom:9px;
  }

  .bcq-result-side{
    font-size:13px;
    line-height:1.38;
  }

  .result-tags,
  .match-pills{
    gap:6px;
    margin:9px 0;
  }

  .result-tags span,
  .match-pills span{
    min-height:24px;
    padding:0 8px;
    font-size:10.5px;
  }

  .why-card{
    margin-top:12px;
    padding:12px;
    border-radius:13px;
  }

  .why-card h4{
    margin-bottom:7px;
    font-size:13px;
  }

  .why-card ul{
    font-size:12px;
    line-height:1.35;
  }

  .bcq-result-bottom{
    gap:12px;
    margin-top:14px;
  }

  .price-block small{
    font-size:10px;
  }

  .price-block strong{
    font-size:28px;
  }

  .cta-group{
    gap:8px;
  }

  .alt-products-section{
    margin-top:18px;
  }

  .alt-products-head{
    margin-bottom:10px;
  }

  .alt-products-head h3{
    font-size:18px;
  }

  .alt-products-head p{
    font-size:12px;
  }

  .alt-product-image{
    aspect-ratio:2.1;
  }

  .alt-product-body{
    padding:13px;
  }

  .alt-product-title{
    font-size:16px;
  }

  .alt-product-desc{
    display:none;
  }

  .alt-product-bottom{
    margin-top:10px;
  }
}

@media(max-width:390px){
  .bcq-option{
    min-height:86px;
    padding:10px 6px;
  }

  .bcq-option-desc{
    display:none;
  }

  .bcq-options-grid,
  .bcq-options-grid--three{
    gap:7px;
  }
}


/* ==========================================================================
   v0.2.2: Quiz Typography Readability Polish
   Replaces overly condensed/heavy headings with a cleaner BudClub-style font.
   ========================================================================== */
#budclub-quiz-app .bcq-hero h1,
#budclub-quiz-app .bcq-step h2,
#budclub-quiz-app .bcq-result-header h2,
#budclub-quiz-app .bcq-result-info h3{
  font-family:"Hanken Grotesk","DM Sans",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-weight:900!important;
  letter-spacing:-.045em!important;
  line-height:1.02!important;
  text-transform:none!important;
  text-wrap:balance;
}

#budclub-quiz-app .bcq-hero h1{
  font-size:clamp(38px,6vw,74px)!important;
}

#budclub-quiz-app .bcq-step h2{
  font-size:clamp(30px,4.2vw,52px)!important;
}

#budclub-quiz-app .bcq-result-info h3{
  font-size:clamp(30px,3.7vw,50px)!important;
}

#budclub-quiz-app .bcq-question-badge{
  font-family:"Hanken Grotesk","DM Sans",Inter,system-ui,sans-serif!important;
  font-weight:950!important;
}

@media(max-width:760px){
  #budclub-quiz-app .bcq-hero h1{
    font-size:clamp(31px,9.2vw,42px)!important;
    line-height:1.02!important;
    letter-spacing:-.05em!important;
  }

  #budclub-quiz-app .bcq-step h2{
    font-size:clamp(25px,7.2vw,32px)!important;
    line-height:1.04!important;
    letter-spacing:-.045em!important;
  }

  #budclub-quiz-app .bcq-result-header h2{
    font-size:clamp(25px,7.2vw,34px)!important;
    line-height:1.05!important;
  }

  #budclub-quiz-app .bcq-result-info h3{
    font-size:clamp(25px,7.4vw,34px)!important;
    line-height:1.04!important;
  }

  #budclub-quiz-app .bcq-option-title{
    font-weight:850!important;
    letter-spacing:-.02em!important;
  }

  #budclub-quiz-app .bcq-btn{
    font-weight:850!important;
  }
}


/* ==========================================================================
   v0.2.3: Compact Recommendation Results
   Makes the final recommendation easier to scan and reduces mobile scrolling.
   ========================================================================== */
.bcq-result-grid{
  display:block;
}

.bcq-why-details{
  margin-top:14px;
}

.bcq-why-details summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:var(--bcq-cream);
  font-size:14px;
  font-weight:950;
}

.bcq-why-details summary::-webkit-details-marker{
  display:none;
}

.bcq-why-details summary::after{
  content:"+";
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(158,240,26,.10);
  color:var(--bcq-green);
  font-weight:950;
}

.bcq-why-details[open] summary::after{
  content:"–";
}

.bcq-why-details ul{
  margin-top:10px;
}

/* Desktop result still premium but shorter. */
.bcq-result-card{
  grid-template-columns:minmax(230px,.52fr) minmax(0,1fr);
}

.bcq-result-image-wrap{
  min-height:330px;
}

.bcq-result-image{
  min-height:330px;
}

.bcq-result-info{
  padding:clamp(20px,2.4vw,30px);
}

.bcq-result-bottom{
  margin-top:16px;
}

.alt-products-section{
  margin-top:20px;
}

.alt-products-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.alt-product-card{
  display:grid;
  grid-template-columns:116px minmax(0,1fr);
}

.alt-product-image{
  aspect-ratio:auto;
  min-height:100%;
}

.alt-product-body{
  padding:13px;
}

.alt-product-title{
  margin:4px 0 5px;
  font-size:16px;
}

.alt-product-desc{
  font-size:12px;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

@media(max-width:760px){
  .quiz-result .bcq-result-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
  }

  .quiz-result .bcq-result-header > div{
    min-width:0;
  }

  .quiz-result .bcq-result-header h2{
    margin:8px 0 0;
    font-size:22px!important;
    line-height:1.05!important;
  }

  .quiz-result .bcq-result-header h2 span{
    display:inline;
  }

  .quiz-result .bcq-result-header p{
    display:none;
  }

  .quiz-result .bcq-result-header .bcq-btn{
    flex:0 0 auto;
    width:auto;
    min-height:36px;
    padding:0 12px;
    font-size:11px;
  }

  .bcq-result-card{
    display:grid;
    grid-template-columns:96px minmax(0,1fr);
    gap:0;
    border-radius:18px;
  }

  .bcq-result-image-wrap{
    min-height:0;
    height:100%;
    aspect-ratio:auto;
    border-right:1px solid var(--bcq-line);
  }

  .bcq-result-image{
    min-height:0;
    height:100%;
    object-fit:cover;
  }

  .product-badge{
    display:none;
  }

  .match-score{
    top:8px;
    right:auto;
    left:8px;
    min-height:22px;
    padding:0 7px;
    font-size:9px;
  }

  .bcq-result-info{
    padding:12px;
    min-width:0;
  }

  .bcq-result-meta{
    margin:0 0 4px;
    font-size:9px;
    letter-spacing:.1em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .bcq-result-info h3{
    margin:0 0 5px;
    font-size:20px!important;
    line-height:1.05!important;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .bcq-result-side{
    display:none;
  }

  .result-tags{
    margin:6px 0;
    gap:5px;
  }

  .result-tags span{
    min-height:22px;
    padding:0 7px;
    font-size:9.5px;
  }

  .match-pills{
    display:none;
  }

  .bcq-why-details{
    grid-column:1 / -1;
    margin:0;
    padding:10px 12px;
    border-top:1px solid var(--bcq-line);
    border-radius:0;
    background:rgba(158,240,26,.045);
  }

  .bcq-why-details summary{
    font-size:12px;
  }

  .bcq-why-details summary::after{
    width:20px;
    height:20px;
  }

  .bcq-why-details ul{
    font-size:12px;
    line-height:1.35;
    margin-top:8px;
  }

  .bcq-result-bottom{
    grid-template-columns:1fr;
    gap:9px;
    margin-top:8px;
  }

  .price-block{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
  }

  .price-block small{
    font-size:9px;
  }

  .price-block strong{
    font-size:24px;
  }

  .cta-group{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
  }

  .cta-group .js-view-product-main{
    grid-column:1 / -1;
  }

  .cta-group .bcq-btn{
    min-height:38px;
    font-size:11.5px;
    padding:0 10px;
  }

  .alt-products-section{
    margin-top:16px;
  }

  .alt-products-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:9px;
  }

  .alt-products-head h3{
    font-size:16px;
  }

  .alt-products-head p{
    margin:0;
    font-size:11px;
  }

  .alt-products-grid{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:0 2px 8px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }

  .alt-products-grid::-webkit-scrollbar{
    height:4px;
  }

  .alt-products-grid::-webkit-scrollbar-thumb{
    background:rgba(158,240,26,.35);
    border-radius:999px;
  }

  .alt-product-card{
    flex:0 0 82%;
    display:grid;
    grid-template-columns:82px minmax(0,1fr);
    min-height:116px;
    scroll-snap-align:start;
    border-radius:16px;
  }

  .alt-product-image{
    min-height:116px;
  }

  .alt-product-image span{
    top:7px;
    right:7px;
    min-height:21px;
    padding:0 7px;
    font-size:9px;
  }

  .alt-product-body{
    padding:10px;
    min-width:0;
  }

  .alt-product-meta{
    font-size:9px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .alt-product-title{
    margin:3px 0 5px;
    font-size:14px;
    line-height:1.1;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .alt-product-desc,
  .alt-product-card .result-tags{
    display:none;
  }

  .alt-product-bottom{
    margin-top:8px;
    align-items:end;
  }

  .alt-price{
    font-size:12px;
  }

  .alt-actions{
    gap:6px;
  }

  .alt-actions .bcq-btn{
    width:auto;
    min-height:32px;
    padding:0 9px;
    font-size:10.5px;
  }
}

@media(max-width:390px){
  .bcq-result-card{
    grid-template-columns:84px minmax(0,1fr);
  }

  .bcq-result-info h3{
    font-size:18px!important;
  }

  .cta-group .bcq-btn{
    min-height:36px;
  }

  .alt-product-card{
    flex-basis:88%;
  }
}


/* ==========================================================================
   v0.2.4: Mobile Result Card Alignment Fix
   Fixes squeezed product content and tall/cropped image on recommendation result.
   ========================================================================== */
@media(max-width:760px){
  /* The final result should feel like a clean product recommendation card,
     not a narrow two-column product layout. */
  .quiz-result .bcq-result-header{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:start;
    gap:10px;
    margin-bottom:12px;
  }

  .quiz-result .bcq-result-header h2{
    max-width:100%;
    font-size:clamp(24px,7.4vw,34px)!important;
    line-height:1.04!important;
  }

  .quiz-result .bcq-result-header .bcq-btn{
    margin-top:4px;
  }

  .bcq-result-card{
    display:block!important;
    overflow:hidden!important;
    border-radius:20px!important;
  }

  .bcq-result-image-wrap{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1.55 / 1!important;
    border-right:0!important;
    border-bottom:1px solid var(--bcq-line)!important;
    background:radial-gradient(circle at center,rgba(158,240,26,.16),transparent 58%),#11150d!important;
  }

  .bcq-result-image{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    object-fit:cover!important;
    object-position:center center!important;
  }

  .product-badge{
    display:inline-flex!important;
    left:10px!important;
    top:10px!important;
  }

  .match-score{
    top:10px!important;
    right:10px!important;
    left:auto!important;
    min-height:25px!important;
    padding:0 9px!important;
    font-size:10px!important;
  }

  .bcq-result-info{
    display:block!important;
    width:100%!important;
    padding:15px!important;
  }

  .bcq-result-meta{
    margin:0 0 6px!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }

  .bcq-result-info h3{
    display:block!important;
    margin:0 0 8px!important;
    font-size:clamp(25px,7.5vw,34px)!important;
    line-height:1.04!important;
    overflow:visible!important;
    -webkit-line-clamp:unset!important;
    -webkit-box-orient:unset!important;
  }

  .bcq-result-side{
    display:block!important;
    margin:0 0 8px!important;
    font-size:13px!important;
    line-height:1.4!important;
    color:#cfd6c5!important;
  }

  .result-tags{
    margin:9px 0!important;
  }

  .bcq-why-details{
    margin:12px 0 0!important;
    padding:12px!important;
    border:1px solid rgba(158,240,26,.22)!important;
    border-radius:14px!important;
    background:rgba(158,240,26,.055)!important;
  }

  .bcq-result-bottom{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin-top:13px!important;
  }

  .price-block{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding:11px 12px!important;
    border:1px solid rgba(158,240,26,.16)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.035)!important;
  }

  .price-block strong{
    font-size:clamp(27px,8vw,34px)!important;
    text-align:right!important;
  }

  .cta-group{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }

  .cta-group .js-view-product-main{
    grid-column:1 / -1!important;
  }

  .cta-group .bcq-btn{
    min-height:44px!important;
    font-size:12px!important;
  }

  /* Keep backup recommendations readable, but not visually broken. */
  .alt-products-grid{
    align-items:stretch!important;
  }

  .alt-product-card{
    grid-template-columns:96px minmax(0,1fr)!important;
    min-height:128px!important;
  }

  .alt-product-image{
    min-height:128px!important;
  }

  .alt-product-image img{
    object-position:center center!important;
  }
}

@media(max-width:390px){
  .bcq-result-image-wrap{
    aspect-ratio:1.35 / 1!important;
  }

  .quiz-result .bcq-result-header{
    grid-template-columns:1fr!important;
  }

  .quiz-result .bcq-result-header .bcq-btn{
    justify-self:start;
    width:auto!important;
  }

  .bcq-result-info{
    padding:13px!important;
  }

  .bcq-result-info h3{
    font-size:24px!important;
  }

  .cta-group{
    grid-template-columns:1fr!important;
  }

  .cta-group .js-view-product-main{
    grid-column:auto!important;
  }
}


/* ==========================================================================
   v0.2.5: Mobile Result Full Product Image
   Shows the full recommended product image instead of cropping the jar/product.
   ========================================================================== */
@media(max-width:760px){
  .bcq-result-image-wrap{
    aspect-ratio:1 / 1!important;
    min-height:0!important;
    height:auto!important;
    padding:10px!important;
    background:
      radial-gradient(circle at center,rgba(158,240,26,.14),transparent 58%),
      linear-gradient(180deg,#151911,#0c0d0a)!important;
  }

  .bcq-result-image{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    object-fit:contain!important;
    object-position:center center!important;
    border-radius:16px!important;
    background:#0c0d0a!important;
  }

  .product-badge,
  .match-score{
    z-index:3!important;
  }
}

@media(max-width:390px){
  .bcq-result-image-wrap{
    aspect-ratio:1 / 1!important;
    padding:8px!important;
  }
}


/* ==========================================================================
   v0.2.6: Quiz Home Logo Button
   Adds a BudClub logo-style button for Canvas template pages.
   ========================================================================== */
.bcq-home-logo{
  position:relative;
  z-index:20;
  width:max-content;
  display:inline-flex;
  align-items:center;
  gap:0;
  min-height:40px;
  margin:0 0 18px;
  padding:0 14px;
  border:1px solid rgba(158,240,26,.24);
  border-radius:999px;
  background:rgba(12,13,10,.72);
  color:var(--bcq-cream)!important;
  text-decoration:none!important;
  font-size:18px;
  font-weight:950;
  line-height:1;
  letter-spacing:-.04em;
  box-shadow:0 12px 30px rgba(0,0,0,.20);
  backdrop-filter:blur(10px);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}

.bcq-home-logo:hover,
.bcq-home-logo:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(158,240,26,.60);
  background:rgba(158,240,26,.08);
  box-shadow:0 16px 36px rgba(0,0,0,.26);
  outline:none;
}

.bcq-home-logo__mark{
  color:var(--bcq-green);
}

.bcq-home-logo__text{
  color:var(--bcq-cream);
}

@media(max-width:760px){
  .bcq-home-logo{
    min-height:34px;
    margin:0 0 12px;
    padding:0 12px;
    font-size:16px;
  }
}
