/*
Theme Name: Master Studio Pro
Description: Tema de fotografía y video para el avance académico de WordPress y WooCommerce de Master Studio Pro.
Version: 1.1.1
Requires at least: 6.5
Requires PHP: 7.4
Author: Equipo del proyecto Master Studio Pro
License: GPL-2.0-or-later
Text Domain: master-studio-pro
*/
:root{--ink:#15171b;--blue:#2563eb;--blue-dark:#1e40af;--muted:#667085;--line:#e4e7ec;--paper:#fff;--soft:#f5f7fb;--radius:14px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:Inter,Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65}img{max-width:100%;height:auto;display:block}a{color:var(--blue);text-underline-offset:4px}button,input,textarea,select{font:inherit}button,a,input,textarea,summary{touch-action:manipulation}button{cursor:pointer}h1,h2,h3{line-height:1.15;letter-spacing:-.035em;margin:0 0 20px;font-weight:700}h1{font-size:clamp(36px,5vw,64px)}h2{font-size:clamp(28px,3.2vw,42px)}h3{font-size:24px}p{margin:0 0 20px}ul,ol{padding-left:24px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #60a5fa;outline-offset:5px}.msp-container{width:min(1180px,calc(100% - 64px));margin-inline:auto}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:10px;left:10px;z-index:1000;background:white;padding:12px}.msp-demo-band{text-align:center;background:#edf3ff;color:#224373;font-size:12px;letter-spacing:.02em;padding:7px 16px}.msp-demo-band span{padding-inline:8px}.msp-header{background:var(--ink);color:white}.msp-header-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:96px}.msp-brand{display:inline-flex;align-items:center;gap:12px;color:inherit;text-decoration:none;line-height:1;font-size:24px;letter-spacing:.13em;font-weight:800;white-space:nowrap}.msp-brand small{display:block;font-size:12px;letter-spacing:.25em;font-weight:500;margin-top:8px}.msp-brand-mark{display:grid;place-items:center;width:45px;height:45px;background:var(--blue);font-size:30px;font-weight:900;letter-spacing:0}.msp-menu{display:flex;align-items:center;gap:24px;padding:0;margin:0;list-style:none}.msp-menu a{color:#c8cdd7;text-decoration:none;font-size:14px}.msp-menu .current-menu-item>a,.msp-menu a:hover{color:white}.msp-header-tools{display:flex;gap:18px;align-items:center;font-size:12px;white-space:nowrap}.msp-header-tools a{color:white;text-decoration:none}.msp-cart{border:1px solid #4a5260;border-radius:5px;padding:8px 12px}.msp-menu-toggle{display:none;background:none;color:white;border:1px solid #667085;padding:8px 12px;border-radius:5px}.msp-main{min-height:55vh}.msp-page{padding-block:60px 85px}.msp-page-header{margin-bottom:38px;max-width:850px}.msp-page-header p{color:var(--muted)}.msp-eyebrow{font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--blue);margin-bottom:16px}.msp-hero{position:relative;isolation:isolate;background:#0a101a;min-height:620px;display:flex;align-items:center;color:white;overflow:hidden}.msp-hero-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.msp-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,12,19,.86) 0%,rgba(7,12,19,.6) 42%,rgba(7,12,19,.02) 75%);z-index:-1}.msp-hero-content{padding-block:90px;max-width:670px}.msp-hero h1{font-size:clamp(42px,5vw,68px);font-weight:500;line-height:1.06;letter-spacing:-.045em}.msp-hero h1 span{color:#98b9ff}.msp-hero .msp-eyebrow{color:#afc7ff}.msp-hero-copy{max-width:450px;color:#cbd4e3;font-size:17px}.msp-actions{display:flex;flex-wrap:wrap;gap:12px;margin-block:30px}.msp-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{display:inline-flex;justify-content:center;align-items:center;gap:12px;background:var(--blue);color:#fff;border:1px solid var(--blue);border-radius:6px;padding:13px 21px;font-size:14px;font-weight:600;text-decoration:none;line-height:1.4;transition:background .2s}.msp-button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--blue-dark);color:#fff}.msp-button-outline{background:transparent;border-color:#576276;color:white}.msp-button-outline:hover{background:#fff;color:var(--ink)}.msp-hero-note{font-size:12px;color:#a4b1c6;margin:25px 0 0}.msp-intro-strip{background:var(--soft);border-bottom:1px solid var(--line)}.msp-intro-inner{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;padding-block:26px}.msp-intro-inner p{margin:0;font-size:13px;color:var(--muted)}.msp-intro-inner strong{display:block;color:var(--ink);font-size:14px}.msp-section{padding-block:80px}.msp-section-soft{background:var(--soft)}.msp-section-top{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:35px}.msp-section-top h2{margin-bottom:0}.msp-section-top p{margin:10px 0 0;color:var(--muted);max-width:530px}.msp-text-link{font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}.msp-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.msp-category{position:relative;display:block;aspect-ratio:1.38;overflow:hidden;border-radius:8px;color:#fff;text-decoration:none;background:#1a2331}.msp-category:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.8),transparent 70%)}.msp-category img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.msp-category:hover img{transform:scale(1.045)}.msp-category-caption{position:absolute;bottom:22px;left:22px;right:22px;z-index:1}.msp-category-caption small{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#d3dded;margin-bottom:8px}.msp-category-caption strong{font-size:22px;letter-spacing:-.02em}.msp-category-caption b{float:right;font-size:22px;font-weight:400}.msp-reference-note{color:var(--muted);font-size:12px;margin-top:18px}.msp-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;margin-top:40px}.msp-step{border-top:1px solid #cdd5e3;padding-top:24px}.msp-step-number{font-size:12px;letter-spacing:.1em;color:var(--blue);display:block;margin-bottom:30px}.msp-step h3{font-size:22px}.msp-step p{color:var(--muted);font-size:15px}.msp-cta{background:var(--ink);color:white;padding-block:65px}.msp-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:35px}.msp-cta h2{font-size:clamp(30px,3.7vw,46px);margin-bottom:15px}.msp-cta p{color:#aebbd0;margin:0;max-width:600px}.msp-footer{background:#101216;color:#c1c8d4;padding-block:65px 20px}.msp-footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:70px}.msp-footer .msp-brand{color:white;margin-bottom:25px}.msp-footer p{font-size:13px;max-width:340px}.msp-footer .msp-muted{color:#8793a6}.msp-footer h2{color:white;font-size:15px;letter-spacing:0;margin-bottom:24px}.msp-footer ul{list-style:none;padding:0;margin:0}.msp-footer li{margin-bottom:10px;font-size:13px}.msp-footer a{color:inherit;text-decoration:none}.msp-footer a:hover{text-decoration:underline}.msp-footer-bottom{border-top:1px solid #2a303b;margin-top:50px;padding-top:20px;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#8793a6}.msp-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:55px;margin-block:40px}.msp-about-lead{font-size:23px;line-height:1.5;max-width:860px;letter-spacing:-.02em}.msp-values{padding:0;list-style:none}.msp-values li{padding:17px 0;border-bottom:1px solid var(--line)}.msp-values strong{display:block}.msp-values span{font-size:14px;color:var(--muted)}.msp-about-image{border-radius:8px;width:100%;aspect-ratio:1.3;object-fit:cover}.msp-team{border-top:1px solid var(--line);padding-top:35px;margin-top:40px}.msp-team p{max-width:760px}.msp-faq{max-width:850px}.msp-faq details{border-bottom:1px solid var(--line);padding:22px 0}.msp-faq summary{font-size:18px;font-weight:600;cursor:pointer;list-style-position:outside;margin-left:18px;padding-left:5px}.msp-faq details p{margin:17px 0 0;color:#505d70}.msp-contact-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:75px}.msp-contact-layout h2{font-size:30px}.msp-contact-layout address{font-style:normal}.msp-contact-data{padding:20px 0;border-top:1px solid var(--line)}.msp-contact-form{padding:32px;background:var(--soft);border:1px solid var(--line);border-radius:var(--radius)}.msp-form-field{margin-bottom:20px}.msp-form-field label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}.msp-form-field input,.msp-form-field select,.msp-form-field textarea{width:100%;padding:11px 12px;border:1px solid #cbd2dd;background:white;border-radius:5px;color:var(--ink)}.msp-form-field textarea{min-height:160px;resize:vertical}.msp-form-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5;margin:20px 0}.msp-form-consent input{flex-shrink:0;margin-top:4px}.msp-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.msp-status{padding:18px 22px;border-radius:6px;margin-bottom:25px}.msp-status-success{background:#eaf8ef;color:#166534}.msp-status-error{background:#fff0ef;color:#9b1c16}.msp-contact-privacy{font-size:12px;line-height:1.7;color:var(--muted)}.msp-blog-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:45px}.msp-post-image{display:block;aspect-ratio:1.7;background:var(--soft);overflow:hidden;border-radius:8px;margin-bottom:25px}.msp-post-image img{width:100%;height:100%;object-fit:cover}.msp-post-card h2{font-size:28px}.msp-post-card h2 a{color:var(--ink);text-decoration:none}.msp-post-card p{color:var(--muted)}.msp-post-card .msp-eyebrow{font-size:11px;color:var(--blue)}.msp-article{max-width:880px;padding-block:60px 90px}.msp-article-cover{width:100%;max-height:470px;object-fit:cover;border-radius:8px;margin-bottom:40px}.msp-article-body h2{font-size:30px;margin-top:35px}.msp-article-body p{line-height:1.85}.msp-search{display:flex;gap:8px;max-width:600px;margin-block:25px}.msp-search input[type=search]{width:100%;min-width:0;border:1px solid #cbd2dd;border-radius:5px;padding:11px 14px}.msp-search button{border:0;border-radius:5px;background:var(--ink);color:#fff;padding:10px 20px}.msp-shop{padding-block:45px 90px}.woocommerce .woocommerce-breadcrumb{font-size:12px;margin-bottom:28px;color:var(--muted)}.woocommerce .woocommerce-products-header{margin-bottom:30px}.woocommerce .woocommerce-products-header__title{font-size:46px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{font-size:13px}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin:0!important;padding:0!important;list-style:none}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none!important;width:auto!important;margin:0 0 25px!important;clear:none!important}.woocommerce ul.products li.product a img{width:100%;aspect-ratio:1.15;object-fit:cover;border-radius:8px;margin-bottom:16px}.woocommerce ul.products li.product h2.woocommerce-loop-product__title{font-size:17px;line-height:1.4;letter-spacing:-.02em;padding:0;margin-bottom:10px;color:var(--ink)}.woocommerce ul.products li.product .price{color:var(--ink);font-size:17px;font-weight:600}.woocommerce ul.products li.product .price del{font-size:13px;font-weight:400;opacity:.55}.woocommerce ul.products li.product .price ins{text-decoration:none}.woocommerce ul.products li.product .button{margin-top:12px;background:white;color:var(--blue);border:1px solid #cdd9f4;padding:9px 12px;font-size:12px}.woocommerce ul.products li.product .button:hover{background:var(--blue);color:white}.woocommerce span.onsale{background:var(--blue);color:#fff;border-radius:4px;font-size:11px;min-width:0;min-height:0;line-height:1.4;padding:6px 10px;top:10px;left:10px}.woocommerce ul.products li.product .onsale{right:10px;top:10px;left:auto;margin:0}.woocommerce div.product .product_title{font-size:clamp(30px,3.6vw,46px)}.woocommerce div.product p.price{font-size:26px;color:var(--blue)}.woocommerce div.product .woocommerce-product-details__short-description{color:#505d70}.woocommerce div.product .woocommerce-tabs ul.tabs{padding-left:0}.woocommerce div.product .woocommerce-tabs .panel h2{font-size:28px}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{max-width:100%;padding:10px;border:1px solid #cbd2dd;border-radius:5px;background:white}.woocommerce table.shop_table{border-color:var(--line);border-radius:8px}.woocommerce #payment{background:var(--soft)}.woocommerce div.product .stock{color:#256444;font-size:13px}.msp-product-demo{font-size:12px;color:var(--muted);border-left:3px solid #9bb8fa;padding-left:12px;margin-bottom:24px}.msp-shop-note{font-size:13px;color:var(--muted);margin-bottom:28px}.msp-page-content>.woocommerce{margin-top:25px}.woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;padding:0}.woocommerce .woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--line);padding:10px 0}.woocommerce .woocommerce-MyAccount-navigation a{text-decoration:none}.woocommerce-error,.woocommerce-info,.woocommerce-message{font-size:14px}.msp-team-role{font-size:14px;color:var(--muted)}
@media(max-width:1080px){.msp-header-inner{gap:20px}.msp-menu{gap:16px}.msp-menu a{font-size:12px}.msp-header-tools{gap:10px}.msp-brand{font-size:20px}.msp-brand-mark{width:38px;height:38px}.msp-contact-layout{gap:40px}}
@media(max-width:820px){.msp-container{width:calc(100% - 40px)}.msp-header-inner{min-height:82px;flex-wrap:wrap;gap:18px;padding-block:18px}.msp-menu-toggle{display:block;margin-left:auto}.msp-navigation{display:none;order:4;width:100%}.msp-navigation.is-open{display:block}.msp-menu{align-items:stretch;flex-direction:column;gap:0;padding-block:12px}.msp-menu a{display:block;font-size:16px;padding:10px 0}.msp-header-tools{font-size:11px}.msp-hero{min-height:570px}.msp-hero-content{max-width:570px;padding-block:65px}.msp-hero:after{background:linear-gradient(90deg,rgba(7,12,19,.9),rgba(7,12,19,.65))}.msp-category-grid{grid-template-columns:repeat(2,1fr)}.msp-section{padding-block:55px}.msp-steps{gap:25px}.msp-footer-grid{gap:35px;grid-template-columns:1.3fr 1fr 1fr}.msp-contact-layout{grid-template-columns:1fr}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.msp-two-columns{gap:30px}.msp-cta-inner{align-items:flex-start;flex-direction:column}.msp-page{padding-block:40px 65px}}
@media(max-width:520px){.msp-container{width:calc(100% - 32px)}.msp-header-tools{gap:12px;order:3;width:100%;justify-content:flex-end;border-top:1px solid #343b47;padding-top:12px}.msp-header-inner{gap:12px}.msp-demo-band{font-size:10px}.msp-hero{min-height:550px}.msp-hero h1{font-size:42px}.msp-hero-copy{font-size:15px;max-width:310px}.msp-hero-content{padding-block:52px}.msp-hero-note{max-width:290px}.msp-intro-inner{grid-template-columns:1fr;gap:16px;padding-block:25px}.msp-intro-inner p{display:flex;gap:12px;flex-wrap:wrap}.msp-category-grid{gap:14px}.msp-category{aspect-ratio:.95}.msp-category-caption{left:14px;right:14px;bottom:16px}.msp-category-caption strong{font-size:17px}.msp-category-caption small{font-size:9px}.msp-category-caption b{display:none}.msp-section-top{align-items:flex-start;flex-direction:column;gap:20px}.msp-section-top h2{font-size:30px}.msp-steps{grid-template-columns:1fr;gap:24px}.msp-step-number{margin-bottom:15px}.msp-footer-grid{grid-template-columns:1fr 1fr;gap:35px 20px}.msp-footer-grid>div:first-child{grid-column:1/-1}.msp-footer-bottom{flex-direction:column;gap:8px}.msp-two-columns{grid-template-columns:1fr;gap:15px}.msp-about-lead{font-size:20px}.msp-contact-form{padding:22px 18px}.msp-blog-grid{grid-template-columns:1fr;gap:40px}.woocommerce ul.products{gap:16px}.woocommerce ul.products li.product h2.woocommerce-loop-product__title{font-size:14px}.woocommerce ul.products li.product .price{font-size:15px}.woocommerce ul.products li.product .button{font-size:11px;padding:9px}.woocommerce .woocommerce-products-header__title{font-size:36px}.woocommerce .woocommerce-ordering{float:none}.woocommerce .woocommerce-result-count{float:none}.msp-search button{padding-inline:13px}.msp-actions{gap:10px}.msp-button{padding:12px 16px;font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
/* Actualización visual basada en la página del estudio indicada por el usuario. */
.msp-header{background:#fff;color:var(--ink);border-bottom:1px solid #e4eaf4}
.msp-brand-logo{width:50px;height:50px;border-radius:10px;object-fit:contain;flex-shrink:0}
.msp-menu a{color:#475467}.msp-menu .current-menu-item>a,.msp-menu a:hover{color:var(--blue)}
.msp-header-tools a{color:#344054}.msp-cart{border-color:#d2dced;background:#f8faff}
.msp-menu-toggle{color:#1d3e87;border-color:#c6d4ed;background:#f7faff}
.msp-studio-hero{background:linear-gradient(115deg,#f5f8ff 0%,#fff 58%,#e8efff 100%);padding-block:42px}
.msp-studio-hero-grid{display:grid;grid-template-columns:.94fr 1.06fr;align-items:center;gap:60px;min-height:560px}
.msp-studio-hero-copy{padding-block:24px}.msp-studio-hero-copy h1{font-size:clamp(40px,4.6vw,62px);line-height:1.08;letter-spacing:-.047em;font-weight:650}
.msp-studio-hero-copy h1 span{color:#2455e9}.msp-studio-lead{max-width:440px;font-size:17px;line-height:1.75;color:#56647a;margin-top:26px}
.msp-studio-note{max-width:410px;color:#687a94;font-size:12px;margin-bottom:0}
.msp-studio-hero-photo{margin:0;position:relative}.msp-studio-hero-photo img{width:100%;height:auto;aspect-ratio:1800/1199;object-fit:contain;object-position:center;border-radius:28px 6px 28px 6px;box-shadow:20px 20px 0 #dce7ff}
.msp-studio-hero-photo figcaption{font-size:10px;line-height:1.5;color:#697a96;margin:26px 0 0 6px}
.msp-studio-hero-copy .msp-button+.msp-button{color:#2455e9;background:#fff;border-color:#b8c9ed}
.msp-studio-hero-copy .msp-button+.msp-button:hover{background:#edf3ff}
.msp-category{aspect-ratio:1.25;border-radius:12px}.msp-category img{object-position:center 34%}
.woocommerce ul.products li.product a img{object-position:center 30%;border-radius:12px}
.woocommerce ul.products li.product a img[src*="anuarios-fotograficos"],.woocommerce ul.products li.product a img[src*="portada-facebook"]{object-fit:contain;background:#edf2ff}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--blue);color:#fff}
.msp-category img,.msp-about-image,.woocommerce ul.products li.product a img{object-position:center top}
@media(max-width:1080px){.msp-studio-hero-grid{gap:35px}.msp-studio-hero-copy h1{font-size:50px}.msp-studio-hero-photo img{height:auto}}
@media(max-width:820px){.msp-studio-hero-grid{grid-template-columns:1fr;gap:30px;min-height:0}.msp-studio-hero-copy{padding-block:14px 0;max-width:620px}.msp-studio-hero-copy h1{font-size:52px}.msp-studio-hero-photo{max-width:680px}.msp-studio-hero-photo img{height:auto;object-position:center;box-shadow:10px 10px 0 #dce7ff}.msp-studio-hero{padding-block:30px 40px}.msp-header-tools{border-color:#e3e9f3}}
@media(max-width:520px){.msp-brand-logo{width:42px;height:42px}.msp-studio-hero-copy h1{font-size:42px}.msp-studio-lead{font-size:15px;margin-top:20px}.msp-studio-hero-photo img{height:auto;border-radius:18px 4px 18px 4px}.msp-studio-hero-photo figcaption{font-size:9px;margin-top:18px}.msp-studio-hero-grid{gap:26px}.msp-category{aspect-ratio:.95}}

/* Marcos uniformes que conservan la fotografía completa, sin estirarla. */
.msp-category{aspect-ratio:auto;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;overflow:hidden}
.msp-category:after{display:none}
.msp-category-photo{display:block;aspect-ratio:1/1;overflow:hidden;background:#f2f4f7}
.msp-category .msp-category-photo img{width:100%;height:100%;object-fit:contain;object-position:center;transform:none}
.msp-category:hover img{transform:none}
.msp-category:hover{border-color:#9fb8ed}
.msp-category-caption{position:static;display:block;flex:1;padding:20px 22px;background:#fff}
.msp-category-caption small{color:var(--muted);font-size:10px;margin-bottom:8px}
.msp-category-caption strong{display:block;font-size:20px;line-height:1.35;min-height:2.7em;padding-right:18px}
.msp-category-caption b{color:var(--blue);float:none;position:absolute;bottom:22px;right:20px}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{display:flex;flex-direction:column;align-items:flex-start}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{width:100%;flex:1;display:flex;flex-direction:column}
.woocommerce ul.products li.product a img,.woocommerce ul.products li.product a img[src*="anuarios-fotograficos"],.woocommerce ul.products li.product a img[src*="portada-facebook"]{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;object-position:center;background:#f2f4f7;border:1px solid #e7ebf1;border-radius:12px;margin-bottom:18px}
.woocommerce ul.products li.product h2.woocommerce-loop-product__title{min-height:2.8em}
.woocommerce ul.products li.product .price{margin-top:auto}
.woocommerce ul.products li.product .button{margin-top:12px}
.msp-about-image{height:auto;aspect-ratio:auto;max-height:580px;object-fit:contain;object-position:center;background:#f2f4f7}
.msp-post-image{aspect-ratio:3/2;background:#f2f4f7}
.msp-post-image img{object-fit:contain;object-position:center}
.msp-article-cover{height:auto;max-height:none;object-fit:contain}
.woocommerce div.product div.images img{height:auto;max-height:640px;object-fit:contain;object-position:center;background:#f2f4f7;border-radius:12px}
@media(max-width:520px){.msp-category{aspect-ratio:auto}.msp-category-caption{padding:14px 12px}.msp-category-caption strong{font-size:15px;min-height:4.05em;padding-right:0}.msp-category-caption small{font-size:9px}.woocommerce ul.products li.product h2.woocommerce-loop-product__title{min-height:4.2em}.msp-about-image{max-height:480px}}
