/* MEISP certificates: scoped styling; never modifies hosted card fields. */
body.single-product .woocommerce div.product{max-width:1240px;margin-inline:auto}
body.single-product .woocommerce div.product .summary{min-width:0}
body.single-product .woocommerce div.product .product_title{font-size:clamp(1.65rem,2.8vw,2.55rem);line-height:1.18;letter-spacing:-.025em;color:#073d3d}
body.single-product .woocommerce div.product .summary .price{font-size:clamp(1.4rem,2.3vw,2rem);font-weight:750;color:#075d50}
body.single-product .woocommerce div.product .summary .cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
body.single-product .woocommerce div.product .summary .cart .quantity input.qty{min-height:48px;max-width:88px;border-radius:10px}
body.single-product .woocommerce div.product .summary .single_add_to_cart_button{min-height:48px;padding:12px 22px!important;border-radius:12px!important;background:#12d978!important;color:#05332c!important;font-weight:750!important;white-space:normal}
body.single-product .woocommerce div.product .woocommerce-product-gallery{min-width:0}
body.single-product .woocommerce div.product .woocommerce-tabs{clear:both}
body.single-product .woocommerce div.product .woocommerce-tabs .panel{line-height:1.75;max-width:100%;overflow-wrap:anywhere}
.meisp-cert-info{border:1px solid #d4e9e4;border-left:4px solid #10b981;background:#f4fbf9;border-radius:12px;padding:16px 18px;margin:16px 0;color:#12433c}
.meisp-cert-info p{margin:7px 0 0;line-height:1.55}
.meisp-cert-switch{clear:both;max-width:1240px;margin:32px auto;padding:22px 0}
.meisp-cert-switch h2{font-size:clamp(1.4rem,2.5vw,2rem);color:#073d3d;margin:0 0 20px}
.meisp-cert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.meisp-cert-card{min-width:0;padding:24px;border:1px solid #dcebe8;border-radius:18px;background:#fff;box-shadow:0 8px 25px rgba(0,45,40,.06)}
.meisp-cert-card-tag{font-size:.82rem;font-weight:700;color:#0b7463;letter-spacing:.02em}
.meisp-cert-card h3{font-size:1.4rem;line-height:1.3;margin:10px 0;color:#063d39}
.meisp-cert-card p{color:#526561;margin:0 0 14px}
.meisp-cert-price{font-size:1.4rem;font-weight:700;color:#084b43;margin-bottom:18px}
.meisp-cert-price del{font-size:.85em;color:#768782;margin-right:8px}
.meisp-cert-cta{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border-radius:11px;padding:11px 18px;background:#063f3b;color:white!important;text-decoration:none!important;font-weight:700;text-align:center}
.meisp-cert-cta:hover,.meisp-cert-cta:focus{background:#076b5c;color:#fff!important}
@media(max-width:768px){body.single-product .woocommerce div.product .images,body.single-product .woocommerce div.product .summary{float:none!important;width:100%!important;max-width:100%!important}.meisp-cert-grid{grid-template-columns:1fr}.meisp-cert-card{padding:20px}.meisp-cert-switch{padding-inline:12px}body.single-product .woocommerce div.product .summary .single_add_to_cart_button{flex:1}}
@media(max-width:420px){body.single-product .woocommerce div.product .summary .cart{align-items:stretch}body.single-product .woocommerce div.product .summary .single_add_to_cart_button{width:100%}}

/* v1.1.0: containment of oversized product imagery, limited to certificates. */
body.meisp-cert-product .woocommerce div.product{display:flow-root;max-width:1180px!important;width:min(100% - 32px,1180px)!important;margin:24px auto 48px!important;overflow:visible}
body.meisp-cert-product .woocommerce div.product .woocommerce-product-gallery,
body.meisp-cert-product .woocommerce div.product div.images{width:45%!important;max-width:520px!important;min-width:0!important;float:left!important;margin:0 4% 24px 0!important;overflow:hidden!important;border-radius:20px;background:#f6faf9}
body.meisp-cert-product .woocommerce div.product .woocommerce-product-gallery__wrapper,
body.meisp-cert-product .woocommerce div.product .woocommerce-product-gallery__image,
body.meisp-cert-product .woocommerce div.product .woocommerce-product-gallery__image a{display:block!important;width:100%!important;max-width:100%!important;min-height:0!important;height:auto!important;aspect-ratio:auto!important}
body.meisp-cert-product .woocommerce div.product div.images img,
body.meisp-cert-product .woocommerce div.product .woocommerce-product-gallery img,
body.meisp-cert-product .woocommerce div.product .woocommerce-product-gallery svg{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:440px!important;object-fit:contain!important;border-radius:18px}
body.meisp-cert-product .woocommerce div.product div.summary{float:right!important;width:51%!important;max-width:100%!important;min-width:0!important;margin:0 0 24px!important;padding:0!important;display:block!important}
body.meisp-cert-product .woocommerce div.product .product_title{margin:0 0 16px!important;overflow-wrap:anywhere}
body.meisp-cert-product .woocommerce div.product .woocommerce-tabs,
body.meisp-cert-product .woocommerce div.product .related,
body.meisp-cert-product .meisp-cert-switch{clear:both!important}
body.meisp-cert-product .woocommerce div.product .summary .single_add_to_cart_button{max-width:100%}
@media(max-width:800px){
body.meisp-cert-product .woocommerce div.product{width:calc(100% - 24px)!important;margin:16px auto 32px!important}
body.meisp-cert-product .woocommerce div.product div.images,
body.meisp-cert-product .woocommerce div.product .woocommerce-product-gallery,
body.meisp-cert-product .woocommerce div.product div.summary{float:none!important;width:100%!important;max-width:100%!important;margin:0 0 22px!important}
body.meisp-cert-product .woocommerce div.product div.images img,
body.meisp-cert-product .woocommerce div.product .woocommerce-product-gallery img{max-height:340px!important}
}
