/* Fotografías a sangre, con encuadre por imagen. Compatible con el tema 1.1.1. */
.msp-demo-band{display:none}
.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"]{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:50% 50%;padding:0;border:0;background:transparent;border-radius:12px}
.msp-category .msp-category-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.woocommerce ul.products li.product a img[src*="fb-retrato-estudio"],
.msp-category-photo img[src*="fb-retrato-estudio"]{object-position:50% 8%}
.woocommerce ul.products li.product a img[src*="fb-pareja-sesion"],
.msp-category-photo img[src*="fb-pareja-sesion"]{object-position:50% 0%}
.woocommerce ul.products li.product a img[src*="fb-retrato-azul-jardin"],
.msp-category-photo img[src*="fb-retrato-azul-jardin"]{object-position:50% 15%}
.woocommerce ul.products li.product a img[src*="fb-retrato-azul-horizontal"]{object-position:42% 50%}
.woocommerce ul.products li.product a img[src*="ref-video-comercial"],
.msp-category-photo img[src*="ref-video-comercial"]{object-position:50% 75%}
.woocommerce ul.products li.product a img[src*="ref-fotografia-espacios"]{object-position:50% 67%}
.msp-about-image{aspect-ratio:4/5;height:auto;max-height:none;object-fit:cover;object-position:50% 10%;background:transparent}
.msp-post-image img{object-fit:cover;object-position:50% 35%}
.woocommerce div.product div.images img{height:auto;max-height:none;aspect-ratio:auto;background:transparent}

/* Nosotros: cada fotografía conserva un encuadre adecuado a su contenido. */
.msp-two-columns{gap:40px 48px;align-items:start;margin-block:36px}
.msp-two-columns:has(>figure){align-items:center}
.msp-two-columns>section,.msp-two-columns>figure{min-width:0}
.msp-two-columns>figure{margin:0;width:100%}
.msp-two-columns h2{font-size:clamp(27px,2.6vw,34px);line-height:1.2}
.msp-two-columns section>p:last-child{margin-bottom:0}
.msp-two-columns .msp-about-image{display:block;width:100%;height:auto;max-height:none;aspect-ratio:3/2;object-fit:cover;object-position:50% 50%;padding:0;border:0;border-radius:12px;background:transparent}
.msp-two-columns .msp-about-image[src*="fb-retrato-estudio"]{aspect-ratio:5/4;object-position:50% 0%}
.msp-two-columns figcaption{margin:12px 0 0;line-height:1.5}

/* Contacto: campos en dos columnas y mensaje a todo el ancho. */
.msp-contact-layout{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:48px;align-items:start}
.msp-contact-layout>section{min-width:0}
.msp-contact-layout h2{font-size:clamp(27px,2.5vw,32px);line-height:1.2;max-width:430px}
.msp-contact-layout h3{font-size:22px;letter-spacing:-.02em}
.msp-contact-data{padding-block:22px 16px}
.msp-contact-data p{margin-bottom:14px}
.msp-contact-data address{margin-bottom:18px}
.msp-contact-data a:not(.msp-button){overflow-wrap:anywhere}
.msp-contact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;padding:28px;align-self:start}
.msp-contact-form .msp-form-field{margin:0;min-width:0}
.msp-contact-form .msp-form-field-wide,.msp-contact-form .msp-form-consent,.msp-contact-form>button{grid-column:1/-1}
.msp-contact-form .msp-form-field input{min-height:46px}
.msp-contact-form .msp-form-field textarea{min-height:154px;display:block}
.msp-contact-form .msp-form-consent{margin:0;align-items:flex-start}
.msp-contact-form>button{justify-self:start}
.msp-contact-privacy summary{cursor:pointer}

