.mahamu-guided-discovery{
  box-sizing:border-box;
  width:min(100%,var(--wp--custom--layout--content-commerce));
  margin-inline:auto;
  padding:var(--wp--custom--space--lg) var(--wp--custom--space--md) var(--wp--custom--space--xl);
  color:var(--wp--custom--color--text--primary);
  font-family:var(--wp--custom--font--ui);
}

.mahamu-guided-discovery__intro{
  max-width:42rem;
  margin-bottom:var(--wp--custom--space--lg);
}

.mahamu-guided-discovery__kicker{
  margin:0 0 var(--wp--custom--space--xs);
  color:var(--wp--custom--color--text--secondary);
  font-size:.8125rem;
  font-weight:500;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.mahamu-guided-discovery__intro h1,
.mahamu-guided-discovery__alternatives-list h2,
.mahamu-guided-discovery__escape h2,
.mahamu-guided-discovery__product h3{
  margin-top:0;
  color:var(--wp--custom--color--text--primary);
  font-family:var(--wp--custom--font--ui);
  font-weight:500;
  line-height:var(--wp--custom--font--line-height--heading);
}

.mahamu-guided-discovery__intro h1{
  max-width:18ch;
  margin-bottom:var(--wp--custom--space--xs);
}

.mahamu-guided-discovery__intro p:last-child{
  max-width:42ch;
  margin:0;
  color:var(--wp--custom--color--text--secondary);
}

.mahamu-guided-discovery__decision{
  min-width:0;
}

.mahamu-guided-discovery__choices{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--wp--custom--space--sm);
  margin-bottom:var(--wp--custom--space--xl);
}

.mahamu-guided-discovery__choice{
  display:flex;
  min-width:0;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--wp--custom--color--border--subtle);
  border-radius:var(--wp--custom--radius--control);
  background:var(--wp--custom--color--surface--editorial);
  color:var(--wp--custom--color--text--primary);
  text-decoration:none;
  box-shadow:none;
}

.mahamu-guided-discovery__choice:hover,
.mahamu-guided-discovery__choice.is-selected{
  border-color:var(--wp--custom--color--border--strong);
}

.mahamu-guided-discovery__choice.is-selected{
  background:var(--wp--custom--color--surface--transaction);
}

.mahamu-guided-discovery__choice:focus-visible,
.mahamu-guided-discovery__product a:focus-visible,
.mahamu-guided-discovery__escape a:focus-visible,
.mahamu-guided-discovery__escape button:focus-visible,
.mahamu-guided-discovery__escape input:focus-visible,
.mahamu-guided-discovery__selected-summary a:focus-visible,
.mahamu-guided-discovery__empty a:focus-visible{
  outline:2px solid var(--wp--custom--color--accent--focus);
  outline-offset:2px;
}

.mahamu-guided-discovery__choice-visual{
  display:grid;
  aspect-ratio:4/3;
  place-items:center;
  overflow:hidden;
  border-bottom:1px solid var(--wp--custom--color--border--subtle);
  background:var(--wp--custom--color--surface--transaction);
}

.mahamu-guided-discovery__choice-visual img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:1;
}

.mahamu-guided-discovery__choice-copy{
  display:flex;
  min-height:6.25rem;
  flex-direction:column;
  justify-content:flex-end;
  gap:var(--wp--custom--space--xxs);
  padding:var(--wp--custom--space--sm);
}

.mahamu-guided-discovery__choice-label{
  font-size:1rem;
  font-weight:500;
  line-height:var(--wp--custom--font--line-height--ui);
}

.mahamu-guided-discovery__choice-description{
  color:var(--wp--custom--color--text--secondary);
  font-size:.875rem;
  line-height:var(--wp--custom--font--line-height--body);
}

.mahamu-guided-discovery__choices--shop{
  margin-bottom:var(--wp--custom--space--lg);
}

.mahamu-guided-discovery__choices--shop .mahamu-guided-discovery__choice-copy{
  min-height:auto;
}

.mahamu-guided-discovery__choices--shop .mahamu-guided-discovery__choice-description{
  display:none;
}

.mahamu-guided-discovery__results{
  min-width:0;
  margin-bottom:var(--wp--custom--space--xl);
}

.mahamu-guided-discovery__selected-summary{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:var(--wp--custom--space--xs);
  margin-bottom:var(--wp--custom--space--md);
  color:var(--wp--custom--color--text--secondary);
}

