.pcj-bow{max-width:1050px;margin:22px 0 30px;color:#191919;font-family:inherit}
.pcj-bow h2{font-size:clamp(21px,2.4vw,29px);font-weight:700;margin:0 0 9px}
.pcj-bow p{margin:0 0 15px}
.pcj-bow-preview{background:#f7f7f7;border-radius:12px;padding:15px 14px 10px;margin-bottom:24px;text-align:center}
.pcj-bow-preview canvas{width:100%;max-width:850px;height:auto;display:block;margin:0 auto;background:white;border-radius:8px}
.pcj-bow-preview p{font-size:12px;color:#646464;margin:7px 0 2px}
.pcj-bow fieldset{padding:0;margin:0 0 20px;border:0;min-width:0}
.pcj-bow legend,.pcj-bow-fieldtitle{font-size:16px;font-weight:700;display:block;margin-bottom:12px;color:#111}
.pcj-bow-colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.pcj-bow-swatch{display:flex;align-items:center;gap:8px;padding:10px 9px;border:1px solid #dedede;border-radius:7px;cursor:pointer;font-size:12px;min-width:0;line-height:1.2;background:#fff}
.pcj-bow-swatch:has(input:checked){border:2px solid #111;padding:9px 8px}
.pcj-bow-swatch input{position:absolute;opacity:0;pointer-events:none}
.pcj-bow-chip{width:17px;height:17px;flex:0 0 17px;border-radius:50%;border:1px solid #bbb}
.pcj-bow-types{display:flex;gap:20px;flex-wrap:wrap}
.pcj-bow-types label{display:flex;gap:7px;align-items:center;cursor:pointer}
#pcj-bow-upload-section{margin:0 0 23px}
#pcj-bow-upload-section[hidden]{display:none!important}
.pcj-bow input[type=file]:not(.pcj-bow-hidden-file){display:block;width:100%;border:1px solid #dedede;border-radius:6px;padding:12px;background:#fff}
.pcj-bow small{display:block;color:#666;margin-top:7px}
.pcj-bow textarea{width:100%;border:1px solid #d2d2d2;border-radius:6px;min-height:90px;padding:10px}
.pcj-bow-warning{font-size:12px;color:#666;margin-top:14px!important}
.pcj-bow-hidden-file{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
#pcj-bow-error{padding:10px 14px;color:#a00000;background:#fff1f1;border:1px solid #eeb5b5;border-radius:6px}
#pcj-bow-error[hidden]{display:none!important}
@media(max-width:767px){.pcj-bow-colors{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pcj-bow-swatch{font-size:12px;padding:9px 7px}.pcj-bow-swatch:has(input:checked){padding:8px 6px}.pcj-bow-preview{padding:10px 7px}.pcj-bow{margin-top:15px}}
@media(min-width:768px) and (max-width:1100px){.pcj-bow-colors{grid-template-columns:repeat(3,minmax(0,1fr))}}



/* 1.8: un único bloque de producto CENTRADO, independiente del tema. */
body.pcj-bow-layout #pcj-bow-page-host {
 box-sizing:border-box!important;
 width:calc(100% - 32px)!important;
 max-width:1050px!important;
 margin:20px auto 40px!important;
 display:block!important;
 position:relative!important;
 float:none!important;
 clear:both!important;
}
body.pcj-bow-layout #pcj-bow-page-host > .summary,
body.pcj-bow-layout #pcj-bow-page-host > .entry-summary {
 box-sizing:border-box!important;
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
 margin:0!important;
 padding:0!important;
 display:block!important;
 float:none!important;
 clear:both!important;
 position:static!important;
 transform:none!important;
}
body.pcj-bow-layout #pcj-bow-page-host form.cart,
body.pcj-bow-layout #pcj-bow-page-host .pcj-bow {
 box-sizing:border-box!important;
 width:100%!important;
 max-width:100%!important;
 margin-left:auto!important;
 margin-right:auto!important;
}
body.pcj-bow-layout #pcj-bow-page-host .pcj-bow {background:#fff;border-radius:12px;padding:24px;}
body.pcj-bow-layout #pcj-bow-gallery-destination {
 display:block!important;
 width:100%!important;
 max-width:100%!important;
 clear:both!important;
 margin:28px auto 30px!important;
 padding:24px 0 0!important;
 border-top:1px solid #e9e9e9;
}
body.pcj-bow-layout #pcj-bow-gallery-destination h3 {font-size:19px;margin:0 0 18px;font-weight:700;}
body.pcj-bow-layout #pcj-bow-gallery-slot {max-width:760px;margin:0 auto;}
body.pcj-bow-layout #pcj-bow-gallery-destination .woocommerce-product-gallery,
body.pcj-bow-layout #pcj-bow-gallery-destination .images,
body.pcj-bow-layout #pcj-bow-gallery-destination .product-images {
 width:100%!important;max-width:760px!important;
 margin:0 auto!important;float:none!important;display:block!important;
 opacity:1!important;visibility:visible!important;position:relative!important;
}
body.pcj-bow-layout #pcj-bow-gallery-destination img {max-width:100%;height:auto;}
body.pcj-bow-layout #pcj-bow-gallery-destination .flex-control-thumbs {
 display:flex!important;flex-wrap:wrap;gap:10px;list-style:none;margin:12px 0 0;padding:0;
}
body.pcj-bow-layout #pcj-bow-gallery-destination .flex-control-thumbs li {width:calc(25% - 8px)!important;float:none!important;}
/* Impedir que la galería original genere una columna antes del traslado. */
body.pcj-bow-layout:not(.pcj-bow-v18-ready) div.product > .woocommerce-product-gallery,
body.pcj-bow-layout:not(.pcj-bow-v18-ready) div.product > .images {visibility:hidden!important;}
@media(max-width:767px){
 body.pcj-bow-layout #pcj-bow-page-host {width:calc(100% - 20px)!important;margin:12px auto 28px!important;}
 body.pcj-bow-layout #pcj-bow-page-host .pcj-bow{padding:12px 8px;}
}
