/* BN Bundles & Smart Offers — storefront styles. Colours and fonts come from the theme (currentColor / inherit). */
.bnbo-bundle{border:1px solid currentColor;border-radius:4px;padding:1rem 1.25rem;margin:1.5rem 0}

/* Pack title: the theme's own heading style (font, colour, case), sized ~28–32px. */
.bnbo-bundle .bnbo-bundle__title{margin:0 0 .5rem;font-size:clamp(1.75rem,1.5rem + .8vw,2rem);line-height:1.1;letter-spacing:.02em}

/* One card per shirt. The legend floats inside the card so a long, wrapped shirt name never crosses the card border. */
.bnbo-bundle__piece{border:1px solid rgba(127,127,127,.4);border-radius:4px;margin:0 0 .75rem;padding:.75rem 1rem 1rem;min-width:0}
.bnbo-bundle__piece[aria-invalid=true]{border-color:#b32d2e}
.bnbo-bundle__piece>legend{float:left;width:100%;margin:0 0 .5rem;padding:0;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.bnbo-bundle__piece>legend+*{clear:both}
.bnbo-bundle__piece>legend a{color:inherit;display:inline-flex;align-items:center;min-height:44px;text-underline-offset:3px}

/* Shirt Type, Color and Size: stacked on phones, one responsive row on wider screens. */
.bnbo-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:.75rem 1rem;clear:both}
@media (min-width:641px){.bnbo-fields{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr))}}
.bnbo-field{display:flex;flex-direction:column;align-items:stretch;gap:.35rem;margin:0;min-width:0}
.bnbo-field label{display:block;margin:0;font-weight:500}
.bnbo-bundle .bnbo-field select,.bnbo-bundle .bnbo-field input{width:100%;max-width:100%;min-width:0;min-height:48px;margin:0}

/* Size Guide link: under the Size select, a full-size tap target. */
.bnbo-bundle .bnbo-sg-link{display:inline-flex;align-items:center;align-self:flex-start;min-height:44px;padding:0 .25rem;margin-left:-.25rem;color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.bnbo-bundle .bnbo-sg-link:hover{text-decoration-thickness:2px}

.bnbo-bundle__price{margin:.5rem 0 0}
.bnbo-bundle__errors{border-left:4px solid #b32d2e;padding:.5rem .75rem;margin:.5rem 0}
.bnbo-bundle__field-error{color:#b32d2e;margin:.25rem 0 0}
.bnbo-bundle__total{font-weight:600}
.bnbo-bundle__total p{margin:.15rem 0}

/* Add to cart: at least 44px tall everywhere (48px here). */
.bnbo-bundle__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin:.75rem 0 0}
.bnbo-bundle .bnbo-bundle__add{display:inline-flex;align-items:center;justify-content:center;min-height:48px;box-sizing:border-box}
.bnbo-bundle .bnbo-bundle__add[disabled]{opacity:.65;cursor:not-allowed}
.bnbo-preview-note{font-size:.9em}

/* Keyboard focus: always visible, in the text colour of the theme. */
.bnbo-bundle a:focus-visible,.bnbo-bundle select:focus-visible,.bnbo-bundle input:focus-visible,.bnbo-bundle button:focus-visible,.bnbo-offer button:focus-visible{outline:2px solid currentColor;outline-offset:2px}

.bnbo-offer{border:1px solid rgba(127,127,127,.5);border-radius:4px;padding:.75rem;margin:.75rem 0}
.bnbo-offer__heading{font-size:1rem;margin:0 0 .5rem}
.bnbo-offer__body{display:flex;gap:.75rem;align-items:flex-start}
.bnbo-offer__body p{margin:0 0 .25rem}
.bnbo-offer__name{font-weight:600}
.bnbo-offer__actions{display:flex;gap:.75rem;align-items:center;margin-top:.5rem}
.bnbo-offer__decline{background:none;border:0;text-decoration:underline;cursor:pointer;min-height:44px;padding:0 .5rem}
.bnbo-packs{display:grid;gap:1.5rem}
.bnbo-bundle__blurb,.bnbo-bundle__offer,.bnbo-bundle__note{margin:.25rem 0 .75rem}
.bnbo-preview-banner{border:2px dashed currentColor;padding:.75rem 1rem;margin:1rem 0}
.bnbo-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media (max-width:640px){
	.bnbo-bundle{padding:.75rem}
	.bnbo-bundle__piece{padding:.75rem}
}

/* Size Guide popup (same look as the WearBN product-page Size Guide popup; shows the published Size Guide page). */
.bnbo-sgm{padding:0;border:1px solid #FFFFFF26;border-radius:6px;background:#0B0B0D;color:#EDE7DE;width:min(960px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:hidden;box-shadow:0 20px 60px #000000B3}
.bnbo-sgm::backdrop{background:#000000BF}
.bnbo-sgm__inner{display:flex;flex-direction:column;max-height:calc(100dvh - 34px)}
.bnbo-sgm__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #FFFFFF1A;background:#0B0B0D;flex:0 0 auto}
.bnbo-sgm__title{margin:0;font-family:"Bebas Neue",sans-serif;font-size:1.5rem;letter-spacing:.04em;color:#EDE7DE;font-weight:400}
.bnbo-sgm__close{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 14px;border:1px solid #C9A227;border-radius:3px;background:transparent;color:#EDE7DE;font-family:inherit;font-weight:700;font-size:.85rem;line-height:1;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.bnbo-sgm__close:hover{background:#C9A2271A}
.bnbo-sgm__close:focus-visible,.bnbo-sgm a:focus-visible{outline:2px solid #E0B84F;outline-offset:2px}
.bnbo-sgm__body{overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:0 0 16px;flex:1 1 auto}
.bnbo-sgm__body .elementor{max-width:100%}
.bnbo-sgm__body .bn-size-chart{overflow-x:auto}
.bnbo-sgm__status{padding:24px 16px;color:#C9C3BA}
.bnbo-sgm__status a{color:#EDE7DE;font-weight:700;display:inline-flex;align-items:center;min-height:44px}
html.bnbo-sgm-open{overflow:hidden}
@media (max-width:640px){
	.bnbo-sgm{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;border:0}
	.bnbo-sgm__inner{max-height:100dvh;height:100dvh}
	.bnbo-sgm__title{font-size:1.3rem}
}
