/* V233 — quick-buy package groups, dark verified profile, aligned CTAs */
.hero-v11-buy .qb-package-group-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px}
.hero-v11-buy .qb-package-group-tab{min-height:56px;border:1px solid #d8e1ef;border-radius:14px;background:#fff;color:#26334a;padding:8px 10px;display:flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-size:12px;font-weight:850;cursor:pointer;text-align:center}
.hero-v11-buy .qb-package-group-tab small{min-width:24px;height:24px;border-radius:999px;display:grid;place-items:center;background:#eef2ff;color:#5263da;font-size:10px;font-weight:900}
.hero-v11-buy .qb-package-group-tab.is-active{border-color:#5368ee;background:#f2f5ff;color:#3044ce;box-shadow:0 8px 20px rgba(65,83,200,.10)}
.hero-v11-buy .qb-package-group-tab:disabled{opacity:.38;cursor:not-allowed}
.hero-v11-buy .qb-package-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
.hero-v11-buy .qb-package-pro-card{position:relative;min-height:96px!important;padding:12px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) minmax(92px,auto)!important;align-items:center!important;gap:10px!important;text-align:left!important;border-radius:16px!important}
.hero-v11-buy .qb-package-check{width:30px;height:30px;border-radius:9px;background:#eef1f7;border:1px solid #dde4ef;display:grid;place-items:center;font-size:16px;font-weight:900;color:#fff}
.hero-v11-buy .qb-package-pro-card[aria-pressed="true"] .qb-package-check{background:#25cfa4;border-color:#25cfa4}
.hero-v11-buy .qb-package-pro-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.hero-v11-buy .qb-package-pro-copy strong{font-size:18px!important;line-height:1.05!important;color:#22304a}
.hero-v11-buy .qb-package-pro-copy span{font-size:11px;color:#6d7b93}
.hero-v11-buy .qb-package-pro-price{min-width:92px;border-radius:12px;background:#ecfaf5;padding:9px 10px;display:flex;flex-direction:column;align-items:center;gap:5px;white-space:nowrap}
.hero-v11-buy .qb-package-pro-price b{font-size:13px;color:#22c89f}
.hero-v11-buy .qb-package-pro-price small{font-size:9px;color:#1fb98f;border:1px solid #52d5b5;border-radius:999px;padding:3px 7px}
.hero-v11-buy .qb-package-pro-badge{position:absolute;top:-8px;left:50%;transform:translateX(-50%);font-style:normal;background:#ff7b2d;color:#fff;border-radius:999px;padding:4px 8px;font-size:8px;font-weight:900;line-height:1;white-space:nowrap}

/* Verified profile state: proper dark mode */
html[data-theme="dark"] .hero-v11-buy .qb-profile{background:#142239!important;border:1px solid #2f4565!important;color:#eef4ff!important;box-shadow:none!important}
html[data-theme="dark"] .hero-v11-buy .qb-profile b{color:#f3f7ff!important}
html[data-theme="dark"] .hero-v11-buy .qb-profile small,html[data-theme="dark"] .hero-v11-buy .qb-profile label{color:#c5d1e6!important}
html[data-theme="dark"] .hero-v11-buy .qb-profile>[data-qb-avatar],html[data-theme="dark"] .hero-v11-buy .qb-profile>span:first-child{background:#1c2d47!important;color:#9db0ff!important;border:1px solid #304968!important}
html[data-theme="dark"] .hero-v11-buy .qb-profile input[type="checkbox"]{accent-color:#27cfa4;background:#101b2e;border-color:#53627a}
html[data-theme="dark"] .hero-v11-buy .qb-package-group-tab{background:#1b2941;color:#eaf1ff;border-color:#364861}
html[data-theme="dark"] .hero-v11-buy .qb-package-group-tab small{background:#253454;color:#cdd7ff}
html[data-theme="dark"] .hero-v11-buy .qb-package-group-tab.is-active{background:#2b315d;border-color:#7a84ff;color:#fff}
html[data-theme="dark"] .hero-v11-buy .qb-package-pro-copy strong{color:#f0f5ff}
html[data-theme="dark"] .hero-v11-buy .qb-package-pro-copy span{color:#b8c6db}
html[data-theme="dark"] .hero-v11-buy .qb-package-check{background:#24344f;border-color:#39506f}
html[data-theme="dark"] .hero-v11-buy .qb-package-pro-price{background:#173a36}

/* Keep the two primary CTAs aligned; secondary link below. */
.hero-v11-buy .qb-flex-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important;margin-top:12px!important}
.hero-v11-buy .qb-flex-actions>.hero-v11-buy-button,.hero-v11-buy .qb-flex-actions>.qb-buy-now{grid-row:1!important;min-height:52px!important;height:52px!important;margin:0!important;border-radius:14px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.hero-v11-buy .qb-flex-actions>.qb-continue-shopping{grid-column:1/-1!important;grid-row:2!important;justify-self:center!important;width:auto!important;height:auto!important;min-height:32px!important;padding:4px 12px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--link,#5364e8)!important;font-weight:800!important}

@media(max-width:760px){
  .hero-v11-buy .qb-package-group-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .hero-v11-buy .qb-package-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .hero-v11-buy .qb-package-pro-card{grid-template-columns:28px minmax(0,1fr)!important;grid-template-rows:auto auto!important;min-height:112px!important}
  .hero-v11-buy .qb-package-pro-price{grid-column:1/-1!important;width:100%!important;min-width:0!important}
  .hero-v11-buy .qb-flex-actions{grid-template-columns:1fr 1fr!important}
}
@media(max-width:420px){
  .hero-v11-buy .qb-flex-actions{grid-template-columns:1fr!important}
  .hero-v11-buy .qb-flex-actions>.hero-v11-buy-button,.hero-v11-buy .qb-flex-actions>.qb-buy-now{grid-column:1!important;grid-row:auto!important}
  .hero-v11-buy .qb-flex-actions>.qb-continue-shopping{grid-column:1!important;grid-row:auto!important}
}
