*{box-sizing:border-box}body{margin:0;font-family:Trebuchet MS,Arial,sans-serif;background:#fff2f6;color:#30262b}header{height:70px;padding:10px 4%;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:3px solid #ff8fbb;position:sticky;top:0;z-index:9}header b{font-size:28px;color:#ef3d88;font-family:cursive}header span{display:block;font-size:12px}button{border:0;border-radius:14px;padding:12px 18px;font-weight:800;cursor:pointer}.hero{max-width:1300px;margin:auto;position:relative;padding:18px}.hero>img{width:100%;border-radius:26px;box-shadow:0 12px 35px #b96b8a55}.heroCopy{position:absolute;left:7%;bottom:8%;background:#fffdf0e8;padding:18px 24px;border-radius:22px;max-width:410px}.heroCopy h1{margin:0;color:#ed3985}.heroCopy button{background:#ff3d8d;color:#fff}.builder{max-width:1400px;margin:15px auto 50px;padding:15px}nav{display:flex;gap:8px;overflow:auto;margin-bottom:12px}.step{min-width:150px;background:#fff;border:2px solid #ffd0df}.step.active{background:#ff4c96;color:#fff}.workspace{display:grid;grid-template-columns:280px 1fr 280px;gap:14px}.panel,.summary,.preview{background:#fff;border-radius:22px;padding:18px;box-shadow:0 8px 24px #bc78922b}.panel h2,.summary h2{margin-top:0;color:#e93680}.choiceGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.choice{background:#fff4f7;border:2px solid #ffd0df;padding:12px 8px}.choice.selected{border-color:#ff3d8d;background:#ffe0eb}.field{width:100%;padding:12px;border:2px solid #ffd0df;border-radius:12px;margin:5px 0 12px}.swatches{display:flex;gap:8px;flex-wrap:wrap}.swatch{width:38px;height:38px;border-radius:10px;border:3px solid #fff;outline:1px solid #ddd}.preview{min-height:620px;background:linear-gradient(#f9d6e3,#f7ebdc);display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}.desk{width:100%;display:flex;justify-content:center}.notebook{width:360px;height:500px;position:relative;filter:drop-shadow(0 18px 12px #63445155)}.cover{width:330px;height:500px;position:absolute;right:0;border-radius:8px 18px 18px 8px;background:linear-gradient(135deg,#f7a9c5,#d9b5ff,#9fdff0);overflow:hidden;border:2px solid #fff}.cover:after{content:'✿  ✦  ♥  ✿  ✧';position:absolute;inset:0;padding:28px;font-size:40px;line-height:2.4;color:#fff8;pointer-events:none}.spiral{position:absolute;left:0;top:12px;width:50px;height:476px;z-index:5;background:repeating-linear-gradient(to bottom,transparent 0 13px,var(--spiralColor,#272125) 13px 18px,transparent 18px 29px);border-radius:10px}.name{position:absolute;z-index:4;top:43%;left:10%;right:10%;text-align:center;font:48px cursive;color:#292027;text-shadow:0 2px 0 #fff}.elastic{position:absolute;right:25px;top:0;width:14px;height:100%;background:#f45d9c;z-index:4;box-shadow:0 0 4px #0004}.charm{position:absolute;right:42px;bottom:30px;z-index:5;font-size:36px;color:#f33584}.cover img{position:absolute;width:100%;height:100%;object-fit:cover;z-index:2}.tip{margin-top:20px;background:#fff8;padding:10px 16px;border-radius:14px}.price{background:#ffe0ec;padding:12px;border-radius:14px;text-align:center;margin:16px 0}.price strong{display:block;font-size:30px}.summary button{width:100%;margin:5px 0;color:#fff}.save{background:#168fe8}.wa{background:#18b85a}.summary small{display:block;text-align:center;margin-top:8px;color:#777}.thumb{width:100%;height:120px;border-radius:12px;background:linear-gradient(135deg,#f7a9c5,#d9b5ff,#9fdff0);position:relative}.thumb:after{content:attr(data-name);position:absolute;inset:45px 5px;text-align:center;font-family:cursive;font-size:24px}.navBtns{display:flex;gap:8px;margin-top:15px}.navBtns button{flex:1}.primary{background:#ff3d8d;color:#fff}footer{text-align:center;padding:25px;background:#f7a6c5;color:#6a2644;font-weight:bold}@media(max-width:900px){.workspace{grid-template-columns:1fr}.preview{order:-1;min-height:480px}.notebook{transform:scale(.78);height:500px}.heroCopy{position:relative;left:auto;bottom:auto;margin-top:-25px}.summary{order:3}}@media(max-width:480px){header b{font-size:22px}.hero{padding:8px}.builder{padding:8px}.panel,.summary,.preview{padding:12px}.preview{min-height:420px}.notebook{transform:scale(.65);margin:-45px 0}.heroCopy h1{font-size:24px}}

.help{font-size:12px;color:#7a6670;margin:5px 0 12px}.name{cursor:grab;touch-action:none;user-select:none;min-width:180px}.name:active{cursor:grabbing}.extraGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.extraGrid .choice{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:22px}.extraGrid .choice span{font-size:12px}.paperPreview{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.paper{min-height:105px;background:#fffdf8;border:1px solid #e3d9d1;border-radius:8px;padding:10px;font-size:11px;box-shadow:0 3px 8px #0001;color:#66545d}.paper small{display:block;margin-top:10px;line-height:1.6}.paper.calendar div{font-size:8px;margin-top:8px;word-spacing:2px}.paper.weekly{background:repeating-linear-gradient(#fffdf8 0 20px,#e9dce2 21px)}.paper.tasks{background:linear-gradient(90deg,#ffdce9 0 3px,#fffdf8 3px)}
/* V1.3: modelo visual para pedido */
.orderPreview{margin-top:12px;padding:10px;border:1px solid #f2bfd2;border-radius:14px;background:#fff7fb}.orderPreview img{width:100%;max-width:230px;display:block;margin:auto;border-radius:10px;box-shadow:0 8px 22px #8b536333}.orderPreview small{display:block;margin-top:7px;text-align:center}.waNote{font-size:12px;line-height:1.35;margin-top:8px;color:#765866}

.cover:after{display:none!important}.coverGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.coverChoice{padding:5px;background:#fff4f7;border:2px solid #ffd0df;border-radius:12px;color:#30262b}.coverChoice.selected{border-color:#ff3d8d;box-shadow:0 0 0 2px #ffb4d0}.coverChoice img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:8px;display:block}.coverChoice span{display:block;font-size:12px;margin-top:5px}.cover img{image-rendering:auto!important}
/* Portfolio de trabajos reales */
.headActions{display:flex;align-items:center;gap:8px}.headLink{background:#fff0f6;color:#e93680;padding:9px 14px}.heroBtns{display:flex;gap:9px;flex-wrap:wrap}.heroCopy .secondary{background:#fff;color:#e93680;border:2px solid #ff8fbb}.portfolio{max-width:1400px;margin:20px auto 35px;padding:24px 18px}.portfolioHead{text-align:center;max-width:760px;margin:0 auto 18px}.portfolioHead h2{font-size:34px;color:#e93680;margin:5px 0 8px}.portfolioHead p{margin:0;color:#765866}.eyebrow{font-size:12px;font-weight:900;letter-spacing:2px;color:#a65275}.filters{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:18px 0}.filterBtn{background:#fff;border:2px solid #ffd0df;color:#71485a;padding:9px 14px}.filterBtn.active{background:#ff4c96;color:#fff;border-color:#ff4c96}.portfolioGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.productCard{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 8px 24px #bc78922b;border:1px solid #f8d5e2;display:flex;flex-direction:column}.productCard img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}.productBody{padding:13px;display:flex;flex-direction:column;gap:8px;flex:1}.productBody h3{margin:0;color:#d92f77;font-size:18px}.productBody p{margin:0;color:#765866;font-size:13px;line-height:1.4}.productCode{font-size:11px;font-weight:900;color:#9c6a7f}.productActions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:auto}.productActions button{padding:10px 8px;font-size:12px}.refBtn{background:#fff0f6;color:#d92f77;border:1px solid #ffb8d1}.askBtn{background:#18b85a;color:#fff}.portfolioNote{text-align:center;font-size:12px;color:#765866;margin-top:15px}.toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);background:#30262b;color:#fff;padding:12px 18px;border-radius:14px;z-index:99;box-shadow:0 8px 30px #0004;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1}.portfolioModal{position:fixed;inset:0;background:#2b1823d9;z-index:50;display:none;align-items:center;justify-content:center;padding:20px}.portfolioModal.open{display:flex}.portfolioModal img{max-width:min(92vw,760px);max-height:86vh;border-radius:18px;box-shadow:0 20px 70px #0008}.portfolioModal button{position:absolute;right:24px;top:20px;background:#fff;color:#d92f77;font-size:20px;padding:8px 13px}
@media(max-width:1000px){.portfolioGrid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.portfolioGrid{grid-template-columns:repeat(2,1fr);gap:10px}.portfolio{padding:16px 10px}.portfolioHead h2{font-size:27px}.productActions{grid-template-columns:1fr}.headLink{display:none}}
@media(max-width:420px){.portfolioGrid{grid-template-columns:1fr 1fr}.productBody{padding:9px}.productBody h3{font-size:15px}.productBody p{display:none}.productActions button{font-size:11px;padding:9px 5px}}

/* Portfolio multi-foto */
.productThumbWrap{position:relative;cursor:pointer}.productThumbWrap>img{display:block;width:100%}.photoCount{position:absolute;right:10px;bottom:10px;background:rgba(40,25,35,.78);color:#fff;border-radius:999px;padding:5px 9px;font-size:.78rem;font-weight:800}.portfolioModal{padding:20px}.portfolioModal .galleryBox{position:relative;width:min(920px,92vw);max-height:90vh;background:#fff;border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:12px}.portfolioModal .galleryMain{position:relative;min-height:0;display:flex;align-items:center;justify-content:center}.portfolioModal .galleryMain img{max-width:100%;max-height:68vh;object-fit:contain;border-radius:14px}.portfolioModal .galleryClose{position:absolute;right:12px;top:12px;z-index:4}.galleryNav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.9);font-size:28px;cursor:pointer;box-shadow:0 4px 14px #0002}.galleryPrev{left:10px}.galleryNext{right:10px}.galleryFooter{display:flex;align-items:center;justify-content:space-between;gap:12px}.galleryInfo strong{display:block}.galleryInfo small{opacity:.7}.galleryThumbs{display:flex;gap:8px;overflow-x:auto;padding:2px}.galleryThumbs img{width:64px;height:64px;object-fit:cover;border-radius:9px;cursor:pointer;border:3px solid transparent}.galleryThumbs img.active{border-color:#ff4c91}.gallerySave{border:0;border-radius:12px;padding:10px 14px;cursor:pointer;font-weight:800}.galleryCounter{font-weight:800;white-space:nowrap}@media(max-width:650px){.portfolioModal{padding:8px}.portfolioModal .galleryBox{width:96vw;padding:10px}.portfolioModal .galleryMain img{max-height:62vh}.galleryFooter{align-items:flex-start;flex-direction:column}.galleryNav{width:38px;height:38px;font-size:24px}}

/* === FIX visor multifoto Scrapbook === */
.portfolioModal{position:fixed!important;inset:0!important;z-index:9999!important;background:rgba(43,24,35,.88)!important;display:none!important;align-items:center!important;justify-content:center!important;padding:18px!important;overflow:hidden!important}
.portfolioModal.open{display:flex!important}
.portfolioModal .galleryBox{position:relative!important;width:min(940px,96vw)!important;height:min(850px,94vh)!important;max-height:94vh!important;background:#fff!important;border-radius:22px!important;padding:18px!important;display:grid!important;grid-template-rows:minmax(0,1fr) auto auto!important;gap:10px!important;overflow:hidden!important}
.portfolioModal .galleryMain{position:relative!important;width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff7fa!important;border-radius:15px!important}
.portfolioModal .galleryMain>img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border-radius:12px!important;box-shadow:none!important;margin:0!important}
.portfolioModal .galleryThumbs{display:flex!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;min-height:70px!important;max-height:76px!important;padding:3px!important;align-items:center!important}
.portfolioModal .galleryThumbs img{display:block!important;flex:0 0 64px!important;width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important;min-height:64px!important;max-height:64px!important;object-fit:cover!important;border-radius:9px!important;box-shadow:none!important;margin:0!important;border:3px solid transparent!important}
.portfolioModal .galleryThumbs img.active{border-color:#ff4c91!important}
.portfolioModal button{position:static!important;right:auto!important;top:auto!important;font-size:inherit!important}
.portfolioModal .galleryClose{position:absolute!important;right:12px!important;top:12px!important;z-index:10!important;width:42px!important;height:42px!important;padding:0!important;border-radius:50%!important;background:#fff!important;color:#d92f77!important;font-size:20px!important;box-shadow:0 4px 14px #0002!important}
.portfolioModal .galleryNav{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;z-index:5!important;width:44px!important;height:44px!important;padding:0!important;border-radius:50%!important;background:rgba(255,255,255,.94)!important;color:#d92f77!important;font-size:30px!important;box-shadow:0 4px 14px #0003!important}
.portfolioModal .galleryPrev{left:10px!important;right:auto!important}.portfolioModal .galleryNext{right:10px!important;left:auto!important}
.portfolioModal .galleryFooter{display:grid!important;grid-template-columns:1fr auto auto!important;align-items:center!important;gap:12px!important;min-height:48px!important}
.portfolioModal .gallerySave{position:static!important;background:#ff4c91!important;color:#fff!important;padding:10px 14px!important;border-radius:12px!important;font-weight:800!important;white-space:nowrap!important}
@media(max-width:650px){.portfolioModal{padding:6px!important}.portfolioModal .galleryBox{width:98vw!important;height:96vh!important;max-height:96vh!important;padding:9px!important;border-radius:16px!important}.portfolioModal .galleryThumbs{min-height:60px!important;max-height:64px!important}.portfolioModal .galleryThumbs img{flex-basis:54px!important;width:54px!important;height:54px!important;min-width:54px!important;max-width:54px!important;min-height:54px!important;max-height:54px!important}.portfolioModal .galleryFooter{grid-template-columns:1fr auto!important}.portfolioModal .gallerySave{grid-column:1/-1!important;width:100%!important}.portfolioModal .galleryNav{width:38px!important;height:38px!important;font-size:26px!important}}

/* Visor V3: miniaturas sin IMG para evitar estilos globales */
.portfolioModal .galleryThumbs .galleryThumbBtn{position:static!important;display:block!important;flex:0 0 64px!important;width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important;min-height:64px!important;max-height:64px!important;padding:0!important;border:3px solid transparent!important;border-radius:9px!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;box-shadow:none!important}
.portfolioModal .galleryThumbs .galleryThumbBtn.active{border-color:#ff4c91!important}
@media(max-width:650px){.portfolioModal .galleryThumbs .galleryThumbBtn{flex-basis:54px!important;width:54px!important;height:54px!important;min-width:54px!important;max-width:54px!important;min-height:54px!important;max-height:54px!important}}

/* VISOR V4: flechas laterales visibles + indicador Imagen X de Y */
.portfolioModal .galleryMain{overflow:visible!important;padding:0 58px!important}
.portfolioModal .galleryPrev,.portfolioModal .galleryNext{display:flex!important;align-items:center!important;justify-content:center!important;position:absolute!important;top:50%!important;transform:translateY(-50%)!important;width:48px!important;height:64px!important;border-radius:18px!important;background:#fff!important;color:#e83480!important;font-size:42px!important;font-family:Arial,sans-serif!important;font-weight:700!important;line-height:1!important;z-index:30!important;box-shadow:0 5px 18px #0003!important;opacity:1!important;visibility:visible!important}
.portfolioModal .galleryPrev{left:4px!important}.portfolioModal .galleryNext{right:4px!important}
.portfolioModal .galleryImageLabel{position:absolute!important;left:50%!important;bottom:10px!important;transform:translateX(-50%)!important;background:rgba(35,25,31,.78)!important;color:#fff!important;padding:7px 13px!important;border-radius:999px!important;font-size:14px!important;font-weight:800!important;z-index:20!important;pointer-events:none!important}
.portfolioModal .galleryCounter{font-weight:800!important;white-space:nowrap!important}
@media(max-width:650px){.portfolioModal .galleryMain{padding:0 42px!important}.portfolioModal .galleryPrev,.portfolioModal .galleryNext{width:36px!important;height:52px!important;font-size:34px!important;border-radius:14px!important}.portfolioModal .galleryPrev{left:2px!important}.portfolioModal .galleryNext{right:2px!important}.portfolioModal .galleryImageLabel{font-size:12px!important;bottom:6px!important;padding:5px 10px!important}}

/* === Banners / anuncios V2 panorámico === */
.adsSection{max-width:1400px;margin:8px auto 34px;padding:0 18px}.adsTitle{text-align:center;color:#e93680;margin:8px 0 14px}.adsGrid{display:grid;grid-template-columns:1fr;gap:20px}.adCard{background:#fff;border:1px solid #ffd0df;border-radius:24px;overflow:hidden;box-shadow:0 8px 24px #bc78922b;display:flex;flex-direction:column}.adCard.noImage{display:block}.adImage{display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;background:#fff}.adBody{padding:14px 20px 18px;display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}.adBadge{font-size:11px;font-weight:900;color:#d92f77;background:#fff0f6;border-radius:999px;padding:5px 9px}.adBody h3{margin:0;color:#d92f77;font-size:21px}.adBody p{flex-basis:100%;margin:0;color:#765866;line-height:1.4}.adBtn{background:#18b85a;color:#fff;text-decoration:none;border-radius:12px;padding:10px 14px;font-weight:850;display:inline-block}.adBtn:hover{transform:translateY(-1px)}
@media(max-width:650px){.adsSection{padding:0 10px}.adCard{border-radius:18px}.adImage{width:100%!important;height:auto!important;object-fit:contain!important}.adBody{padding:12px}.adBody h3{font-size:18px}.adBody p{font-size:14px}.adBtn{width:100%;text-align:center;box-sizing:border-box}}
/* V5 tienda: banners desktop, carrito, pagos y redes */
@media(min-width:900px){.adsSection{max-width:1100px}.adCard{max-width:1100px;margin-inline:auto}}
.productPrice{font-weight:900;color:#2d2630;font-size:18px;margin:5px 0}.productPrice small{font-weight:600;color:#765866}.addBtn{background:#f43b86!important;color:#fff!important;border-color:#f43b86!important}.shopExtras{max-width:1180px;margin:30px auto;padding:22px;display:grid;grid-template-columns:1fr 1fr;gap:24px;background:#eef8fc;border-radius:22px}.payChips,.socialLinks{display:flex;gap:10px;flex-wrap:wrap}.payChip,.socialLink{background:#fff;border:1px solid #d6e4ea;border-radius:10px;padding:9px 12px;font-weight:800;text-decoration:none;color:#513843}.cartFab{position:fixed;right:22px;bottom:22px;z-index:5000;background:#f43b86;color:#fff;border-radius:999px;padding:14px 18px;font-weight:900;box-shadow:0 8px 24px #0003;cursor:pointer}.cartPanel{position:fixed;right:-430px;top:0;width:min(410px,94vw);height:100vh;background:#fff;z-index:10000;padding:20px;box-shadow:-8px 0 30px #0003;transition:.25s;overflow:auto}.cartPanel.open{right:0}.cartHead{display:flex;justify-content:space-between;align-items:center}.cartHead button{border:0;background:#fff0f6;border-radius:50%;width:38px;height:38px}.cartItem{display:grid;grid-template-columns:1fr auto;gap:8px;padding:14px 0;border-bottom:1px solid #eee}.cartQty{display:flex;gap:8px;align-items:center}.cartQty button{width:30px;height:30px;border:1px solid #ff8bb7;background:#fff;border-radius:9px}.cartPanel textarea{width:100%;min-height:80px;margin-top:6px}.cartTotal{display:flex;justify-content:space-between;font-size:20px;padding:18px 0}.cartPanel .wa{width:100%}@media(max-width:650px){.shopExtras{grid-template-columns:1fr;margin:20px 10px}.cartFab{right:12px;bottom:12px}}

/* V5.2 */
.consultPrice{color:#8b6072}.cartTotal small{display:block;margin-top:6px;color:#7d5364;font-weight:800}.cardPay{background:#fff0f6;border-color:#ffb6d0}.adCard{max-width:1050px;margin-left:auto;margin-right:auto}.adsGrid{grid-template-columns:1fr!important}
@media(min-width:1100px){.adsSection{max-width:1120px!important}.adImage{max-height:430px!important;object-fit:contain!important;background:#fff}}
