/* Group Access public purchase layout. The lower service builder remains governed by shared builder CSS. */
.bom-custom-package-builder--group-access .bom-group-access-package-title{
  margin:0 0 14px;text-align:center;line-height:1.2
}
.bom-custom-package-builder--group-access .bom-custom-package-hero{padding:14px 18px 12px}
.bom-custom-package-builder--group-access .bom-custom-package-hero-top{
  display:block;width:100%;padding:12px;border:1px solid var(--bom-cpkg-summary-border);border-radius:var(--bom-cpkg-summary-radius);background:var(--bom-cpkg-summary-bg)
}
.bom-custom-package-builder--group-access .bom-custom-package-hero-copy,
.bom-custom-package-builder--group-access .bom-custom-package-description{display:none}
.bom-custom-package-builder--group-access .bom-custom-package-summary--group-access{width:100%;min-width:0}
.bom-custom-package-builder--group-access .bom-group-access-summary-grid{
  display:grid;grid-template-columns:minmax(165px,1.25fr) minmax(145px,1fr) repeat(3,minmax(105px,.82fr)) minmax(145px,.95fr);
  gap:8px;width:100%;align-items:start
}

/* Add Credit and Credit Applied are independent, stable cards. */
.bom-custom-package-builder--group-access .bom-group-access-credit-card,
.bom-custom-package-builder--group-access .bom-custom-package-summary-card{
  box-sizing:border-box;min-width:0;height:82px;min-height:82px;padding:8px 10px;border:1px solid var(--bom-cpkg-summary-border);border-radius:var(--bom-cpkg-summary-radius);background:var(--bom-cpkg-summary-box-bg)
}
.bom-custom-package-builder--group-access .bom-custom-package-summary-card-price{background:var(--bom-cpkg-summary-price-bg)}
.bom-custom-package-builder--group-access .bom-custom-package-summary-card--saving{background:var(--bom-cpkg-saving-bg);border-color:var(--bom-cpkg-saving-border);border-radius:var(--bom-cpkg-saving-radius)}
.bom-custom-package-builder--group-access .bom-group-access-credit-card{
  display:grid;grid-template-rows:19px 32px;align-content:center;gap:7px;text-align:left
}
.bom-custom-package-builder--group-access .bom-group-access-credit-card>strong,
.bom-custom-package-builder--group-access .bom-custom-package-summary-card>strong{
  margin:0;font-size:var(--bom-cpkg-summary-label-size)!important;line-height:1.1!important;font-weight:var(--bom-cpkg-summary-label-weight)!important;font-style:var(--bom-cpkg-summary-label-style)!important;color:var(--bom-cpkg-summary-label-color)
}
.bom-custom-package-builder--group-access .bom-custom-package-top-up-entry{
  display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:6px;align-items:center;min-width:0
}
.bom-custom-package-builder--group-access .bom-custom-package-top-up-entry label{
  display:flex;align-items:center;gap:4px;min-width:0;height:32px;padding:0 8px;border:1px solid #cfd5d0;border-radius:7px;background:#fff;font-weight:750
}
.bom-custom-package-builder--group-access .bom-custom-package-top-up-entry input{
  width:100%;min-width:0;border:0!important;box-shadow:none!important;padding:5px 0!important;font-size:16px!important;font-weight:800!important
}
.bom-custom-package-builder--group-access button.bom-custom-package-top-up-icon-button,
.bom-custom-package-builder--group-access button.bom-custom-package-top-up-delete{
  display:inline-grid!important;place-items:center!important;position:static!important;top:auto!important;right:auto!important;
  width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;max-width:32px!important;
  padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;cursor:pointer!important
}
.bom-custom-package-builder--group-access button.bom-custom-package-top-up-delete[hidden]{display:none!important}
.bom-custom-package-builder--group-access button.bom-custom-package-top-up-icon-button{color:#7a3db8!important}
.bom-custom-package-builder--group-access button.bom-custom-package-top-up-delete{color:#b4232a!important}
.bom-custom-package-builder--group-access .bom-custom-package-top-up-icon-button svg,
.bom-custom-package-builder--group-access .bom-custom-package-top-up-delete svg{
  width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round
}
.bom-custom-package-builder--group-access button.bom-custom-package-top-up-delete svg path{fill:none!important;stroke:currentColor!important}
.bom-custom-package-builder--group-access .bom-custom-package-top-up-applied{
  display:grid!important;grid-template-columns:minmax(0,auto) 32px!important;justify-content:start;align-items:center;gap:8px;
  position:static!important;margin:0!important;padding:0!important;min-height:32px!important;color:#1c3622
}
.bom-custom-package-builder--group-access .bom-custom-package-top-up-applied>strong{
  display:block;justify-self:start;font-size:var(--bom-cpkg-summary-value-size)!important;line-height:1!important;font-weight:var(--bom-cpkg-summary-value-weight);font-style:var(--bom-cpkg-summary-value-style);color:var(--bom-cpkg-summary-value-color);font-variant-numeric:tabular-nums
}
.bom-custom-package-builder--group-access .bom-custom-package-top-up-error{margin:0;color:#9b1c1c;font-size:13px;font-weight:650;grid-column:1/-1}

/* Cost, Saving and Total are compact two-line cards. */
.bom-custom-package-builder--group-access .bom-custom-package-summary-card{
  display:grid;grid-template-rows:19px 32px;align-content:center;justify-items:center;gap:7px;text-align:center
}
.bom-custom-package-builder--group-access .bom-custom-package-summary-card>strong{align-self:end;text-align:center;white-space:nowrap}
.bom-custom-package-builder--group-access .bom-custom-package-summary-card>span,
.bom-custom-package-builder--group-access .bom-custom-package-saving-amount-card{
  align-self:start;font-size:var(--bom-cpkg-summary-value-size)!important;line-height:1!important;font-weight:var(--bom-cpkg-summary-value-weight)!important;font-style:var(--bom-cpkg-summary-value-style)!important;color:var(--bom-cpkg-summary-value-color);font-variant-numeric:tabular-nums
}
.bom-custom-package-builder--group-access .bom-custom-package-saving-percent{
  display:inline!important;margin:0 0 0 3px;padding:0;font:inherit!important;line-height:inherit!important;color:var(--bom-cpkg-saving-percent-color);white-space:nowrap
}
.bom-custom-package-builder--group-access .bom-custom-package-saving-percent:empty{display:none!important}

/* Matching action geometry, using configured primary radius. */
.bom-custom-package-builder--group-access .bom-group-access-action-stack{
  display:flex;flex-direction:column;justify-content:flex-start;gap:8px;min-width:0
}
.bom-custom-package-builder--group-access .bom-group-access-action-stack .bom-group-access-summary-action,
.bom-custom-package-builder--group-access button.bom-custom-package-continue.bom-group-access-summary-action{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;
  height:46px!important;min-height:46px!important;margin:0!important;padding:var(--bom-cpkg-primary-padding)!important;border:var(--bom-cpkg-primary-border-width) solid var(--bom-cpkg-primary-border)!important;
  border-radius:var(--bom-cpkg-primary-radius,10px)!important;font-family:inherit!important;font-size:var(--bom-cpkg-primary-size)!important;font-weight:var(--bom-cpkg-primary-weight)!important;font-style:var(--bom-cpkg-primary-style)!important;
  line-height:1.15!important;text-align:center!important;text-decoration:none!important;box-sizing:border-box!important
}
.bom-custom-package-builder--group-access button.bom-custom-package-continue.bom-group-access-summary-action{background:var(--bom-cpkg-primary-bg)!important;color:var(--bom-cpkg-primary-color)!important}
.bom-custom-package-builder--group-access .bom-group-access-summary-action--enquire{background:#fff!important;color:#111!important}
.bom-custom-package-builder--group-access .bom-group-access-summary-action--enquire:hover{background:#fff8f3!important}
.bom-custom-package-builder--group-access .bom-group-access-purchase-form{display:block!important;width:0!important;height:0!important;margin:0!important;overflow:hidden!important}
.bom-custom-package-builder--group-access .bom-custom-package-summary-title,
.bom-custom-package-builder--group-access .bom-group-access-public-card,
.bom-custom-package-builder--group-access .bom-public-access-lock{display:none!important}

.bom-group-access-enquiry-success{margin:14px 18px;padding:14px 16px;border:1px solid #d8d8df;border-left:5px solid #e86f24;background:#fff}
.bom-group-access-enquiry-success strong{display:block;font-size:16px}
.bom-group-access-enquiry-success p{margin:4px 0 0;font-size:14px;line-height:1.4}

@media(max-width:1120px){
  .bom-custom-package-builder--group-access .bom-group-access-summary-grid{
    grid-template-columns:minmax(165px,1.2fr) minmax(145px,1fr) repeat(3,minmax(100px,.8fr))
  }
  .bom-custom-package-builder--group-access .bom-group-access-action-stack{
    grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media(max-width:820px){
  .bom-custom-package-builder--group-access .bom-custom-package-hero{padding:10px}
  .bom-custom-package-builder--group-access .bom-group-access-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bom-custom-package-builder--group-access .bom-custom-package-summary-card--package{grid-column:1/-1}
  .bom-custom-package-builder--group-access .bom-group-access-action-stack{grid-column:1/-1}
}
@media(max-width:520px){
  .bom-custom-package-builder--group-access .bom-group-access-summary-grid{grid-template-columns:1fr}
  .bom-custom-package-builder--group-access .bom-custom-package-summary-card--package{grid-column:auto}
  .bom-custom-package-builder--group-access .bom-group-access-action-stack{grid-template-columns:1fr}
}
