/* Golf Gear Lab — funnel elements: verdict buy boxes, at-a-glance tables,
   top-pick strips, CTA panels and the sticky buy bar.
   Palette matches the site dark theme: panels #111a15 / #0d1512,
   text #d7e2da / #eef4ee, links #9fe870, accent #b8ff3d, price #ffd84d. */

.ggl-buybox {
  background: #111a15;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 16px 20px 8px;
  margin: 22px 0;
  color: #d7e2da;
}
.ggl-buybox-h, .ggl-glance-h, .ggl-toppicks-h {
  color: #eef4ee;
  margin: 0 0 6px;
  font-size: 1.25rem;
  line-height: 1.3;
}
.ggl-buybox-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.ggl-buybox-prod { color: #eef4ee; font-size: 1.02rem; }
.ggl-buybox-score { color: #9fe870; font-weight: 700; white-space: nowrap; }
.ggl-buybox-price { color: #ffd84d; font-weight: 700; white-space: nowrap; }
.ggl-buybox-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ggl-cta-sub { color: #d7e2da; margin: 0 0 6px; }
.ggl-cta-panel {
  background: #111a15;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 22px 0;
  color: #d7e2da;
}
.ggl-next-btns { margin: 10px 0 2px; display: flex; flex-wrap: wrap; gap: 10px; }

.ggl-btn {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 9px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none !important;
}
.ggl-btn-pb, .ggl-btn-guide { background: #b8ff3d; color: #07100d !important; }
.ggl-btn-inline { padding: 7px 11px; font-size: .9em; }
.ggl-li-btns { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-left: 8px; vertical-align: middle; }

.ggl-glance { margin: 22px 0; }
.ggl-glance-table {
  width: 100%;
  border-collapse: collapse;
  background: #111a15;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  overflow: hidden;
  color: #d7e2da;
}
.ggl-glance-table th, .ggl-glance-table td {
  padding: 10px 12px;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, .08);
  vertical-align: middle;
}
.ggl-glance-table thead th {
  border-top: 0;
  color: #eef4ee;
  background: #0d1512;
}
.ggl-glance-table td a { color: #9fe870; }

.ggl-toppicks { margin: 22px 0; }
.ggl-toppicks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.ggl-toppick {
  background: #111a15;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  padding: 14px 16px;
  color: #eef4ee;
}
.ggl-toppick a { color: #9fe870; }
.ggl-toppick .ggl-buybox-btns { margin-top: 10px; }

.ggl-ext-review {
  border-left: 3px solid #b8ff3d;
  padding: 4px 0 4px 14px;
  margin: 18px 0;
}
.ggl-ext-label { color: #eef4ee; font-weight: 700; margin: 0 0 6px; }

/* Sticky buy bar (populated by assets/js/ggl-buybar.js) */
.ggl-buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  background: #0d1512;
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding: 10px 14px;
  color: #eef4ee;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .45);
}
.ggl-buybar-show { display: flex; }
.ggl-buybar-name { font-weight: 800; }
.ggl-buybar-close {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #d7e2da;
  border-radius: 8px;
  font-size: 1.05rem;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
}
body.ggl-buybar-pad { padding-bottom: 84px; }

@media (max-width: 640px) {
  .ggl-buybox-row { flex-direction: column; align-items: flex-start; }
  .ggl-glance-table th:nth-child(2), .ggl-glance-table td:nth-child(2) { display: none; }
  .ggl-buybar .ggl-btn { padding: 9px 12px; font-size: .92em; }
}

/* === Quiet Check Price (layout reorganisation, 27 Nov 2026) ===
   One quiet treatment for every Check Price button: dark panel fill,
   green text/border. Replaces all lime treatments. Selectors are
   specificity-strengthened to beat incumbent !important rules. */
.ggl-btn-pb, .ggl-btn-guide, a.us-amazon-button.us-amazon-button, #main a.us-amazon-button, #main a.pb42200.pb42200, a.pb42200-btn.pb42200-btn, a.pb-cta.pb-cta, html body a.pb42230-btn.pb42230-btn, #main a.gp-buy.gp-buy, a.gp-buy.gp-buy, a.us-buybar-btn.us-buybar-btn, a.pkg-price.pkg-price, .us-top-pick-buy.us-top-pick-buy, a.gbt-price.gbt-price, a.ggl-premium-buy, .ggl-region-panel a.ggl-region-cta.ggl-region-cta, a.ggl53-cta.ggl53-cta, a.g60-cta.g60-cta, a.ggl-cp-quiet.ggl-cp-quiet, #main a.ggl-cp-quiet {
  background: #0d1512 !important;
  color: #9fe870 !important;
  -webkit-text-fill-color: #9fe870 !important;
  border: 1px solid #9fe870 !important;
  box-shadow: none !important;
}
.ggl-btn-pb:hover, .ggl-btn-guide:hover, a.us-amazon-button.us-amazon-button:hover, #main a.us-amazon-button:hover, #main a.pb42200.pb42200:hover, a.pb42200-btn.pb42200-btn:hover, a.pb-cta.pb-cta:hover, html body a.pb42230-btn.pb42230-btn:hover, #main a.gp-buy.gp-buy:hover, a.gp-buy.gp-buy:hover, a.us-buybar-btn.us-buybar-btn:hover, a.pkg-price.pkg-price:hover, .us-top-pick-buy.us-top-pick-buy:hover, a.gbt-price.gbt-price:hover, a.ggl-premium-buy:hover, .ggl-region-panel a.ggl-region-cta.ggl-region-cta:hover, a.ggl53-cta.ggl53-cta:hover, a.g60-cta.g60-cta:hover, a.ggl-cp-quiet.ggl-cp-quiet:hover, #main a.ggl-cp-quiet:hover {
  background: #183f2d !important;
  color: #eef4ee !important;
  -webkit-text-fill-color: #eef4ee !important;
  border-color: #b8ff3d !important;
}
/* Scoped win over the ggl42238 aside contrast rule (best-golf-simulators illegibility):
   (0,3,3) beats the aside's (0,2,3) !important color/-webkit-text-fill-color. */
html body .ggl42238-guide.ggl42238-guide a.ggl-btn-pb,
html body .ggl42238-guide.ggl42238-guide a.ggl-btn-guide {
  background: #0d1512 !important;
  color: #9fe870 !important;
  -webkit-text-fill-color: #9fe870 !important;
  border: 1px solid #9fe870 !important;
}
/* Amazon text links stay links; colour aligned to the quiet palette. */
a.us-amazon-textlink {
  color: #9fe870 !important;
  -webkit-text-fill-color: #9fe870 !important;
}

/* Beat the legacy core rule html body main a[href*="playbetter.com/products/"] (0,1,4)
   which restyled every PlayBetter product link lime. (0,2,4) wins. */
html body main a.ggl-btn-pb[href*="playbetter.com/products/"],
html body main a.ggl-btn-guide[href*="playbetter.com/products/"] {
  background: #0d1512 !important;
  color: #9fe870 !important;
  -webkit-text-fill-color: #9fe870 !important;
  border: 1px solid #9fe870 !important;
  box-shadow: none !important;
}
html body main a.ggl-btn-pb[href*="playbetter.com/products/"]:hover,
html body main a.ggl-btn-guide[href*="playbetter.com/products/"]:hover {
  background: #183f2d !important;
  color: #eef4ee !important;
  -webkit-text-fill-color: #eef4ee !important;
  border-color: #b8ff3d !important;
}

/* Quick-verdict (gv) buttons: the per-page inline gv style block sits after the
   head stylesheets and ties the Quiet rule at (1,2,1); (1,3,1) wins. */
html body #main .gv a.gv-buy.gv-buy {
  background: #0d1512 !important;
  color: #9fe870 !important;
  -webkit-text-fill-color: #9fe870 !important;
  border: 1px solid #9fe870 !important;
  box-shadow: none !important;
}
html body #main .gv a.gv-buy.gv-buy:hover {
  background: #183f2d !important;
  color: #eef4ee !important;
  -webkit-text-fill-color: #eef4ee !important;
  border-color: #b8ff3d !important;
}