.mahamu-guided-discovery__selected-summary strong{
  color:var(--wp--custom--color--text--primary);
  font-weight:500;
}

.mahamu-guided-discovery__selected-summary a{
  margin-inline-start:auto;
}

.mahamu-guided-discovery__section-label{
  margin:0 0 var(--wp--custom--space--sm);
  color:var(--wp--custom--color--text--secondary);
  font-size:.8125rem;
  font-weight:500;
  letter-spacing:.03em;
}

.mahamu-guided-discovery__product{
  min-width:0;
  margin:0;
}

.mahamu-guided-discovery__product.is-primary{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(16rem,.82fr);
  overflow:hidden;
  border:1px solid var(--wp--custom--color--border--subtle);
  border-radius:var(--wp--custom--radius--control);
  background:var(--wp--custom--color--surface--transaction);
}

.mahamu-guided-discovery__product.is-alternative{
  display:grid;
  grid-template-columns:minmax(7rem,.42fr) minmax(0,.58fr);
  gap:var(--wp--custom--space--sm);
  align-items:start;
  padding-top:var(--wp--custom--space--sm);
  border-top:1px solid var(--wp--custom--color--border--subtle);
}

.mahamu-guided-discovery__product-image{
  display:grid;
  min-width:0;
  aspect-ratio:1/1;
  place-items:center;
  overflow:hidden;
  background:var(--wp--custom--color--surface--editorial);
}

.mahamu-guided-discovery__product-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.mahamu-guided-discovery__product.is-primary .mahamu-guided-discovery__product-image{
  min-height:22rem;
  aspect-ratio:auto;
}

.mahamu-guided-discovery__product-body{
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:flex-start;
  gap:var(--wp--custom--space--xs);
}

.mahamu-guided-discovery__product.is-primary .mahamu-guided-discovery__product-body{
  justify-content:center;
  padding:var(--wp--custom--space--lg);
}

.mahamu-guided-discovery__product.is-alternative .mahamu-guided-discovery__product-body{
  padding:var(--wp--custom--space--xs) 0;
}

.mahamu-guided-discovery__product h3{
  margin-bottom:0;
  font-size:1rem;
}

.mahamu-guided-discovery__product.is-primary h3{
  font-size:clamp(1.35rem,2.2vw,2rem);
}

.mahamu-guided-discovery__product h3 a{
  color:inherit;
  text-decoration:none;
}

.mahamu-guided-discovery__reason{
  display:grid;
  gap:var(--wp--custom--space--xxs);
  margin-top:var(--wp--custom--space--xs);
}

.mahamu-guided-discovery__reason span{
  color:var(--wp--custom--color--text--secondary);
  font-size:.8125rem;
  font-weight:500;
}

.mahamu-guided-discovery__reason p{
  max-width:38ch;
  margin:0;
  color:var(--wp--custom--color--text--primary);
  line-height:var(--wp--custom--font--line-height--body);
}

.mahamu-guided-discovery__product.is-alternative .mahamu-guided-discovery__reason p{
  font-size:.9rem;
}

.mahamu-guided-discovery__rating{
  display:flex;
  align-items:center;
  gap:var(--wp--custom--space--xxs);
  color:var(--wp--custom--color--text--secondary);
  font-size:.875rem;
}

.mahamu-guided-discovery__product-price{
  color:var(--wp--custom--color--text--primary);
  font-weight:500;
}

.mahamu-guided-discovery__product-action{
  margin-top:var(--wp--custom--space--xs);
}

.mahamu-guided-discovery__product.is-primary .mahamu-guided-discovery__product-action{
  min-width:min(100%,14rem);
  text-align:center;
}

.mahamu-guided-discovery__alternatives-list{
  margin-top:var(--wp--custom--space--lg);
}

.mahamu-guided-discovery__alternatives-list h2{
  margin-bottom:var(--wp--custom--space--sm);
  font-size:1.125rem;
}

.mahamu-guided-discovery__product-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--wp--custom--space--md);
}

.mahamu-guided-discovery__empty{
  padding:var(--wp--custom--space--lg);
  border:1px solid var(--wp--custom--color--border--subtle);
  border-radius:var(--wp--custom--radius--control);
  background:var(--wp--custom--color--surface--editorial);
}

.mahamu-guided-discovery__empty p{
  margin-top:0;
}

.mahamu-guided-discovery__empty-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:var(--wp--custom--space--sm);
}

