.bundle-page {
  max-width: 1400px;
  margin-inline: auto;
  padding-block-start: clamp(1.25rem, 4vw, 3rem);
}
.bundle-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--hm-forest, #18392e);
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
}
.bundle-hero > div { padding: clamp(1.5rem, 4vw, 3rem); }
.bundle-hero h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 0 0 .65rem;
}
.bundle-hero p { color: #e2eee5; max-width: 45ch; margin: 0; line-height: 1.6; }
.bundle-hero img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 290px;
  object-fit: cover;
}
.bundle-presets { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.35rem 0; }
.bundle-presets button {
  min-height: 44px;
  padding: .55rem .75rem;
  border-radius: 6px;
  border: 1px solid #bdcec1;
  color: #254c3a;
  background: #fff;
  font-weight: 650;
  cursor: pointer;
}
.bundle-presets button:hover { background: #e8f0e9; }
.bundle-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(275px, 1fr); align-items: start; gap: clamp(1rem, 3vw, 2.5rem); }
.bundle-group {
  padding: .55rem 1rem 1rem;
  margin: 0 0 1.25rem;
  min-width: 0;
  border: 1px solid #d6dfd7;
  border-radius: 10px;
  background: #fff;
}
.bundle-group legend { padding: 0 .45rem; color: #254c3a; font-size: 1.12rem; font-weight: 700; }
.bundle-option + .bundle-option { margin-top: .55rem; }
.bundle-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  padding: .5rem;
  border: 1px solid #e0e6df;
  border-radius: 7px;
}
.bundle-option:has(.bundle-pick input:checked) { border-color: #639277; background: #edf5ed; }
.bundle-pick { display: flex; align-items: center; gap: .65rem; min-height: 52px; cursor: pointer; }
.bundle-pick input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: #254c3a;
  margin: 0;
}
.bundle-product-image { flex: 0 0 56px; width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 5px; }
.bundle-product-copy { display: grid; gap: .2rem; }
.bundle-product-title { color: #172822; font-weight: 650; font-size: .9rem; line-height: 1.35; }
.bundle-product-price { color: #385a48; font-size: .85rem; }
.bundle-item-controls { display: flex; align-items: end; gap: .6rem; }
.bundle-detail-link { display: flex; min-height: 44px; align-items: center; font-size: .78rem; white-space: nowrap; color: #254c3a; }
.bundle-quantity { display: grid; gap: .15rem; font-size: .75rem; color: #43564d; }
.bundle-quantity input {
  width: 60px;
  min-height: 44px;
  padding: .25rem .4rem;
  color: #172822;
  background: #fff;
  border: 1px solid #bacabd;
  border-radius: 5px;
}
.bundle-quantity input:disabled { opacity: .65; }
.bundle-summary {
  position: sticky;
  top: 1rem;
  padding: clamp(1rem, 2.4vw, 1.65rem);
  border: 1px solid #cbd8ce;
  border-radius: 10px;
  background: #f0f5ef;
}
.bundle-summary h2 { margin: 0 0 .55rem; font-size: 1.5rem; color: #172822; }
#bundle-selection { color: #43564d; font-size: .9rem; }
#bundle-selection ul { list-style: none; padding: 0; margin: 0 0 .65rem; }
#bundle-selection li, .bundle-subtotal { display: flex; align-items: start; justify-content: space-between; gap: .75rem; }
#bundle-selection li { padding: .4rem 0; }
#bundle-selection li strong, #bundle-subtotal { white-space: nowrap; }
.bundle-subtotal { border-block: 1px solid #c7d3c8; padding-block: .75rem; font-weight: 700; }
.bundle-terms { color: #43564d; font-size: .85rem; line-height: 1.5; }
.bundle-summary button { width: 100%; min-height: 44px; }
#bundle-message { color: #254c3a; font-size: .9rem; font-weight: 650; }
#bundle-message:empty { display: none; }
@media (max-width: 760px) {
  .bundle-hero, .bundle-layout { grid-template-columns: 1fr; }
  .bundle-hero img { height: 130px; }
  .bundle-summary { position: static; }
}
@media (max-width: 440px) {
  .bundle-option { grid-template-columns: 1fr; }
  .bundle-item-controls { justify-content: space-between; align-items: center; padding-left: 24px; }
}
.bundle-review-link { display: none; }
@media (max-width: 760px) {
  .bundle-review-link:not([hidden]) {
    position: sticky;
    bottom: .55rem;
    display: grid;
    place-items: center;
    min-height: 44px;
    margin-top: .7rem;
    padding: .5rem .75rem;
    border-radius: 7px;
    background: #254c3a;
    color: #fff;
    font-size: .9rem;
    font-weight: 650;
    text-decoration: none;
    box-shadow: 0 2px 12px #18392e30;
  }
}

.bundle-hero > .bundle-hero-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: .65rem;
  padding: clamp(1rem, 2vw, 2rem);
  background: #e5ede2;
}
.bundle-hero-products img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  padding: .3rem;
  background: #fff;
  border-radius: 8px;
}
@media (max-width: 760px) {
  .bundle-hero-products img { max-height: 90px; }
}
