/* Mio&Gem PDP v7 — purchase controls + prototype-level section rhythm. */

/* One consistent section-heading rhythm. */
body.single-product.mio-v2 .mio-product-editorial .mio-section-header,
body.single-product.mio-v2 .mio-product-editorial .mio-product-section>header,
body.single-product.mio-v2 .mio-purchase-stage>.mio-section-header{
  max-width:720px!important;
  margin:0 0 24px!important;
  padding:0!important;
}
body.single-product.mio-v2 .mio-product-editorial .mio-section-header .mio-eyebrow,
body.single-product.mio-v2 .mio-product-editorial .mio-product-section>header>.mio-eyebrow,
body.single-product.mio-v2 .mio-purchase-stage>.mio-section-header>.mio-eyebrow{
  margin:0 0 8px!important;
  color:#8062a6!important;
  font-size:9px!important;
  font-weight:750!important;
  line-height:1.2!important;
  letter-spacing:.15em!important;
  text-transform:uppercase!important;
}
body.single-product.mio-v2 .mio-product-editorial .mio-section-header h2,
body.single-product.mio-v2 .mio-product-editorial .mio-product-section>header>h2,
body.single-product.mio-v2 .mio-purchase-stage>.mio-section-header>h2{
  margin:0!important;
  color:var(--mg-ink)!important;
  font:500 36px/1.03 var(--mg-serif)!important;
  letter-spacing:-.035em!important;
}
body.single-product.mio-v2 .mio-product-editorial .mio-section-intro,
body.single-product.mio-v2 .mio-purchase-stage>.mio-section-header>.mio-section-intro{
  max-width:620px!important;
  margin:10px 0 0!important;
  color:#7b7181!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.62!important;
}

