/* Elegí media presentation extracted from approved critical + final desktop overlay.
 * New scope only; images/video are the current product's real Woo attachments/approved HLS.
 */
.m3-product-media .m3-collection-media {min-width:0;margin:0;color:var(--m3-purple)}
.m3-product-media .m3-collection-media [hidden] {display:none!important}
.m3-product-media .m3-collection-media .media-stage {position:relative;display:grid;place-items:center;width:100%;height:clamp(220px,calc(100svh - 320px),440px);margin:0;border:0;border-radius:16px;overflow:hidden;background:#fff;isolation:isolate}
.m3-product-media .m3-collection-media .media-stage>img,
.m3-product-media .m3-collection-media .media-stage>video {position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;grid-area:1/1}
.m3-product-media .m3-collection-media .media-stage>video {background:#1b1033}
.m3-product-media .m3-collection-media .media-play {position:absolute;z-index:2;left:2px;top:8px;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:#4c2474;color:#fff;box-shadow:0 2px 10px #28104c33;cursor:pointer}
.m3-product-media .m3-collection-media .media-play svg {width:23px;height:23px;fill:currentColor}
.m3-product-media .m3-collection-media .media-choices {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;height:128px;margin-top:10px}
.m3-product-media .m3-collection-media .media-choices>button {position:relative;display:flex;align-items:center;justify-content:center;min-width:0;width:100%;height:128px;min-height:128px;padding:2px;border:2px solid #e5ddf1;border-radius:12px;background:#fff;overflow:hidden;cursor:pointer}
.m3-product-media .m3-collection-media .media-choices>button[aria-pressed=true] {border-color:#4c2474}
.m3-product-media .m3-collection-media .media-choices>button>img {width:100%;height:120px;object-fit:contain}
.m3-product-media .m3-collection-media .media-choices>button[data-media-select=video]>img {width:auto;max-width:100%;height:106px;object-fit:contain;transform:scale(1.3);transform-origin:center}
.m3-product-media .m3-collection-media .media-choices>button[data-media-select=box]>img {transform:scale(1.3);transform-origin:center}
.m3-product-media .m3-collection-media .media-choices>button>span {position:absolute;z-index:2;inset:auto 0 0;height:18px;padding:0;line-height:18px;background:#4c2474;color:#fff;text-align:center;font-size:12px;font-weight:700}
.m3-product-media .m3-collection-media .media-thumb-play {position:absolute;z-index:3;top:4px;left:4px;width:14px;height:14px;padding:3px;border-radius:50%;background:#5946b2;color:#fff;fill:currentColor}
.m3-product-media .m3-collection-media .media-label {margin:6px 0 0;font-size:12px;line-height:18px;color:var(--m3-muted)}
.m3-product-media .m3-collection-media .media-error {padding:10px;border:1px solid var(--m3-line);border-radius:10px;font-size:14px;line-height:20px}
.m3-product-media .m3-collection-media button:focus-visible {outline:3px solid var(--m3-purple);outline-offset:2px}
@media(min-width:768px) and (max-height:650px) {
 .m3-product-media .m3-collection-media .media-choices,
 .m3-product-media .m3-collection-media .media-choices>button {height:112px;min-height:112px}
 .m3-product-media .m3-collection-media .media-choices>button>img {height:104px}
 .m3-product-media .m3-collection-media .media-choices>button[data-media-select=video]>img {height:90px}
}
@media(max-width:767px) {
 .m3-product-media .m3-collection-media .media-stage {height:280px}
 .m3-product-media .m3-collection-media .media-choices {gap:6px;margin-top:8px;height:90px}
 .m3-product-media .m3-collection-media .media-choices>button {height:90px;min-height:90px;padding:2px}
 .m3-product-media .m3-collection-media .media-choices>button>img {height:82px}
 .m3-product-media .m3-collection-media .media-choices>button[data-media-select=video]>img {height:68px}
}

/* Collection user request: show the complete originals, never crop or enlarge beyond the cell. */
.m3-product-media .m3-collection-media .media-choices>button[data-media-select]>img{transform:none;width:100%;height:120px;max-width:100%;object-fit:contain}
@media(min-width:768px) and (max-height:650px){.m3-product-media .m3-collection-media .media-choices>button[data-media-select]>img{height:104px}}
@media(max-width:767px){.m3-product-media .m3-collection-media .media-choices>button[data-media-select]>img{height:82px}}

.m3c-free-shipping{font:600 13px/18px "Nunito Sans",Arial,sans-serif;color:#4c2474;margin:6px 0}
body.m3-collection-mobile .m3-context-trust .m3s-security-check{fill:none;color:#4c2474;stroke:currentColor;color:#21834a}
@media(max-width:767px){
 body.m3-collection-mobile .onsale{display:none!important}
 body.m3-collection-mobile .m3-product{display:flex;flex-direction:column;gap:8px}
 body.m3-collection-mobile .m3-product-media,body.m3-collection-mobile .m3-product-summary{display:contents}
 body.m3-collection-mobile .product_title{order:1;margin:0;font-size:28px;line-height:32px}
 body.m3-collection-mobile .woocommerce-product-details__short-description{order:2;margin:0;font-size:16px;line-height:22px}
 body.m3-collection-mobile .woocommerce-product-details__short-description p{margin:0}
 body.m3-collection-mobile .m3cr-badge{order:3;margin:0;font-size:13px;line-height:18px;gap:8px}
 body.m3-collection-mobile .m3cr-badge .m3cr-stars{font-size:18px;line-height:18px}
 body.m3-collection-mobile .m3-collection-media{order:4}
 body.m3-collection-mobile .m3-product-media .m3-collection-media .media-stage{height:clamp(150px,calc(100svh - 428px),300px)}
 body.m3-collection-mobile .m3-collection-media .media-choices{height:74px;gap:8px;margin-top:6px}
 body.m3-collection-mobile .m3-product-media .m3-collection-media .media-choices>button{height:74px;min-height:74px}
 body.m3-collection-mobile .m3-product-media .m3-collection-media .media-choices>button[data-media-select]>img{height:66px}
 body.m3-collection-mobile .m3-collection-media .media-label{display:none}
 body.m3-collection-mobile .m3c-free-shipping{order:5;margin:0}
 body.m3-collection-mobile .m3-product-summary>.price{order:6;margin:0;font-size:28px;line-height:34px}
 body.m3-collection-mobile .m3-product-summary>.price del{font-size:16px}
 body.m3-collection-mobile .m3-product-summary>form.cart{order:7;display:grid;grid-template-columns:112px minmax(0,1fr);gap:8px;margin:0}
 body.m3-collection-mobile .m3-product-summary>form.cart .quantity{height:48px;min-height:48px;width:100%}
 body.m3-collection-mobile .m3-product-summary>form.cart .single_add_to_cart_button{width:100%;min-width:0;min-height:48px;height:48px;padding:6px!important;font-size:14px}
 body.m3-collection-mobile .m3-product-summary>.m3-retail-tools{order:8;margin-top:4px}
 body.m3-collection-mobile .m3-product>.m3-product-below{order:9;margin-top:8px}
}

.m3c-description-short{display:none}
@media(max-width:767px){body.m3-collection-mobile .m3c-description-full{display:none}body.m3-collection-mobile .m3c-description-short{display:block}body.m3-collection-mobile .m3cr-badge{min-height:18px}}

body.m3-collection-mobile .m3c-free-shipping{display:flex;align-items:center;gap:6px}
body.m3-collection-mobile .m3c-free-shipping svg{width:18px;height:18px;flex:0 0 18px;fill:none;color:#4c2474;stroke:currentColor}

/* Owner review: larger optically centered triangle; approved 44px button geometry unchanged. */
.m3-product-media .m3-collection-media .media-play > svg{visibility:hidden}
.m3-product-media .m3-collection-media .media-play::before{content:'';position:absolute;width:20px;height:24px;left:50%;top:50%;transform:translate(-40%,-50%);background:currentColor;clip-path:polygon(0 0,100% 50%,0 100%);pointer-events:none}
