/* Gallery skins + effects */
body[class*="wcpt-skin--"] .woocommerce-product-gallery .woocommerce-product-gallery__image > a,
body[class*="wcpt-skin--"] .woocommerce-product-gallery .woocommerce-product-gallery__wrapper a,
body[class*='wcpt-skin--'] .woocommerce-product-gallery__image a{display:block;border-radius:16px !important;overflow:hidden;position:relative}
body[class*="wcpt-skin--"] .woocommerce-product-gallery__image a img{display:block;width:100%;height:auto;transition:transform .25s ease}
body[class*="wcpt-skin--"] .woocommerce-product-gallery__image a:hover img{transform:scale(1.025)}

/* Skins */
body.wcpt-skin--subtle .woocommerce-product-gallery__image a{background:#fff !important;border:1px solid rgba(0,0,0,.10) !important;box-shadow:0 10px 24px rgba(0,0,0,.08) !important}
body.wcpt-skin--elevated .woocommerce-product-gallery__image a{background:#fff !important;border:1px solid rgba(0,0,0,.12) !important;box-shadow:0 22px 48px rgba(0,0,0,.20) !important}
body.wcpt-skin--bordered .woocommerce-product-gallery__image a{background:#fff !important;border:2px solid rgba(0,0,0,.28) !important}
body.wcpt-skin--minimal .woocommerce-product-gallery__image a{background:transparent !important;border:2px dashed rgba(0,0,0,.25) !important}
body.wcpt-skin--aero .woocommerce-product-gallery__image a{backdrop-filter:saturate(1.05) blur(2.5px);background:linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.2)) !important;border:1px solid rgba(255,255,255,.55) !important}
body.wcpt-skin--framed .woocommerce-product-gallery__image a{background:#fff !important;padding:12px !important;border:1px solid rgba(0,0,0,.12) !important;box-shadow:0 18px 36px rgba(0,0,0,.12) !important}
body.wcpt-skin--polaroid .woocommerce-product-gallery__image a{background:#fff !important;padding:14px 14px 30px !important;box-shadow:0 20px 42px rgba(0,0,0,.20) !important}
body.wcpt-skin--glass .woocommerce-product-gallery__image a{backdrop-filter:saturate(1.2) blur(3px); background:linear-gradient(135deg, rgba(255,255,255,.6), rgba(255,255,255,.25)) !important; border:1px solid rgba(255,255,255,.6) !important}
body.wcpt-skin--film .woocommerce-product-gallery__image a{background:#111 !important;padding:8px !important;box-shadow:0 28px 52px rgba(0,0,0,.28) !important}
body.wcpt-skin--elevated .woocommerce-product-gallery__image a:before{content:"";position:absolute;top:12px;inset-inline-start:12px;width:44px;height:14px;background:rgba(255,255,200,.75);transform:rotate(-12deg);border-radius:2px;box-shadow:0 2px 4px rgba(0,0,0,.25)}

/* Thumbs */
body[class*="wcpt-skin--"] .flex-control-thumbs{gap:10px;display:flex;flex-wrap:wrap}
body[class*="wcpt-skin--"] .flex-control-thumbs li{margin:0 !important}
body[class*="wcpt-skin--"] .flex-control-thumbs img{border-radius:10px !important;border:1px solid rgba(0,0,0,.12) !important;transition:transform .2s ease, box-shadow .2s ease}
body[class*="wcpt-skin--"] .flex-control-thumbs img:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(0,0,0,.10)}
body[class*="wcpt-skin--"] .flex-control-thumbs img.flex-active{outline:2px solid var(--primary) !important; box-shadow:0 0 0 3px rgba(59,130,246,.25) !important}

/* Open effects (on click) */
.wcpt-effect-main--zoom.wcpt-opening{transform:scale(1.06) !important}
.wcpt-effect-main--tilt.wcpt-opening{transform:perspective(900px) rotateX(4deg) rotateY(-4deg) !important}
.wcpt-effect-main--burst.wcpt-opening:before{content:"";position:absolute;left:50%;top:50%;width:20px;height:20px;border-radius:999px;background:rgba(255,255,255,.8);transform:translate(-50%,-50%) scale(1);animation:wcpt-burst .45s ease forwards}
@keyframes wcpt-burst{to{transform:translate(-50%,-50%) scale(18);opacity:0}}
.wcpt-effect-main--flip.wcpt-opening{transform:perspective(900px) rotateY(12deg) !important}
.wcpt-effect-main--slideup.wcpt-opening{transform:translateY(-10px) !important;box-shadow:0 16px 32px rgba(0,0,0,.2) !important}
.wcpt-effect-main--fadein.wcpt-opening:after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.25);animation:wcpt-fade .45s ease forwards}
@keyframes wcpt-fade{to{opacity:0}}