/* 02 — purchase. The form itself no longer owns layout. */
body.single-product.mio-v2 .mio-purchase-stage{
  display:block!important;
  padding:32px!important;
}
body.single-product.mio-v2 .mio-purchase-stage__price{
  display:block!important;
  margin:12px 0 0!important;
  color:#72588d!important;
  font:500 18px/1 var(--mg-serif)!important;
}
body.single-product.mio-v2 .mio-purchase-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:14px!important;
  align-items:stretch!important;
}
body.single-product.mio-v2 .mio-size-picker,
body.single-product.mio-v2 .mio-cart-card{
  min-width:0!important;
  margin:0!important;
  padding:20px!important;
  border:1px solid #e8deee!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.82)!important;
  box-shadow:none!important;
}
body.single-product.mio-v2 .mio-size-picker__head{
  margin-bottom:14px!important;
}
body.single-product.mio-v2 .mio-size-picker__head b{
  color:var(--mg-ink)!important;
  font-size:11px!important;
  font-weight:650!important;
}
body.single-product.mio-v2 .mio-size-picker__head a{
  font-size:9px!important;
}
body.single-product.mio-v2 .mio-size-options{gap:9px!important}
body.single-product.mio-v2 .mio-size-option{
  min-height:92px!important;
  padding:16px!important;
  border-radius:17px!important;
}
body.single-product.mio-v2 .mio-size-option b{
  font-size:15px!important;
  font-weight:650!important;
}
body.single-product.mio-v2 .mio-size-option small{
  margin-top:7px!important;
  font-size:9px!important;
  font-weight:400!important;
}
body.single-product.mio-v2 .mio-cart-card{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
body.single-product.mio-v2 .mio-cart-card form.cart{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.single-product.mio-v2 .mio-cart-actions{
  display:grid!important;
  grid-template-columns:76px minmax(0,1fr)!important;
  gap:9px!important;
  width:100%!important;
  align-items:stretch!important;
}
body.single-product.mio-v2 .mio-cart-actions .quantity{
  float:none!important;
  width:76px!important;
  margin:0!important;
}
body.single-product.mio-v2 .mio-cart-actions .qty{
  display:block!important;
  width:76px!important;
  height:56px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #e2d7ea!important;
  border-radius:15px!important;
  background:#fff!important;
  color:var(--mg-ink)!important;
  font-size:15px!important;
  font-weight:500!important;
  line-height:56px!important;
  text-align:center!important;
  box-shadow:none!important;
}
body.single-product.mio-v2 .mio-cart-actions .single_add_to_cart_button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  float:none!important;
  width:100%!important;
  min-width:0!important;
  height:56px!important;
  margin:0!important;
  padding:0 20px!important;
  border:0!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,#8063a4,#b68bb0)!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-shadow:0 10px 22px rgba(126,92,153,.15)!important;
}
body.single-product.mio-v2 .mio-cart-card .mio-purchase-guidance{
  display:block!important;
  margin:12px 1px 0!important;
  padding:0!important;
  color:#857a89!important;
}
body.single-product.mio-v2 .mio-cart-card .mio-purchase-guidance p{
  display:block!important;
  margin:0 0 5px!important;
  font-size:8px!important;
  font-weight:400!important;
  line-height:1.5!important;
}
body.single-product.mio-v2 .mio-cart-card .mio-purchase-guidance p:last-child{margin-bottom:0!important}

/* 04 — materials. More air, less table-like heaviness. */
body.single-product.mio-v2 .mio-product-details{
  padding:34px 32px!important;
}
body.single-product.mio-v2 .mio-product-details dl{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
body.single-product.mio-v2 .mio-product-details dl>div{
  min-height:104px!important;
  padding:18px 20px!important;
  border:1px solid #e8deee!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.78)!important;
}
body.single-product.mio-v2 .mio-product-details dt{
  margin:0!important;
  color:#9a8ea2!important;
  font-size:8px!important;
  font-weight:600!important;
  line-height:1.2!important;
  letter-spacing:.085em!important;
  text-transform:uppercase!important;
}
body.single-product.mio-v2 .mio-product-details dd{
  margin:8px 0 0!important;
  color:var(--mg-ink)!important;
  font:500 16px/1.35 var(--mg-serif)!important;
  letter-spacing:-.012em!important;
}
body.single-product.mio-v2 .mio-spec-toggle{
  margin:14px 0 0!important;
  padding:9px 13px!important;
  border-color:#e3d8eb!important;
  color:#745b94!important;
  font-size:8px!important;
  font-weight:600!important;
}

/* 05 — before you buy. Prototype-style airy cards. */
body.single-product.mio-v2 .mio-product-care{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  padding:34px 32px!important;
}
body.single-product.mio-v2 .mio-product-care>header{
  grid-column:1/-1!important;
  max-width:720px!important;
  margin:0 0 4px!important;
}
body.single-product.mio-v2 .mio-product-care article{
  min-height:190px!important;
  padding:22px!important;
  border:1px solid #e8deee!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.80)!important;
  box-shadow:none!important;
}
body.single-product.mio-v2 .mio-product-care article .mio-eyebrow{
  margin:0 0 12px!important;
  color:#8b719e!important;
  font-size:8px!important;
  font-weight:700!important;
  line-height:1.2!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}
body.single-product.mio-v2 .mio-product-care h3{
  margin:0 0 10px!important;
  color:var(--mg-ink)!important;
  font:500 22px/1.08 var(--mg-serif)!important;
  letter-spacing:-.025em!important;
}
body.single-product.mio-v2 .mio-product-care article>p:not(.mio-eyebrow){
  margin:0!important;
  color:#7b7181!important;
  font-size:10px!important;
  font-weight:400!important;
  line-height:1.62!important;
}
body.single-product.mio-v2 .mio-product-care a{
  display:inline-block!important;
  margin-top:16px!important;
  color:#745b94!important;
  font-size:9px!important;
  font-weight:500!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}

@media(min-width:768px) and (max-width:1023px){
  body.single-product.mio-v2 .mio-purchase-grid{grid-template-columns:1fr!important}
  body.single-product.mio-v2 .mio-product-details,body.single-product.mio-v2 .mio-product-care{padding:26px!important}
}

@media(max-width:767px){
  body.single-product.mio-v2 .mio-product-editorial .mio-section-header,
  body.single-product.mio-v2 .mio-product-editorial .mio-product-section>header,
  body.single-product.mio-v2 .mio-purchase-stage>.mio-section-header{margin-bottom:18px!important}
  body.single-product.mio-v2 .mio-product-editorial .mio-section-header h2,
  body.single-product.mio-v2 .mio-product-editorial .mio-product-section>header>h2,
  body.single-product.mio-v2 .mio-purchase-stage>.mio-section-header>h2{font-size:28px!important}
  body.single-product.mio-v2 .mio-product-editorial .mio-section-intro,
  body.single-product.mio-v2 .mio-purchase-stage>.mio-section-header>.mio-section-intro{font-size:9.5px!important;line-height:1.58!important}
  body.single-product.mio-v2 .mio-purchase-stage{padding:18px!important}
  body.single-product.mio-v2 .mio-purchase-grid{grid-template-columns:1fr!important;gap:8px!important}
  body.single-product.mio-v2 .mio-size-picker,body.single-product.mio-v2 .mio-cart-card{padding:14px!important;border-radius:16px!important}
  body.single-product.mio-v2 .mio-size-option{min-height:82px!important;padding:13px!important}
  body.single-product.mio-v2 .mio-cart-actions{grid-template-columns:64px minmax(0,1fr)!important;gap:7px!important}
  body.single-product.mio-v2 .mio-cart-actions .quantity,body.single-product.mio-v2 .mio-cart-actions .qty{width:64px!important}
  body.single-product.mio-v2 .mio-cart-actions .qty,body.single-product.mio-v2 .mio-cart-actions .single_add_to_cart_button{height:52px!important}
  body.single-product.mio-v2 .mio-cart-actions .qty{line-height:52px!important}
  body.single-product.mio-v2 .mio-product-details{padding:19px 17px!important}
  body.single-product.mio-v2 .mio-product-details dl{grid-template-columns:1fr!important;gap:7px!important}
  body.single-product.mio-v2 .mio-product-details dl>div{min-height:0!important;padding:14px 15px!important;border-radius:14px!important}
  body.single-product.mio-v2 .mio-product-details dd{margin-top:6px!important;font-size:15px!important}
  body.single-product.mio-v2 .mio-product-care{grid-template-columns:1fr!important;gap:7px!important;padding:19px 17px!important}
  body.single-product.mio-v2 .mio-product-care>header{grid-column:1!important;margin-bottom:2px!important}
  body.single-product.mio-v2 .mio-product-care article{min-height:0!important;padding:16px!important;border-radius:15px!important}
  body.single-product.mio-v2 .mio-product-care article .mio-eyebrow{margin-bottom:8px!important}
  body.single-product.mio-v2 .mio-product-care h3{margin-bottom:7px!important;font-size:19px!important}
  body.single-product.mio-v2 .mio-product-care a{margin-top:11px!important}
}
