/* Layout only. Native WooCommerce form, availability and gallery preview stay in control. */
body.single-product .mgv93-product .summary form.variations_form table.variations .mgv23-spec-label{
 display:flex!important;align-items:baseline;justify-content:space-between;
 padding:0 0 7px!important;box-sizing:border-box;
}
body.single-product .mgv93-product .summary form.variations_form table.variations .mgv23-spec-label label{
 margin:0!important;padding:0!important;font-size:14px!important;line-height:1.35;
}
body.single-product .mgv93-product .summary .mgv23-selection{
 margin-left:10px;max-width:66%;text-align:right;font-size:12px;font-weight:500;
 line-height:1.35;color:#665c57;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-colors,
body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-sizes{
 display:flex!important;flex-wrap:wrap;gap:0!important;
 width:calc(100% + 6px);max-width:none;box-sizing:border-box;
 margin:-3px!important;padding:0!important;
}
body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-colors>.mgv93-choice,
body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-sizes>.mgv93-choice{
 display:flex!important;align-items:center;justify-content:center;
 margin:3px!important;min-width:0!important;min-height:44px!important;
 padding:7px 5px!important;box-sizing:border-box;
 flex:0 0 calc(25% - 6px);max-width:calc(25% - 6px);
 border:1px solid #d9dfd7!important;border-radius:9px!important;
 color:#2b382f!important;background:#fff!important;font-size:13px!important;
 line-height:1.3!important;text-align:center;gap:0!important;font-weight:650!important;
 transition:background-color .16s,border-color .16s!important;
}
body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-colors>.mgv93-choice{
 min-height:48px!important;padding-top:6px!important;padding-bottom:6px!important;
}
body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-colors>.mgv93-choice>span,
body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-sizes>.mgv93-choice>span{
 min-width:0;text-align:center;white-space:normal;overflow-wrap:break-word;
 letter-spacing:.015em;max-width:100%;
}
body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-with-photos>.mgv93-choice{
 flex:0 0 calc(33.333% - 6px);max-width:calc(33.333% - 6px);
}
body.single-product .mgv93-product .summary .mgv23-colors .mgv93-choice>img{
 /* The image plus margins still occupies 27px in the flex row.
    Use the spare padding around the photo without narrowing the label. */
 width:28px!important;height:28px!important;flex:0 0 28px;
 object-fit:cover!important;border-radius:50%!important;margin:0 2px 0 -3px!important;
}
body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-sizes>.mgv93-choice{
 border-radius:8px!important;font-size:13px!important;min-height:44px!important;
}
body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-spec-single>.mgv93-choice{
 flex-basis:calc(100% - 6px);max-width:calc(100% - 6px);
}
body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-colors>.mgv93-choice.is-selected,
body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-sizes>.mgv93-choice.is-selected{
 background:#f8eef0!important;border-color:#815158!important;color:#58353b!important;
 box-shadow:inset 0 0 0 1px #815158!important;font-weight:650!important;
}
body.single-product .mgv93-product .summary .mgv23-colors>.mgv93-choice:disabled,
body.single-product .mgv93-product .summary .mgv23-sizes>.mgv93-choice:disabled{opacity:.43;cursor:not-allowed}
@supports(display:grid){
 body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-colors,
 body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-sizes{
  display:grid!important;grid-template-columns:repeat(auto-fill,minmax(63px,1fr));
  grid-gap:6px!important;gap:6px!important;width:100%;margin:0!important;
 }
 body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-with-photos{
  grid-template-columns:repeat(auto-fill,minmax(81px,1fr));
 }
 body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-sizes{
  grid-template-columns:repeat(auto-fill,minmax(58px,1fr));
 }
 body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-spec-single{
  grid-template-columns:minmax(0,1fr);
 }
 body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-colors>.mgv93-choice,
 body.single-product .mgv93-product .summary form.variations_form table.variations .mgv93-options.mgv23-sizes>.mgv93-choice{
  width:100%;max-width:none;margin:0!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.single-product .mgv93-product .summary .mgv23-colors>.mgv93-choice,
 body.single-product .mgv93-product .summary .mgv23-sizes>.mgv93-choice{transition:none!important}
}
