/* Scoped extensions of the current theme's shared .nw-pcard component. */
.nw-bundles {
	--nb-green: var(--principale, #0c4e2b);
	--nb-ink: #202b25;
	--nb-muted: #526258;
	--nb-line: #dce5de;
	--nb-accent: #a34432;
	color: var(--nb-ink);
	font-family: 'Lato', system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 0;
}
.nw-bundles *, .nw-bundles *::before, .nw-bundles *::after { box-sizing: border-box; letter-spacing: 0; }
.nw-bundles__inner { width: 100%; max-width: var(--content, 1360px); padding: 0 24px; margin: 0 auto; }
.nw-bundles--catalog { padding: 24px 0 48px; background: #fff; }
.nw-bundles h1, .nw-bundles h2, .nw-bundles h3 { color: var(--nb-ink); text-transform: none; overflow-wrap: anywhere; }
.nw-bundles h1 { font: 600 32px/1.2 'Lora', Georgia, serif; margin: 0 0 8px; }
.nw-bundles h2 { font: 600 24px/1.3 'Lora', Georgia, serif; margin: 0 0 20px; }
.nw-bundles a { color: var(--nb-green) !important; }
.nw-bundles :is(a, button, input, select):focus-visible { outline: 3px solid var(--nb-accent); outline-offset: 3px; }
.nw-bundles svg { flex: 0 0 auto; width: 20px; height: 20px; }
.nw-bundles__intro { margin-bottom: 18px; }
.nw-bundles__intro > p { margin: 0 0 8px; max-width: 80ch; }
.nw-bundles .nw-bundles__shipping { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 100%; padding: 8px 12px; border-left: 3px solid var(--nb-green); background: #edf5ef; color: var(--nb-green); font-size: 15px; font-weight: 700; }
.nw-bundles__shipping strong { font-size: 20px; }
.nw-bundles__filters { margin: 0; }
.nw-bundles__types { display: flex; flex-wrap: wrap; gap: 8px 24px; border: 0; border-bottom: 1px solid var(--nb-line); padding: 0; margin: 0 0 14px; min-width: 0; }
.nw-bundles__type { position: relative; margin: 0; cursor: pointer; font-weight: 700; }
.nw-bundles__type input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.nw-bundles__type > span { display: block; padding: 10px 0; border-bottom: 3px solid transparent; color: var(--nb-muted); }
.nw-bundles__type small { font-size: 13px; font-weight: 400; }
.nw-bundles__type input:checked + span { color: var(--nb-green); border-bottom-color: var(--nb-green); }
.nw-bundles__type input:focus-visible + span { outline: 3px solid var(--nb-accent); outline-offset: 3px; }
.nw-bundles__controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.nw-bundles__controls label { display: grid; gap: 4px; min-width: 0; margin: 0; font-size: 13px; font-weight: 700; }
.nw-bundles__controls :is(input, select) { display: block; width: 100%; min-width: 0; height: 44px; padding: 8px 12px; border: 1px solid #a8b9ae; border-radius: 4px; background-color: #fff; color: var(--nb-ink); font: 400 15px/1.4 'Lato', system-ui, sans-serif; }
.nw-bundles__apply { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 9px 16px; border: 1px solid var(--nb-green); border-radius: 4px; background: var(--nb-green); color: #fff; font: 700 15px/1.4 'Lato', system-ui, sans-serif; cursor: pointer; }
.nw-bundles__apply:hover { background: #083d21; color: #fff; }
.nw-bundles__results { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0; font-size: 14px; }
.nw-bundles__results p { margin: 0; color: var(--nb-muted); }
.nw-bundles__results a { text-decoration: underline; }
.nw-bundles__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.nw-bundles .nw-bundles__card { display: flex; flex-direction: column; min-width: 0; margin: 0; border: 1px solid var(--nb-line); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: none; transform: none; }
.nw-bundles .nw-bundles__card:hover { border-color: #96b29f; box-shadow: none; transform: none; }
.nw-bundles .nw-pcard__media { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; padding: 12px; border: 0; border-bottom: 1px solid var(--nb-line); border-radius: 0; background: #fff; overflow: hidden; }
.nw-bundles__packshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 6px; width: 100%; height: 100%; min-width: 0; overflow: hidden; }
.nw-bundles__packshots--single { grid-template-columns: minmax(0, 1fr); }
.nw-bundles__packshots--trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nw-bundles__packshots--quad { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.nw-bundles__packshot { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; height: 100%; overflow: hidden; font-size: 13px; text-align: center; overflow-wrap: anywhere; }
.nw-bundles .nw-bundles__packshot img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; padding: 0; border-radius: 0; object-fit: contain; transform: none; opacity: 1; }
.nw-bundles__photo { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.nw-bundles .nw-bundles__photo img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; padding: 0; border-radius: 0; transform: none; }
.nw-bundles__packshots--many { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nw-bundles .nw-bundles__card:hover .nw-pcard__media { padding: 12px !important; }
.nw-bundles .nw-bundles__card:hover .nw-bundles__packshot img { transform: none; }
.nw-bundles .nw-pcard__body { display: flex; flex-direction: column; flex: 1; gap: 10px; min-width: 0; padding: 18px; }
.nw-bundles__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; color: var(--nb-muted); font-size: 12px; font-weight: 700; }
.nw-bundles__meta span:first-child { color: var(--nb-green); }
.nw-bundles .nw-bundles__card-title { margin: 0; font: 600 20px/1.35 'Lora', Georgia, serif; }
.nw-bundles .nw-pcard__name { display: inline; margin: 0; font: inherit; color: var(--nb-ink); text-decoration: none; overflow-wrap: anywhere; }
.nw-bundles .nw-pcard__name:hover { color: var(--nb-green); text-decoration: underline; }
.nw-bundles__excerpt { margin: 0; color: var(--nb-muted); font-size: 14px; overflow-wrap: anywhere; }
.nw-bundles__components { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; font-size: 14px; }
.nw-bundles__components li { display: flex; align-items: baseline; gap: 8px; margin: 0; padding: 0; min-width: 0; }
.nw-bundles__quantity { flex: 0 0 auto; color: var(--nb-green); font-weight: 700; }
.nw-bundles__component-name { min-width: 0; overflow-wrap: anywhere; }
.nw-bundles__component-name small, .nw-bundles__unit-price small { display: block; color: var(--nb-muted); font-size: 13px; font-weight: 400; }
.nw-bundles__pack-note { margin: auto 0 0; padding-top: 4px; color: var(--nb-muted); font-size: 13px; }
.nw-bundles .nw-pcard__foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin: 0; padding-top: 12px; border-top: 1px solid var(--nb-line); }
.nw-bundles__pricing { display: grid; gap: 3px; min-width: 0; }
.nw-bundles__singles { color: var(--nb-muted); font-size: 12px; }
.nw-bundles .nw-pcard__price { font: 700 23px/1.3 'Lato', system-ui, sans-serif; color: var(--nb-green); white-space: normal; }
.nw-bundles__saving { color: var(--nb-accent); font-size: 13px; font-weight: 700; }
.nw-bundles--catalog .nw-bundles__saving { font-size: 15px; }
.nw-bundles .nw-pcard__btn { display: inline-flex; flex: 0 1 auto; align-items: center; justify-content: center; gap: 8px; width: auto; height: auto; min-height: 44px; max-width: 100%; margin: 0; padding: 10px 14px; border: 1px solid var(--nb-green); border-radius: 4px; color: #fff; background: var(--nb-green); font: 700 14px/1.4 'Lato', system-ui, sans-serif; text-decoration: none; white-space: normal; overflow-wrap: anywhere; }
.nw-bundles .nw-pcard__btn:hover { color: #fff; background: #083d21; }
.nw-bundles a.nw-pcard__btn { color: #fff !important; }
.nw-bundles .nw-bundles__discover { background: #fff; color: var(--nb-green); }
.nw-bundles .nw-bundles__discover:hover { background: #eef5f0; color: var(--nb-green); }
.nw-bundles a.nw-bundles__discover, .nw-bundles a.nw-bundles__discover:hover { color: var(--nb-green) !important; }
.nw-bundles .nw-pcard__btn.nw-btn-loading { opacity: .65; cursor: progress; }
.nw-bundles .nw-pcard__btn.nw-btn-err { outline: 2px solid var(--nb-accent); outline-offset: 2px; }
.nw-bundles__empty { padding: 30px 0; border-top: 1px solid var(--nb-line); }
.nw-bundles__empty a, .nw-bundles__all { display: inline-flex; align-items: center; gap: 8px; text-decoration: underline; }
.nw-bundles--related { padding: 32px 0; background: #f3f7f4; }
.nw-bundles--contents { padding: 28px 0; border-top: 1px solid var(--nb-line); background: #fff; }
.nw-bundles--contents .nw-bundles__inner { padding: 0; }
.nw-bundles__components--details { gap: 0; }
.nw-bundles__components--details li { padding: 16px 0; border-bottom: 1px solid var(--nb-line); font-size: 16px; }
.nw-bundles__components--details .nw-bundles__component-name { flex: 1; }
.nw-bundles__components--details a { text-decoration: underline; }
.nw-bundles__unit-price { flex: 0 1 180px; text-align: right; }
.nw-bundles__notice { margin: 18px 0 0; max-width: 80ch; color: var(--nb-muted); font-size: 14px; }
.nw-bundles__gallery { position: relative; width: 100%; min-width: 0; margin: 0; background: #fff; }
.nw-bundles__offer { position: absolute; z-index: 2; top: -22px; right: -24px; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: 4px solid #fff; border-radius: 50%; background: #b02c32; color: #fff; font-size: 20px; font-weight: 700; line-height: 1; }
.nw-bundles__offer[hidden] { display: none; }
.nw-bundles__offer--fractional { font-size: 14px; }
.nw-bundles.nw-bundles__gallery .nw-bundles__main { position: relative; display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; padding: 0; border: 1px solid var(--nb-line); border-radius: 8px; background: #fff; overflow: hidden; }
.nw-bundles.nw-bundles__gallery .nw-bundles__main::after { content: none; }
.nw-bundles__slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.nw-bundles__slide[hidden] { display: none; }
.nw-bundles.nw-bundles__gallery .nw-bundles__packshots { width: 100%; height: 100%; padding: 20px; border: 0; border-radius: 0; }
.nw-bundles.nw-bundles__gallery .nw-bundles__packshot img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.nw-bundles__zoom { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 16px; cursor: zoom-in; }
.nw-bundles.nw-bundles__gallery .nw-bundles__zoom img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; border-radius: 0; object-fit: contain; transform: none; filter: none; }
.nw-bundles.nw-bundles__gallery .nw-bundles__zoom:focus-visible { outline-offset: -5px; }
.nw-bundles.nw-bundles__gallery .nw-bundles__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.nw-bundles__thumb { display: flex; flex: 0 0 72px; align-items: center; justify-content: center; width: 72px; height: 72px; padding: 4px; border: 2px solid var(--nb-line); border-radius: 6px; background: #fff; overflow: hidden; text-decoration: none; }
.nw-bundles__thumb:hover, .nw-bundles__thumb.is-active { border-color: var(--nb-green); }
.nw-bundles.nw-bundles__gallery .nw-bundles__thumb img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 0; }
.nw-bundles.nw-bundles__gallery .nw-bundles__thumb .nw-bundles__packshots { padding: 0; gap: 2px; }
.nw-bundles__gallery figcaption { padding: 10px 0; color: var(--nb-muted); font-size: 14px; }
.nw-bundles__gallery-note { display: block; margin-top: 3px; font-size: 13px; }
.nw-bundles__summary { margin: 16px 0; padding: 16px 0; border-block: 1px solid var(--nb-line); }
.nw-bundles__summary > p { margin: 8px 0 0; font-size: 14px; color: var(--nb-muted); }
.nw-bundles__summary--highlight > .nw-bundles__saving { color: #b02c32; font-size: 18px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.nw-bundle-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.nw-bundle-price__label { flex-basis: 100%; font: 400 13px/1.4 'Lato', system-ui, sans-serif; color: #66736c; }
.nw-bundle-price__comparison { color: #748078; font: 400 25px/1.2 'Lato', system-ui, sans-serif; }
.nw-pdp__price .nw-bundle-price__comparison .amount,
.nw-pdp__price .nw-bundle-price__comparison .woocommerce-Price-currencySymbol { color: #748078; }
.nw-bundle-price__current { font: 700 38px/1.2 'Lato', system-ui, sans-serif; color: #0c4e2b; }
.nw-bundles--featured { padding: 24px 0; background: #f3f7f4; }
.nw-bundles__feature-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.nw-bundles__feature-head h2 { margin: 0; }
.nw-bundles .nw-bundles__card--featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); margin-bottom: 16px; }
.nw-bundles .nw-bundles__card--featured > .nw-pcard__media { align-self: center; border: 0; }
.nw-bundles__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1000px) {
	.nw-bundles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nw-bundles__controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.nw-bundles__offer { top: -16px; right: -8px; width: 56px; height: 56px; font-size: 18px; }
	.nw-bundles__offer--fractional { font-size: 12px; }
	.nw-bundles__inner { padding-inline: 16px; }
	.nw-bundles--catalog { padding-top: 18px; }
	.nw-bundles h1 { font-size: 27px; }
	.nw-bundles h2 { font-size: 22px; }
	.nw-bundles__types { gap: 0 14px; }
	.nw-bundles__type { font-size: 13px; }
	.nw-bundles__type > span { padding-block: 8px; }
	.nw-bundles__controls { gap: 10px; }
	.nw-bundles__controls label:nth-child(3) { grid-column: 1; }
	.nw-bundles__apply { align-self: end; }
	.nw-bundles__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.nw-bundles .nw-pcard__media { aspect-ratio: 3 / 2; }
	.nw-bundles .nw-pcard__body { padding: 16px; }
	.nw-bundles .nw-bundles__card--featured { display: flex; }
	.nw-bundles__components--details li { flex-wrap: wrap; }
	.nw-bundles__unit-price { flex-basis: 100%; padding-left: 30px; text-align: left; }
	.nw-bundles__gallery .nw-bundles__packshots { padding: 12px; }
}