.mahamu-guided-discovery__escape{
  display:grid;
  gap:var(--wp--custom--space--sm);
  padding-top:var(--wp--custom--space--lg);
  border-top:1px solid var(--wp--custom--color--border--subtle);
}

.mahamu-guided-discovery__escape h2{
  margin-bottom:0;
  font-size:1.125rem;
}

.mahamu-guided-discovery__escape-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:var(--wp--custom--space--sm);
}

.mahamu-guided-discovery__search{
  min-width:min(100%,24rem);
}

.mahamu-guided-discovery__search form{
  display:flex;
  gap:var(--wp--custom--space--xs);
}

.mahamu-guided-discovery__search input[type="search"]{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:var(--wp--custom--size--control-min-height);
  flex:1;
}

@media(min-width:1100px){
  .mahamu-guided-discovery:not(.has-selection) .mahamu-guided-discovery__choices{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }

  .mahamu-guided-discovery.has-selection .mahamu-guided-discovery__decision{
    display:grid;
    grid-template-columns:minmax(13rem,.3fr) minmax(0,.7fr);
    gap:var(--wp--custom--space--xl);
    align-items:start;
  }

  .mahamu-guided-discovery.has-selection .mahamu-guided-discovery__choices{
    grid-template-columns:minmax(0,1fr);
    gap:var(--wp--custom--space--xs);
    margin:0;
  }

  .mahamu-guided-discovery.has-selection .mahamu-guided-discovery__choice{
    display:grid;
    grid-template-columns:5rem minmax(0,1fr);
    align-items:center;
  }

  .mahamu-guided-discovery.has-selection .mahamu-guided-discovery__choice-visual{
    aspect-ratio:1/1;
    border-right:1px solid var(--wp--custom--color--border--subtle);
    border-bottom:0;
  }

  .mahamu-guided-discovery.has-selection .mahamu-guided-discovery__choice-copy{
    min-height:auto;
    padding:var(--wp--custom--space--xs) var(--wp--custom--space--sm);
  }

  .mahamu-guided-discovery.has-selection .mahamu-guided-discovery__choice-description{
    display:none;
  }
}

@media(max-width:1099px){
  .mahamu-guided-discovery.has-selection .mahamu-guided-discovery__choices{
    display:none;
  }
}

@media(max-width:782px){
  .mahamu-guided-discovery{
    padding-inline:var(--wp--custom--space--sm);
  }

  .mahamu-guided-discovery__intro{
    margin-bottom:var(--wp--custom--space--md);
  }

  .mahamu-guided-discovery__choices{
    gap:var(--wp--custom--space--xs);
  }

  .mahamu-guided-discovery__choice-copy{
    min-height:4.8rem;
    padding:var(--wp--custom--space--xs);
  }

  .mahamu-guided-discovery__choice-label{
    font-size:.9375rem;
  }

  .mahamu-guided-discovery__choice-description{
    display:none;
  }

  .mahamu-guided-discovery__product.is-primary{
    grid-template-columns:minmax(0,1fr);
  }

  .mahamu-guided-discovery__product.is-primary .mahamu-guided-discovery__product-image{
    min-height:0;
    aspect-ratio:1/1;
  }

  .mahamu-guided-discovery__product.is-primary .mahamu-guided-discovery__product-body{
    padding:var(--wp--custom--space--md);
  }

  .mahamu-guided-discovery__product-grid{
    grid-template-columns:minmax(0,1fr);
    gap:var(--wp--custom--space--sm);
  }

  .mahamu-guided-discovery__product.is-alternative{
    grid-template-columns:minmax(5.5rem,.34fr) minmax(0,.66fr);
  }

  .mahamu-guided-discovery__product-action,
  .mahamu-guided-discovery__empty .wp-element-button{
    min-height:var(--wp--custom--size--tap-target-min);
  }

  .mahamu-guided-discovery__product.is-primary .mahamu-guided-discovery__product-action{
    width:100%;
  }

  .mahamu-guided-discovery__escape-actions{
    align-items:stretch;
    flex-direction:column;
  }

  .mahamu-guided-discovery__escape-actions>.wp-element-button,
  .mahamu-guided-discovery__search{
    width:100%;
    max-width:100%;
  }

  .mahamu-guided-discovery__escape-actions>.wp-element-button{
    box-sizing:border-box;
  }

  .mahamu-guided-discovery__search form{
    align-items:stretch;
    flex-direction:column;
  }
}
