/* HomeGlo — Build a Bundle & Save */
body.single-product.woocommerce div.product > .hg-bundle-builder,
body.single-product.woocommerce-page div.product > .hg-bundle-builder{
  grid-column:1/-1!important;
  width:100%!important;
  min-width:0!important;
}
.hg-bundle-builder{
  padding:72px 0 78px;
  border-top:1px solid #e4ded3;
  background:#f6f0e8;
  color:#2b2622;
}
.hg-bundle-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.65fr);
  gap:56px;
  align-items:end;
  margin-bottom:27px;
}
.hg-bundle-kicker{
  margin:0 0 8px!important;
  color:#5c6b4f!important;
  font:700 9px/1.3 "Manrope",sans-serif!important;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.hg-bundle-builder h2{
  margin:0!important;
  color:#2b2622!important;
  font:500 clamp(42px,5vw,66px)/.92 "Cormorant Garamond",serif!important;
  letter-spacing:-.04em;
}
.hg-bundle-head-copy p{
  margin:0!important;
  color:#746d64!important;
  font:400 11px/1.7 "Manrope",sans-serif!important;
}
.hg-bundle-head-copy span{
  display:block;
  margin-top:6px;
  color:#5c6b4f;
  font:700 8px/1.4 "Manrope",sans-serif;
  text-transform:uppercase;
  letter-spacing:.07em;
}

.hg-bundle-products{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.hg-bundle-card{
  position:relative;
  display:flex;
  min-width:0;
  flex-direction:column;
  margin:0;
  border:1px solid #ddd5ca;
  border-radius:10px;
  background:#fff;
  overflow:hidden;
  cursor:pointer;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.hg-bundle-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(43,38,34,.06)}
.hg-bundle-card.is-selected{border-color:#5c6b4f;box-shadow:inset 0 0 0 1px #5c6b4f}
.hg-bundle-card.is-anchor{cursor:default}
.hg-bundle-card>input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
.hg-bundle-card-check{
  position:absolute;
  z-index:3;
  top:10px;
  left:10px;
  right:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.hg-bundle-card-check>span{
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  border:1px solid #d5cdc2;
  border-radius:50%;
  background:rgba(255,255,255,.94);
  color:transparent;
  box-shadow:0 4px 12px rgba(43,38,34,.08);
}
.hg-bundle-card-check svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hg-bundle-card.is-selected .hg-bundle-card-check>span{background:#5c6b4f;border-color:#5c6b4f;color:#fff}
.hg-bundle-card-check small{
  padding:6px 8px;
  border-radius:999px;
  background:rgba(43,38,34,.78);
  color:#fff;
  backdrop-filter:blur(8px);
  font:700 7px/1 "Manrope",sans-serif;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.hg-bundle-card-media{
  display:block;
  aspect-ratio:1;
  background:#ece5dc;
  overflow:hidden;
}
.hg-bundle-card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.hg-bundle-card:hover .hg-bundle-card-media img{transform:scale(1.025)}
.hg-bundle-card-copy{padding:13px 14px 15px}
.hg-bundle-card-copy>p{
  margin:0 0 4px!important;
  color:#8a8378!important;
  font:700 7px/1.3 "Manrope",sans-serif!important;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.hg-bundle-card h3{
  margin:0!important;
  color:#2b2622!important;
  font:600 19px/1.05 "Cormorant Garamond",serif!important;
}
.hg-bundle-card-price{
  margin-top:8px;
  color:#2b2622;
  font:700 9px/1.3 "Manrope",sans-serif;
}
.hg-bundle-card-price del{opacity:.5;margin-right:3px}
.hg-bundle-card-price ins{background:transparent;text-decoration:none}

.hg-bundle-summary{
  display:grid;
  grid-template-columns:minmax(220px,1fr) minmax(240px,.7fr) auto;
  gap:22px;
  align-items:center;
  margin-top:12px;
  padding:17px 18px;
  border:1px solid #ddd5ca;
  border-radius:10px;
  background:#fff;
}
.hg-bundle-summary-copy>span{
  display:block;
  margin-bottom:4px;
  color:#c4693b;
  font:700 8px/1.3 "Manrope",sans-serif;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.hg-bundle-summary-copy strong{
  display:block;
  color:#2b2622;
  font:600 21px/1.05 "Cormorant Garamond",serif;
}
.hg-bundle-summary-copy small{
  display:block;
  max-width:500px;
  margin-top:5px;
  color:#8a8378;
  font:400 8px/1.5 "Manrope",sans-serif;
}
.hg-bundle-totals{display:grid;gap:4px}
.hg-bundle-totals>div{display:flex;align-items:center;justify-content:space-between;gap:14px}
.hg-bundle-totals span{color:#8a8378;font:600 8px/1.4 "Manrope",sans-serif}
.hg-bundle-totals del{color:#746d64;font:600 9px/1.3 "Manrope",sans-serif}
.hg-bundle-save-line strong{color:#5c6b4f;font:700 9px/1.3 "Manrope",sans-serif}
.hg-bundle-total-line{margin-top:3px;padding-top:5px;border-top:1px solid #eee7df}
.hg-bundle-total-line strong{color:#2b2622;font:700 12px/1.3 "Manrope",sans-serif}
.hg-bundle-submit{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 18px;
  border:1px solid #2b2622;
  border-radius:7px;
  background:#2b2622;
  color:#fff;
  white-space:nowrap;
  cursor:pointer;
  font:700 8.5px/1 "Manrope",sans-serif;
  letter-spacing:.05em;
  text-transform:uppercase;
  transition:background .2s ease,transform .2s ease;
}
.hg-bundle-submit:hover{background:#5c6b4f;border-color:#5c6b4f;transform:translateY(-1px)}
.hg-bundle-submit:disabled{opacity:.42;cursor:not-allowed;transform:none}
.hg-bundle-submit svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6}
.hg-bundle-savings-row th,.hg-bundle-savings-row td{color:#5c6b4f!important}
.hg-bundle-savings-row strong{color:#5c6b4f}

@media(max-width:960px){
  .hg-bundle-builder{padding:58px 0 64px}
  .hg-bundle-head{grid-template-columns:1fr;gap:13px}
  .hg-bundle-products{
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:minmax(220px,42vw);
    overflow-x:auto;
    padding-bottom:8px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .hg-bundle-products::-webkit-scrollbar{display:none}
  .hg-bundle-card{scroll-snap-align:start}
  .hg-bundle-summary{grid-template-columns:1fr 1fr}
  .hg-bundle-submit{grid-column:1/-1;width:100%}
}
@media(max-width:600px){
  .hg-bundle-builder{padding:45px 0 50px}
  .hg-bundle-builder .hg-shell{width:calc(100% - 24px)!important}
  .hg-bundle-builder h2{font-size:43px!important}
  .hg-bundle-products{grid-auto-columns:minmax(205px,78vw)}
  .hg-bundle-summary{grid-template-columns:1fr;gap:13px;padding:14px}
  .hg-bundle-submit{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){
  .hg-bundle-card,.hg-bundle-card-media img,.hg-bundle-submit{transition:none}
  .hg-bundle-card:hover,.hg-bundle-submit:hover{transform:none}
  .hg-bundle-card:hover .hg-bundle-card-media img{transform:none}
}
