
:root{--black:#090a0c;--yellow:#ffd000;--soft:#f5f5f5;--text:#191919}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:white}button,select,textarea{font:inherit}.wrap{width:min(1180px,92%);margin:auto}
.topbar{background:#050505;color:#fff;padding:10px 0;font-size:14px}.topbar .wrap{display:flex;justify-content:space-between;gap:20px}
header{background:#0a0b0d;color:#fff;position:sticky;top:0;z-index:50;border-bottom:1px solid #242424}.header-inner{display:flex;align-items:center;gap:24px}.logo{width:96px;height:96px;object-fit:cover;border-radius:50%;margin:8px 0}.header-inner nav{display:flex;gap:24px;margin-left:auto}.header-inner nav a{color:#fff;text-decoration:none;font-weight:800;font-size:14px}.header-inner nav a:hover{color:var(--yellow)}.cart{background:var(--yellow);border:0;border-radius:999px;padding:11px 15px;font-weight:900}.menu-btn{display:none;background:none;color:#fff;border:1px solid #444;padding:8px 10px;border-radius:8px}
.hero{background:linear-gradient(120deg,#070708 0%,#111 60%,#171717 100%);color:#fff}.hero-grid{min-height:520px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:35px}.kicker{color:var(--yellow);font-weight:900;letter-spacing:.14em}.hero h1{font-size:clamp(48px,7vw,92px);line-height:.9;margin:14px 0}.hero h1 span{color:var(--yellow)}.hero p{font-size:20px;line-height:1.5;color:#ddd;max-width:600px}.hero-bullets{font-weight:700;margin:18px 0}.btn{display:inline-block;background:var(--yellow);color:#000;text-decoration:none;border:0;border-radius:6px;padding:15px 22px;font-weight:900;cursor:pointer}.hero-cards{position:relative;height:430px}.garment{position:absolute;background:#161616;border:1px solid #333;border-radius:22px;display:grid;place-items:center;font-size:95px;box-shadow:0 20px 50px rgba(0,0,0,.35)}.garment small{font-size:14px}.hoodie{width:250px;height:350px;left:10px;bottom:20px}.shirt{width:220px;height:310px;right:0;top:18px;background:#f7f7f7;color:#111}.mug{width:150px;height:170px;right:15px;bottom:0}
.section{padding:65px 0}.soft{background:#fafafa}.section h2{text-align:center;font-size:34px;margin:0 0 32px}.section h2:after{content:"";display:block;width:55px;height:4px;background:var(--yellow);margin:12px auto;border-radius:5px}
.categories{display:grid;grid-template-columns:repeat(7,1fr);gap:14px}.categories button{border:1px solid #e7e7e7;background:#fff;border-radius:15px;padding:24px 10px;font-size:38px;box-shadow:0 8px 20px rgba(0,0,0,.05)}.categories strong{display:block;font-size:13px;margin-top:12px}.benefits{margin-top:28px;background:#0d0d0e;color:#fff;border-radius:18px;padding:28px;display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.benefits b{display:block;color:var(--yellow);margin-bottom:7px}.benefits span{font-size:14px;color:#ddd}
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.products article{background:#fff;border:1px solid #e8e8e8;border-radius:16px;padding:14px;text-align:center}.pic{height:210px;background:#f3f3f3;border-radius:12px;display:grid;place-items:center;font-size:80px}.products p{font-size:22px;font-weight:900}.products button{background:var(--yellow);border:0;padding:10px 13px;border-radius:5px;font-weight:900}
.custom-section{background:#111;color:#fff}.customizer{background:#0a0a0b;border:1px solid #333;border-radius:22px;padding:20px;box-shadow:0 24px 60px rgba(0,0,0,.3)}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:20px}.steps span{background:#171719;padding:11px;border-radius:8px;text-align:center;color:#aaa}.steps .active{background:var(--yellow);color:#000;font-weight:900}.custom-grid{display:grid;grid-template-columns:.9fr 1.2fr 1fr;gap:18px}.panel{background:#151517;border:1px solid #2d2d2f;border-radius:14px;padding:18px}.panel label{display:block;margin-bottom:14px;font-weight:700}.panel select,.panel textarea{width:100%;background:#0d0d0f;color:#fff;border:1px solid #3d3d42;border-radius:8px;padding:12px;margin-top:8px}.panel textarea{min-height:110px;resize:vertical}.swatches,.sizes,.qty,.view-tabs{display:flex;gap:9px;margin:10px 0 18px}.swatch{width:34px;height:34px;border-radius:50%;border:2px solid #777}.swatch.selected,.sizes .selected,.view-tabs .selected{outline:3px solid var(--yellow)}.sizes button,.qty button,.view-tabs button{background:#262629;color:#fff;border:1px solid #444;padding:9px 13px;border-radius:6px}.qty span{min-width:42px;text-align:center;padding:9px}.preview-panel{text-align:center}.view-tabs{justify-content:center}.view-tabs button{min-width:120px}.view-tabs .selected{background:var(--yellow);color:#000;font-weight:900}.mockup{position:relative;width:260px;height:310px;margin:10px auto 12px;background:#fff;clip-path:polygon(20% 12%,35% 3%,42% 9%,58% 9%,65% 3%,80% 12%,100% 30%,86% 44%,76% 34%,76% 100%,24% 100%,24% 34%,14% 44%,0 30%);transition:.25s;box-shadow:0 20px 35px rgba(0,0,0,.25)}.neck{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:52px;height:24px;border:7px solid #dcdcdc;border-top:0;border-radius:0 0 28px 28px}.design-zone{position:absolute;left:50%;top:35%;transform:translate(-50%,-50%);width:120px;height:140px;border:2px dashed #999;display:grid;place-items:center;color:#777;font-weight:900;overflow:hidden}.design-zone img{max-width:100%;max-height:100%;display:none}.view-label{color:#bbb}.upload-box{border:2px dashed #666;border-radius:14px;padding:30px 15px;text-align:center;cursor:pointer}.upload-box input{display:none}.upload-icon{font-size:46px}.upload-box strong,.upload-box span{display:block;margin-top:8px}.full{width:100%}.status{margin-top:12px;min-height:22px;color:#cfcfcf;font-size:14px}
.how{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.how div{background:#f6f6f6;border-radius:14px;padding:24px;display:flex;align-items:center;gap:14px}.how b{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--yellow)}
footer{background:#08090a;color:#ddd;padding:45px 0}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1.4fr;gap:30px}.footer-logo{width:100px;height:100px;object-fit:cover;border-radius:50%}.wa{position:fixed;right:22px;bottom:22px;width:58px;height:58px;border-radius:50%;background:#25d366;color:#fff;text-decoration:none;display:grid;place-items:center;font-size:28px;box-shadow:0 10px 25px rgba(0,0,0,.25)}
@media(max-width:900px){.topbar .wrap{flex-wrap:wrap}.menu-btn{display:block;margin-left:auto}.header-inner{flex-wrap:wrap}.header-inner nav{display:none;width:100%;flex-direction:column;margin:0;padding:0 0 15px}.header-inner nav.open{display:flex}.hero-grid{grid-template-columns:1fr}.hero-cards{display:none}.categories{grid-template-columns:repeat(3,1fr)}.products{grid-template-columns:repeat(2,1fr)}.benefits{grid-template-columns:repeat(2,1fr)}.custom-grid{grid-template-columns:1fr}.steps{grid-template-columns:repeat(2,1fr)}.how{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.topbar{display:none}.logo{width:72px;height:72px}.categories,.products,.benefits,.how,.footer-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr}.hero h1{font-size:52px}.section{padding:48px 0}.section h2{font-size:28px}.mockup{width:220px;height:270px}}

/* Vista frontal/posterior con fotografías reales */
.photo-stage{
  position:relative;
  width:min(100%,390px);
  aspect-ratio:4/5;
  margin:10px auto 12px;
  background:#efefef;
  border-radius:14px;
  overflow:hidden;
  display:grid;
  place-items:center;
}
.photo-stage>img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.photo-design-zone{
  position:absolute;
  border:2px dashed var(--yellow);
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:900;
  text-shadow:0 1px 3px rgba(0,0,0,.8);
  overflow:hidden;
  background:rgba(0,0,0,.08);
}
.photo-design-zone.front-zone{
  width:30%;
  height:28%;
  left:50%;
  top:48%;
  transform:translate(-50%,-50%);
}
.photo-design-zone.back-zone{
  width:34%;
  height:34%;
  left:50%;
  top:52%;
  transform:translate(-50%,-50%);
}
.photo-design-zone img{
  max-width:100%;
  max-height:100%;
  display:none;
}
.mini-views{
  margin-top:14px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.mini{
  border:2px solid #333;
  background:#101012;
  color:#fff;
  border-radius:10px;
  padding:7px;
  cursor:pointer;
}
.mini.selected{border-color:var(--yellow)}
.mini img{
  width:100%;
  height:110px;
  object-fit:cover;
  border-radius:7px;
  display:block;
}
.mini span{display:block;margin-top:6px;font-weight:800}

.design-controls{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:12px}
.design-controls label{margin:0;display:flex;gap:8px;align-items:center;font-size:13px}
.design-controls input[type=range]{width:145px}
.design-controls button{background:#262629;color:#fff;border:1px solid #555;border-radius:7px;padding:8px 10px;cursor:pointer}
.drag-help{font-size:12px;color:#aaa;line-height:1.4;margin:10px auto 0;max-width:420px}
.photo-design-zone{touch-action:none;cursor:grab;overflow:visible}
.photo-design-zone.dragging{cursor:grabbing}
.photo-design-zone img{user-select:none;-webkit-user-drag:none;pointer-events:none;transform-origin:center center}

.swatch[data-name="Blanco"]{background:#fff}
.swatch[data-name="Negro"]{background:#111}
.swatch[data-name="Rosa"]{background:#f5a0b8}
.photo-stage{background:#f3f3f3}
.photo-stage>img{object-fit:cover;filter:none}

/* --- v4: personalizador limpio sin recuadro --- */
.preview-panel{overflow:hidden}
.shirt-stage{
  display:grid;
  place-items:center;
  background:#fff;
  min-height:470px;
  border-radius:14px;
  overflow:hidden;
}
.shirt-photo-wrap{
  position:relative;
  width:min(100%,430px);
  aspect-ratio:1/1.18;
  overflow:hidden;
  border-radius:12px;
  background:#fff;
}
.shirt-photo{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:filter .2s ease;
}
.design-overlay{
  position:absolute;
  left:50%;
  top:42%;
  max-width:35%;
  max-height:38%;
  transform:translate(-50%,-50%);
  transform-origin:center center;
  display:none;
  cursor:grab;
  user-select:none;
  -webkit-user-drag:none;
  touch-action:none;
  z-index:3;
}
.design-overlay.dragging{cursor:grabbing}
.swatch[data-name="Blanco"]{background:#fff}
.swatch[data-name="Negro"]{background:#111}
.swatch[data-name="Rosa"]{background:#f5a0b8}

.garment-types{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 18px}
.garment-type{background:#262629;color:#fff;border:1px solid #444;padding:12px 10px;border-radius:8px;cursor:pointer;font-weight:800}
.garment-type.selected{outline:3px solid var(--yellow);background:#18181a}

/* v7 - mockups reales por producto/color */
.shirt-stage{background:#fff!important}
.shirt-photo-wrap{background:#fff!important}
.shirt-photo{filter:none!important;object-fit:contain!important;background:#fff!important}
.swatch[data-name="Blanco"]{background:#fff!important}
.swatch[data-name="Negro"]{background:#111!important}
.swatch[data-name="Rosa"]{background:#f591b0!important}

/* v8 - productos mostrados solo como imagen y polerón grande */
.product-image-options{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:10px 0 18px;
}
.product-img-btn{
  background:#fff;
  border:2px solid #444;
  border-radius:12px;
  padding:8px;
  cursor:pointer;
  min-height:180px;
  display:grid;
  place-items:center;
}
.product-img-btn.selected{
  border-color:var(--yellow);
  box-shadow:0 0 0 2px rgba(255,208,0,.2);
}
.product-img-btn img{
  width:100%;
  height:170px;
  object-fit:contain;
  display:block;
  filter:none!important;
}
.shirt-stage{
  min-height:560px!important;
}
.shirt-photo-wrap{
  width:min(100%,560px)!important;
  aspect-ratio:1/1.08!important;
}
.shirt-photo{
  object-fit:contain!important;
  width:100%!important;
  height:100%!important;
}
/* al seleccionar polerón, mantener tamaño visual grande igual a la polera */
.shirt-photo.hoodie-active{
  transform:scale(1.12);
  transform-origin:center center;
}

/* v9 - mockups aportados por el usuario, grandes y uniformes */
.shirt-stage{min-height:620px!important;background:#fff!important}
.shirt-photo-wrap{width:min(100%,620px)!important;aspect-ratio:760/900!important;background:#fff!important}
.shirt-photo{width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important;filter:none!important}
.product-img-btn{min-height:210px!important}
.product-img-btn img{height:195px!important;object-fit:contain!important}

/* v10: usar mockups completos proporcionados por el usuario, conservando textos y logos */
.shirt-stage{min-height:650px!important;background:#f5f5f5!important}
.shirt-photo-wrap{width:min(100%,820px)!important;aspect-ratio:16/9!important;background:#f5f5f5!important}
.shirt-photo{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;filter:none!important;transform:none!important}
.product-img-btn img{width:100%!important;height:190px!important;object-fit:contain!important}

/* v11: cada pestaña muestra solo su mitad del mockup y llena el visor */
.shirt-stage{min-height:680px!important;background:transparent!important}
.shirt-photo-wrap{
  width:min(100%,720px)!important;
  aspect-ratio:1/1.08!important;
  background:transparent!important;
  overflow:hidden!important;
}
.shirt-photo{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  background:transparent!important;
  filter:none!important;
  transform:none!important;
}

.print-sides{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 18px}
.print-side{background:#262629;color:#fff;border:1px solid #444;padding:10px 8px;border-radius:7px;cursor:pointer;font-weight:800}
.print-side.selected{outline:3px solid var(--yellow);background:#18181a}
.price-box{background:#0d0d0f;border:1px solid #333;border-radius:10px;padding:14px;margin:14px 0}
.price-box>div{display:flex;justify-content:space-between;gap:15px;padding:6px 0}
.price-box span{color:#bbb}
.price-box strong{color:#fff}
.price-box .total-line{border-top:1px solid #333;margin-top:6px;padding-top:12px}
.price-box .total-line strong{color:var(--yellow);font-size:20px}
.grand-total{margin:14px 0;background:#111;border:1px solid #333;border-radius:10px;padding:14px;text-align:center;font-size:18px}
.grand-total strong{color:var(--yellow);font-size:24px}

/* v13: selectores desplegables y tarjetas sin precios */
.size-select{
  width:100%;
  background:#0d0d0f;
  color:#fff;
  border:1px solid #3d3d42;
  border-radius:8px;
  padding:12px;
  margin:8px 0 18px;
}
.products article{display:flex;flex-direction:column;justify-content:space-between}
.products .pic{overflow:hidden}
.products .pic img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:#f5f5f5;
}
.products article h3{min-height:48px}
.realistic-mug,.realistic-keychain{
  font-size:96px!important;
  background:linear-gradient(145deg,#f9f9f9,#ececec)!important;
}
/* Ajustes WordPress/Blocksy */
body.estampapro-v13-site{margin:0!important}.estampapro-v13-site #wpadminbar{position:fixed}.estampapro-v13-site header{margin:0}.estampapro-v13-site img{max-width:100%}.estampapro-v13-site .customizer button{cursor:pointer}
@media(min-width:783px){body.admin-bar.estampapro-v13-site header{top:32px}}@media(max-width:782px){body.admin-bar.estampapro-v13-site header{top:46px}}
