/* MGV 1.2.5 | Scope: visible product stock/reset, variation spacing,
   category drawer section labels, share actions. Data, cart and taxonomy order untouched. */

/* 1. Product detail: stock is for the shop to track, not a prominent buyer-facing label. */
body.single-product.mgv123-ui-product .woocommerce div.product .summary form.cart .stock,
body.single-product.mgv123-ui-product .woocommerce div.product .summary .woocommerce-variation-availability,
body.single-product.mgv123-ui-product .woocommerce div.product .summary p.stock,
body.single-product.mgv123-ui-product .woocommerce div.product .summary .reset_variations,
body.single-product.mgv123-ui-product .woocommerce div.product .summary a.reset_variations {
  display:none!important;
}
/* Keep variation price + normal server-side stock validations. Compress empty
   wrappers so the purchase control sits next to the chosen size. */
body.single-product.mgv123-ui-product .woocommerce div.product .summary form.variations_form table.variations,
body.single-product.mgv123-ui-product .woocommerce div.product .summary form.variations_form table.variations tbody {
  margin-bottom:0!important;padding-bottom:0!important;
}
body.single-product.mgv123-ui-product .woocommerce div.product .summary form.variations_form table.variations tr {
  margin-bottom:10px!important;
}
body.single-product.mgv123-ui-product .woocommerce div.product .summary form.variations_form table.variations tr:last-child {
  margin-bottom:2px!important;
}
body.single-product.mgv123-ui-product .woocommerce div.product .summary form.variations_form .mgv93-options {
  margin-bottom:2px!important;
}
body.single-product.mgv123-ui-product .woocommerce div.product .summary .single_variation_wrap {
  margin-top:2px!important;padding-top:0!important;min-height:0!important;
}
body.single-product.mgv123-ui-product .woocommerce div.product .summary .woocommerce-variation,
body.single-product.mgv123-ui-product .woocommerce div.product .summary .single_variation {
  min-height:0!important;margin:0!important;padding:0!important;
}
body.single-product.mgv123-ui-product .woocommerce div.product .summary .woocommerce-variation-price {
  margin:4px 0 8px!important;padding:0!important;
}
body.single-product.mgv123-ui-product .woocommerce div.product .summary .woocommerce-variation-add-to-cart {
  margin-top:4px!important;padding-top:0!important;gap:10px!important;align-items:center!important;
}
body.single-product.mgv123-ui-product .woocommerce div.product .summary form.cart .mgv92-delivery-note {
  grid-column:1 / -1!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;
  margin:8px 0 0!important;padding:8px 10px!important;line-height:1.45!important;
}
@media(max-width:767px){
  body.single-product.mgv123-ui-product .woocommerce div.product .summary .woocommerce-variation-add-to-cart {
    display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;gap:9px!important;
  }
  body.single-product.mgv123-ui-product .woocommerce div.product .summary .woocommerce-variation-add-to-cart .quantity {
    grid-column:1!important;width:100%!important;min-width:0!important;margin:0!important;
  }
  body.single-product.mgv123-ui-product .woocommerce div.product .summary .woocommerce-variation-add-to-cart .quantity input.qty {
    max-width:100%!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;
  }
  body.single-product.mgv123-ui-product .woocommerce div.product .summary .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    border:0!important;box-shadow:none!important;
    grid-column:2!important;margin:0!important;width:100%!important;min-width:0!important;padding:10px!important;
  }
}

/* 3. Share actions: whole button clickable, legible label and complete set
   visible on narrow screens, not truncated in a scrolling strip. */
body.single-product.mgv123-ui-product .woocommerce div.product .summary .mgv4-share {
  margin:9px 0!important;padding:10px 0 1px!important;border-top:1px solid #eee6df!important;
}
body.single-product.mgv123-ui-product .woocommerce div.product .summary .mgv4-share>strong {
  display:block!important;margin:0 0 9px!important;font-size:15px!important;
  line-height:1.3!important;font-weight:750!important;color:#2d342e!important;
}
body.single-product.mgv123-ui-product .woocommerce div.product .summary .mgv4-share-links {
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;overflow:visible!important;padding:0!important;
  margin:0!important;align-items:stretch!important;
}
body.single-product.mgv123-ui-product .woocommerce div.product .summary .mgv4-share-links>a,
body.single-product.mgv123-ui-product .woocommerce div.product .summary .mgv4-share-links>button {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;margin:0!important;padding:8px 7px!important;
  width:100%!important;min-width:0!important;min-height:41px!important;
  border:1px solid #e4d9d5!important;border-radius:11px!important;
  color:#503b3e!important;background:#fffaf8!important;
  font-size:12px!important;line-height:1.25!important;font-weight:650!important;
  white-space:nowrap!important;box-shadow:none!important;box-sizing:border-box!important;
  text-align:center!important;text-decoration:none!important;cursor:pointer!important;
}
body.single-product.mgv123-ui-product .woocommerce div.product .summary .mgv4-share-links>a:hover,
body.single-product.mgv123-ui-product .woocommerce div.product .summary .mgv4-share-links>button:hover {
  background:#f5e9e9!important;border-color:#bd9ba4!important;
}
body.single-product.mgv123-ui-product .woocommerce div.product .summary .mgv4-share-links>a:focus-visible,
body.single-product.mgv123-ui-product .woocommerce div.product .summary .mgv4-share-links>button:focus-visible {
  outline:2px solid #286cc2!important;outline-offset:2px!important;
}
body.single-product.mgv123-ui-product .woocommerce div.product .summary .mgv4-share-links .mgv4-social-mark {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 24px!important;width:24px!important;height:24px!important;
  padding:0!important;margin:0!important;border-radius:50%!important;
  background:#75414b!important;color:white!important;
  font-size:13px!important;line-height:1!important;font-weight:800!important;
}
body.single-product.mgv123-ui-product .woocommerce div.product .summary .mgv4-share-links>a:nth-child(1) .mgv4-social-mark{background:#06a84b!important;}
body.single-product.mgv123-ui-product .woocommerce div.product .summary .mgv4-share-links>a:nth-child(2) .mgv4-social-mark{background:#2e5598!important;}
body.single-product.mgv123-ui-product .woocommerce div.product .summary .mgv4-share-links>a:nth-child(3) .mgv4-social-mark{background:#16a168!important;}
body.single-product.mgv123-ui-product .woocommerce div.product .summary .mgv4-copy-status:empty {display:none!important;}
