/* EC: product 2012 studio gallery only */
body.postid-2012 .woocommerce-product-gallery:not([data-ec-finish-gallery]) .woocommerce-product-gallery__wrapper {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.65rem;align-items:start}
body.postid-2012 .woocommerce-product-gallery:not([data-ec-finish-gallery]) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {min-width:0;margin:0!important}
body.postid-2012 .woocommerce-product-gallery:not([data-ec-finish-gallery]) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {grid-column:1/-1}
body.postid-2012 .woocommerce-product-gallery:not([data-ec-finish-gallery]) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) {background:#fff;border:1px solid #ddd;color:#242424;border-radius:3px}
body.postid-2012 .woocommerce-product-gallery:not([data-ec-finish-gallery]) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) > a > img {display:block;width:100%;height:auto}
body.postid-2012 .woocommerce-product-gallery:not([data-ec-finish-gallery]) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child)::after {display:block;padding:.28rem .36rem .45rem;font-size:clamp(.66rem,1vw,.86rem);line-height:1.3;text-align:center}
body.postid-2012 .woocommerce-product-gallery:not([data-ec-finish-gallery]) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(2)::after {content:'Cotton fiber · White frame'}
body.postid-2012 .woocommerce-product-gallery:not([data-ec-finish-gallery]) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(3)::after {content:'Cotton fiber · Black frame'}
body.postid-2012 .woocommerce-product-gallery:not([data-ec-finish-gallery]) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(4)::after {content:'Acrylic · White float frame'}
body.postid-2012 .woocommerce-product-gallery:not([data-ec-finish-gallery]) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(5)::after {content:'Acrylic · Black float frame'}
body.postid-2012 .woocommerce-product-gallery:not([data-ec-finish-gallery]) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(6)::after {content:'Acrylic · Frameless'}
body.postid-2012 .woocommerce-product-gallery:not([data-ec-finish-gallery]) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(7)::after {content:'Canvas · Gallery wrap'}
@media(max-width:520px){body.postid-2012 .woocommerce-product-gallery:not([data-ec-finish-gallery]) .woocommerce-product-gallery__wrapper{gap:.4rem;grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* EC: product 145 studio gallery only */
body.postid-145 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.65rem;align-items:start}
body.postid-145 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image{min-width:0;margin:0!important}
body.postid-145 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child{grid-column:1/-1}
body.postid-145 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child){background:#fff;border:1px solid #ddd;color:#242424;border-radius:3px}
body.postid-145 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child)>a>img{display:block;width:100%;height:auto}
body.postid-145 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child)::after{display:block;padding:.28rem .36rem .45rem;font-size:clamp(.66rem,1vw,.86rem);line-height:1.3;text-align:center}
body.postid-145 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(2)::after{content:'Acrylic · Frameless'}
body.postid-145 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(3)::after{content:'Canvas · Gallery wrap'}
body.postid-145 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(4)::after{content:'Metallic paper · Unframed'}
@media(max-width:520px){body.postid-145 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{gap:.4rem;grid-template-columns:repeat(2,minmax(0,1fr))!important}}