/* Gulwadi Fragrance Finder v1.0.8 — Midnight Plum design.
   Band + compact no-scroll popup quiz modal + centred compact results. No dependencies. */

/* ---------- Homepage band ---------- */
.gw-quiz-band{background:radial-gradient(700px 420px at 78% 30%,rgba(212,175,55,.14),transparent 70%),radial-gradient(500px 300px at 8% 90%,rgba(150,30,60,.35),transparent 70%),#1E0A14;color:#F7EFE6;width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.entry-content[data-ast-blocks-layout] .shelf-wrap > .gw-quiz-band{width:100vw !important;max-width:none !important;margin-left:calc(50% - 50vw) !important;margin-right:0 !important}
.gw-quiz-in{max-width:1240px;margin:0 auto;padding:64px 40px 30px;display:grid;grid-template-columns:1.12fr 1fr;gap:60px;align-items:center}
.gw-quiz-crown{width:44px;height:34px;margin-bottom:16px}
.gw-quiz-eyebrow{font-size:12px;letter-spacing:5px;color:#D4AF37;text-transform:uppercase;margin-bottom:20px;font-weight:700}
.gw-quiz-title{font-family:'Inter',sans-serif;font-size:56px;line-height:1.06;font-weight:500;color:#F7EFE6}
.gw-quiz-title em{background:linear-gradient(100deg,#F5D67A,#D4AF37 45%,#A87F1F);-webkit-background-clip:text;background-clip:text;color:transparent;font-style:italic}
.gw-quiz-sub{font-size:17px;line-height:1.7;color:#D8B9C4;margin:24px 0 32px;max-width:510px}
.gw-quiz-btn{display:inline-block;background:linear-gradient(100deg,#F5D67A,#D4AF37 55%,#C49A2B);color:#14100B;font-weight:700;font-size:16px;padding:17px 36px;border-radius:999px;text-decoration:none !important;box-shadow:0 10px 30px rgba(212,175,55,.35);cursor:pointer;border:0;font-family:inherit}
.gw-quiz-btn:hover{filter:brightness(1.06)}
.gw-quiz-micro{font-size:13px;color:#A67E8D;margin-top:18px;letter-spacing:1px}
.gw-quiz-orn{display:flex;align-items:center;gap:12px;margin-top:34px;color:#D4AF37;font-size:13px}
.gw-quiz-orn i{flex:0 0 60px;height:1px;background:linear-gradient(90deg,transparent,#D4AF37)}
.gw-quiz-orn i:last-child{background:linear-gradient(90deg,#D4AF37,transparent)}
.gw-quiz-photos{position:relative;height:460px}
.gw-quiz-glow{position:absolute;right:30px;top:20px;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,rgba(212,175,55,.28),transparent 65%)}
.gw-quiz-ring{position:absolute;right:40px;top:30px;width:380px;height:380px;border:1px solid rgba(212,175,55,.55);border-radius:50%}
.gw-quiz-photos img{position:absolute;width:216px;height:270px;object-fit:cover;border-radius:12px;border:1px solid rgba(212,175,55,.55);box-shadow:0 24px 50px rgba(0,0,0,.6);background:#2A0F1D}
.gw-quiz-photos img.gw-qp-a{left:0;top:100px;transform:rotate(-5deg)}
.gw-quiz-photos img.gw-qp-b{left:150px;top:36px;transform:rotate(2deg);z-index:2}
.gw-quiz-photos img.gw-qp-c{left:300px;top:108px;transform:rotate(6deg)}
.gw-quiz-strip{max-width:1240px;margin:0 auto;padding:26px 40px 56px;display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap}
.gw-quiz-strip span{font-size:13px;color:#A67E8D;letter-spacing:1px}
.gw-quiz-chip{font-size:13px;letter-spacing:2px;border:1px solid rgba(212,175,55,.55);color:#E8D9A8;border-radius:999px;padding:10px 20px}

/* ---------- Quiz overlay ---------- */
.gw-quiz-overlay{position:fixed;inset:0;margin:0;z-index:9999; /* v1.0.8: margin:0 — the theme gave this div a 24px auto margin that shrank the fixed backdrop and left gaps */background:rgba(16,6,12,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:none;align-items:center;justify-content:center;padding:20px}
.gw-quiz-overlay.gw-open{display:flex}
body.gw-quiz-modal-open .gw-wa-float{display:none !important} /* v1.0.4: WhatsApp pill must not overlap the popup */
.gw-quiz-shell{width:100%;max-width:680px;max-height:88vh;overflow-y:auto;-webkit-overflow-scrolling:touch;background:radial-gradient(340px 260px at 80% 0%,rgba(212,175,55,.16),transparent 70%),#1E0A14;border:1px solid rgba(212,175,55,.4);border-radius:20px;box-shadow:0 30px 80px rgba(0,0,0,.65);padding:26px 30px 28px;color:#F7EFE6}
.gw-quiz-top{display:flex;justify-content:center;align-items:center;position:relative} /* v1.0.8: title centred so it lines up with the centred results text */
.gw-quiz-top .gw-quiz-t{font-family:'Inter',sans-serif;font-size:20px;font-weight:700;letter-spacing:1px;color:#D4AF37}
.gw-quiz-headline{font-size:15px;color:#D8B9C4;margin-top:4px;text-align:center}
.gw-quiz-shell.gw-wide .gw-quiz-headline{display:none} /* headline only on questions, not on results */
.gw-quiz-close{background:none;border:0;color:#F7EFE6;font-size:26px;line-height:1;cursor:pointer;padding:8px;position:absolute;right:0;top:50%;transform:translateY(-50%)} /* v1.0.8: pinned to the right edge of the centred header */
.gw-quiz-prog{margin:18px 0 8px;display:flex;justify-content:space-between;font-size:12px;color:#A67E8D;letter-spacing:1px}
.gw-quiz-bar{height:5px;background:#3A1626;border-radius:99px;overflow:hidden;margin-bottom:20px}
.gw-quiz-bar i{display:block;height:100%;background:linear-gradient(90deg,#F5D67A,#D4AF37);border-radius:99px;transition:width .35s ease}
.gw-quiz-q{font-family:'Inter',sans-serif;font-size:30px;line-height:1.2;font-weight:500;margin-bottom:8px;color:#F7EFE6}
.gw-quiz-q em{color:#D4AF37}
.gw-quiz-hint{font-size:14px;color:#A67E8D;margin-bottom:18px}
.gw-quiz-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.gw-quiz-card{background:#2A0F1D;border:1px solid #4A2233;border-radius:16px;padding:18px 12px 16px;text-align:center;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.gw-quiz-card:hover{transform:translateY(-2px);border-color:rgba(212,175,55,.6)}
.gw-quiz-card.gw-sel{border-color:#D4AF37;box-shadow:0 0 0 1px #D4AF37,0 0 28px rgba(212,175,55,.25);background:#3A1526}
.gw-quiz-card .gw-opt-ring{display:flex;align-items:center;justify-content:center;width:72px;height:72px;margin:0 auto 12px;border-radius:50%;border:1.5px solid #D4AF37;background:#FAF5EA;overflow:hidden;box-shadow:0 0 0 4px rgba(212,175,55,.12)} /* v1.0.9: 3D option icons in gold rings */
.gw-quiz-card .gw-opt-ring img{width:100%;height:100%;object-fit:cover;display:block}
.gw-quiz-card .gw-opt-ring img.gw-opt-face{object-position:center 18%} /* v1.0.9: cute statues — faces centred in the ring */
.gw-quiz-card b{display:block;font-size:15px;line-height:1.3;margin-bottom:5px;color:#F7EFE6}
.gw-quiz-card span{font-size:12px;color:#A67E8D;line-height:1.45;display:block}
.gw-quiz-card .gw-tick{display:none;margin-top:10px;font-size:12px;font-weight:700;color:#D4AF37;letter-spacing:1px}
.gw-quiz-card.gw-sel .gw-tick{display:block}
.gw-quiz-foot{margin-top:20px;position:relative;display:flex;justify-content:center;align-items:center} /* v1.0.3: dots centred; Back is absolutely placed so it cannot push them off-centre */
.gw-quiz-back{position:absolute;left:0;top:50%;transform:translateY(-50%);background:none;border:0;color:#A67E8D;font-size:14px;cursor:pointer;padding:8px 0;font-family:inherit}
.gw-quiz-dots{display:flex;gap:7px}
.gw-quiz-dots i{width:8px;height:8px;border-radius:50%;background:#4A2233}
.gw-quiz-dots i.gw-on{background:#D4AF37}
.gw-quiz-dots i.gw-done{background:#8A6D1F}
.gw-quiz-fade{animation:gwfade .3s ease}
@keyframes gwfade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.gw-quiz-loading{text-align:center;padding:80px 0;font-size:16px;color:#D8B9C4}
.gw-quiz-err{text-align:center;padding:60px 0}
.gw-quiz-err p{color:#D8B9C4;margin-bottom:20px;line-height:1.6}

/* ---------- Results ---------- */
.gw-quiz-eyebrow2{font-size:12px;letter-spacing:5px;color:#D4AF37;text-transform:uppercase;text-align:center;font-weight:700}
.gw-quiz-h1{font-family:'Inter',sans-serif;font-size:32px;font-weight:500;text-align:center;margin:10px 0 20px;color:#F7EFE6}
.gw-quiz-h1 em{color:#D4AF37}
.gw-quiz-hero{display:grid;grid-template-columns:1fr;gap:16px;align-items:center;background:#2A0F1D;border:1px solid rgba(212,175,55,.45);border-radius:26px;padding:20px;box-shadow:0 30px 70px rgba(0,0,0,.55);text-align:center} /* v1.0.5: results content centred to match the centred header */
.gw-quiz-hero img{width:100%;max-width:300px;margin:0 auto;aspect-ratio:4/5;height:auto;object-fit:cover;border-radius:16px;border:1px solid rgba(212,175,55,.5);display:block} /* v1.0.14: 4:5 frame matches the portrait product photos (0.80) exactly — full bottle, zero side gaps, no crop (contain left dark bars) */
.gw-quiz-badge{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(100deg,#F5D67A,#D4AF37 55%,#C49A2B);color:#14100B;font-size:12px;font-weight:700;letter-spacing:2px;padding:9px 18px;border-radius:999px;margin-bottom:10px}
.gw-quiz-badge svg{width:18px;height:14px}
.gw-quiz-name{font-family:'Inter',sans-serif;font-size:32px;font-weight:500;color:#F7EFE6;line-height:1.1}
.gw-quiz-notes{font-size:13px;color:#D4AF37;letter-spacing:2px;margin:8px 0 4px;text-transform:uppercase}
.gw-quiz-stars{color:#D4AF37;font-size:17px;letter-spacing:2px;margin-bottom:10px}
.gw-quiz-stars span{color:#A67E8D;font-size:13px;letter-spacing:0}
.gw-quiz-why{font-size:17px;line-height:1.7;color:#D8B9C4;margin:0 auto 12px;max-width:560px}
.gw-quiz-why b{color:#F7EFE6}
.gw-quiz-price{font-size:26px;font-weight:700;margin-bottom:12px;color:#F7EFE6}
.gw-quiz-price span{font-size:14px;color:#A67E8D;font-weight:400}
.gw-quiz-btn2{display:inline-block;border:1.5px solid #D4AF37;color:#D4AF37;font-weight:700;font-size:16px;padding:15px 30px;border-radius:999px;text-decoration:none !important;cursor:pointer;background:none;font-family:inherit}
.gw-quiz-hero .gw-quiz-btn{padding:13px 24px;font-size:15px;color:#14100B} /* v1.0.7: colour pinned at (0,2,0) — the theme link colour was overriding the single-class rule and turning Add to Cart dark slate */
.gw-quiz-hero .gw-quiz-btn2{padding:13px 24px;font-size:15px;color:#D4AF37}
.gw-quiz-btn2:hover{background:rgba(212,175,55,.12)}
.gw-quiz-alt{margin-top:28px}
.gw-quiz-alt h3,.gw-quiz-alt .gw-quiz-h3{font-family:'Inter',sans-serif;font-size:24px;font-weight:500;margin-bottom:14px;text-align:center;color:#F7EFE6}
.gw-quiz-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px} /* v1.0.5: alternates side by side, bigger photos */
.gw-quiz-acard{background:#2A0F1D;border:1px solid rgba(212,175,55,.35);border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center;text-decoration:none !important}
.gw-quiz-acard img{width:100%;aspect-ratio:4/5;height:auto;object-fit:cover;border-radius:10px;border:1px solid rgba(212,175,55,.35);display:block} /* v1.0.14: 4:5 frame matches the portrait product photos (0.80) exactly — full bottle, zero side gaps, no crop */
.gw-quiz-acard b{font-family:'Inter',sans-serif;font-size:18px;display:block;color:#F7EFE6}
.gw-quiz-acard span{font-size:13px;color:#A67E8D;display:block;margin:4px 0 6px}
.gw-quiz-acard .gw-p{font-weight:700;font-size:15px;color:#D4AF37;margin:4px 0 0}
.gw-quiz-acard .gw-shop{font-size:13px;color:#D4AF37;font-weight:700;margin:2px 0 0}
.gw-quiz-band2{margin-top:28px;background:linear-gradient(100deg,#F5D67A,#D4AF37 55%,#C49A2B);border-radius:20px;padding:20px 18px;display:flex;flex-direction:column;text-align:center;align-items:center;color:#14100B;gap:12px}
.gw-quiz-band2 b{font-family:'Inter',sans-serif;font-size:20px;font-weight:500;display:block;margin-bottom:4px}
.gw-quiz-band2 span{font-size:14px;color:#4A3A10}
.gw-quiz-band2 .gw-quiz-btn{background:#14100B;color:#D4AF37;margin:0;box-shadow:none;white-space:nowrap;padding:13px 24px;font-size:15px}
.gw-quiz-retake{text-align:center;margin-top:16px;font-size:14px;color:#A67E8D}
.gw-quiz-retake a,.gw-quiz-retake button{background:none;border:0;color:#D4AF37;cursor:pointer;font-size:14px;text-decoration:underline;padding:0;font-family:inherit}

/* ---------- Mobile ---------- */
@media(max-width:781px){
  .gw-quiz-in{grid-template-columns:1fr;gap:28px;padding:44px 20px 20px}
  .gw-quiz-title{font-size:32px}
  .gw-quiz-sub{font-size:15.5px;margin:18px 0 24px}
  .gw-quiz-btn{display:block;text-align:center;padding:16px 24px}
  .gw-quiz-photos{height:210px}
  .gw-quiz-glow{right:0;top:0;width:300px;height:210px}
  .gw-quiz-ring{display:none}
  .gw-quiz-photos img{width:31%;height:190px;position:absolute;top:8px}
  .gw-quiz-photos img.gw-qp-a{left:0;top:8px;transform:rotate(-3deg)}
  .gw-quiz-photos img.gw-qp-b{left:34.5%;top:8px;transform:none;z-index:2}
  .gw-quiz-photos img.gw-qp-c{left:69%;top:8px;transform:rotate(3deg)}
  .gw-quiz-strip{padding:20px 20px 40px}
  .gw-quiz-chip{font-size:12px;padding:8px 14px;letter-spacing:1px}
  .gw-quiz-q{font-size:20px}
  .gw-quiz-top .gw-quiz-t{font-size:18px}
  .gw-quiz-headline{font-size:14px}
  .gw-quiz-close{padding:4px}
  .gw-quiz-prog{margin:14px 0 6px}
  .gw-quiz-bar{margin-bottom:14px}
  .gw-quiz-hint{margin-bottom:14px}
  .gw-quiz-card{padding:14px 8px 12px}
  .gw-quiz-card .gw-opt-ring{width:64px;height:64px;margin-bottom:10px}
  .gw-quiz-card b{font-size:14px}
  .gw-quiz-foot{margin-top:16px}
  .gw-quiz-overlay{padding:16px}
  .gw-quiz-shell{max-height:86vh;border-radius:18px;padding:16px 16px}
  .gw-quiz-hero{grid-template-columns:1fr;gap:16px;padding:14px}
  .gw-quiz-hero img{max-width:260px} /* v1.0.14: narrower on mobile so the 4:5 bottle fits the small screen */
  .gw-quiz-name{font-size:28px}
  .gw-quiz-h1{font-size:22px;margin:8px 0 14px}
  .gw-quiz-cards{grid-template-columns:1fr 1fr;gap:12px}
  .gw-quiz-acard{padding:12px}
  .gw-quiz-acard b{font-size:16px}
  .gw-quiz-acard .gw-p{font-size:14px}
  .gw-quiz-why{font-size:15px;line-height:1.6}
  .gw-quiz-band2{flex-direction:column;text-align:center;padding:18px 16px}
  .gw-quiz-band2 .gw-quiz-btn{white-space:normal}
  .gw-quiz-hero .gw-quiz-btn,.gw-quiz-hero .gw-quiz-btn2{display:inline-block;padding:11px 16px;font-size:14px;margin:0 4px}
}