/* Mi cuenta: menú lateral y direcciones con títulos y enlaces alineados. */
.woocommerce-account .msp-page{padding-block:44px 64px}
.woocommerce-account .msp-page-header{margin-bottom:28px}
.woocommerce-account .msp-page-header h1{font-size:clamp(34px,4vw,48px);margin-bottom:0}
.woocommerce-account.logged-in .msp-page-content>.woocommerce{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start;margin-top:0}
.woocommerce-account.logged-in .msp-page-content>.woocommerce:before,.woocommerce-account.logged-in .msp-page-content>.woocommerce:after{display:none}
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation,.woocommerce-account.logged-in .woocommerce-MyAccount-content{float:none;width:100%;min-width:0}
.woocommerce-account .woocommerce-MyAccount-navigation{border:1px solid var(--line);border-radius:12px;background:var(--soft);overflow:hidden}
.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0;padding:8px}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0;padding:0;border:0}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:11px 14px;color:#344054;border-radius:6px;font-size:14px;line-height:1.5}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:var(--blue);color:#fff;font-weight:600}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:#e5edff;color:#1e40af}
.woocommerce-account .woocommerce-MyAccount-content>p{margin-bottom:24px;color:#505d70}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.woocommerce-account .woocommerce-Addresses:before,.woocommerce-account .woocommerce-Addresses:after{display:none}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address{float:none;width:auto;min-width:0;padding:24px;border:1px solid var(--line);border-radius:12px;background:#fff}
.woocommerce-account .woocommerce-Address .title{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:20px}
.woocommerce-account .woocommerce-Address .title:before,.woocommerce-account .woocommerce-Address .title:after{display:none}
.woocommerce-account .woocommerce-Address .title h2{float:none;margin:0;font-size:24px;line-height:1.25;letter-spacing:-.025em}
.woocommerce-account .woocommerce-Address .title .edit{float:none;font-size:13px;line-height:1.5;text-align:left}
.woocommerce-account .woocommerce-Address address{font-size:14px;font-style:normal;line-height:1.7;color:#667085;margin:0;overflow-wrap:anywhere}
.woocommerce-account .woocommerce-notices-wrapper:empty{display:none}
.woocommerce-account.logged-in .msp-page-content>.woocommerce>.woocommerce-notices-wrapper:not(:empty){grid-column:1/-1}

/* Opciones de los cinco productos variables y encuadres del nuevo catálogo. */
.woocommerce div.product form.cart .variations{width:100%;margin-block:18px;border:0}
.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{padding:8px 0;text-align:left;border:0;background:transparent}
.woocommerce div.product form.cart .variations select{width:100%;min-width:180px;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:#fff;font:inherit}
.woocommerce div.product form.cart .variations label{padding-right:14px;font-weight:600}
.woocommerce div.product .woocommerce-variation-description p{font-size:15px;line-height:1.6}
.woocommerce ul.products li.product img[src*="ref-msp-016"],.woocommerce ul.products li.product img[src*="ref-msp-017"],.woocommerce ul.products li.product img[src*="ref-msp-018"],.woocommerce ul.products li.product img[src*="ref-msp-019"],.woocommerce ul.products li.product img[src*="ref-msp-021"],.woocommerce ul.products li.product img[src*="ref-msp-022"]{object-position:50% 20%}

@media(max-width:980px){
 .msp-contact-layout{gap:32px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
 .msp-contact-form{padding:22px;column-gap:16px}
 .woocommerce-account.logged-in .msp-page-content>.woocommerce{grid-template-columns:190px minmax(0,1fr);gap:24px}
 .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{grid-template-columns:1fr}
}
@media(max-width:820px){
 .msp-two-columns{gap:28px}
 .msp-two-columns:has(>figure){grid-template-columns:1fr}
 .msp-two-columns>figure{max-width:none}
 .msp-two-columns .msp-about-image[src*="fb-retrato-estudio"]{aspect-ratio:4/3;object-position:50% 0%}
 .msp-contact-layout{grid-template-columns:1fr;gap:28px}
 .msp-contact-layout h2{max-width:560px}
 .woocommerce-account.logged-in .msp-page-content>.woocommerce{grid-template-columns:1fr;gap:24px}
 .woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:4px}
 .woocommerce-account .woocommerce-MyAccount-navigation a{padding:9px 12px}
 .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:580px){
 .msp-two-columns{grid-template-columns:1fr;gap:22px;margin-block:30px}
 .msp-contact-form{grid-template-columns:1fr;gap:18px;padding:22px 18px}
 .msp-contact-form>button{width:100%}
 .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{grid-template-columns:1fr}
 .woocommerce-account .woocommerce-Addresses .woocommerce-Address{padding:22px}
 .woocommerce-account .msp-page{padding-block:32px 48px}
}
