.pgbag{--blue:#0057ff;--line:#dce5f2;--text:#16233c;--muted:#65738a;width:100%;max-width:900px;margin:0 auto;font-family:Alexandria,Arial,sans-serif;color:var(--text);font-size:14px;line-height:1.6;overflow-x:clip}.pgbag,.pgbag *{box-sizing:border-box;min-width:0}.pgbag [hidden]{display:none!important}.pgbag button,.pgbag input,.pgbag select,.pgbag textarea{font:inherit}.pgbag button{cursor:pointer}.pgbag button:focus-visible,.pgbag input:focus-visible,.pgbag select:focus-visible{outline:3px solid #ffc107;outline-offset:2px}.pgbag-head,.pgbag-stage,.pgbag-success{background:#fff;border:1px solid var(--line);border-radius:17px;padding:22px;box-shadow:0 8px 26px rgba(23,52,99,.06)}.pgbag-head{background:linear-gradient(130deg,#fff,#f3f7ff);margin-bottom:14px}.pgbag-eyebrow{font-size:11px;letter-spacing:.05em;color:var(--blue);font-weight:900}.pgbag h2{font-size:clamp(21px,4vw,29px);margin:4px 0}.pgbag-head p,.pgbag-hint{color:var(--muted);margin:4px 0 12px;font-size:12px}.pgbag-steps{position:sticky;top:7px;z-index:50;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:8px;margin:0 0 14px;background:rgba(255,255,255,.98);border:1px solid var(--line);border-radius:13px;box-shadow:0 7px 22px rgba(23,52,99,.1)}.pgbag-steps button{border:0;border-radius:9px;padding:9px 3px;background:#f3f6fa;color:#68778e;font-weight:800}.pgbag-steps button.active{background:var(--blue);color:#fff;box-shadow:0 0 0 3px #dce8ff}.pgbag-steps button.complete{background:#e8f8ef;color:#197247}.pgbag-steps button:disabled{cursor:default;opacity:.7}.pgbag-stage h3{font-size:19px;margin:0 0 12px}.pgbag-stage h4{font-size:14px;margin:18px 0 8px}.pgbag-materials{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.pgbag-materials button,.pgbag-shapes button{border:1px solid var(--line);border-radius:12px;background:white;text-align:right;padding:9px;color:var(--text)}.pgbag-materials button.selected,.pgbag-shapes button.selected{border-color:var(--blue);background:#eef4ff;box-shadow:inset 0 0 0 1px var(--blue)}.pgbag-materials img{width:100%;height:105px;display:block;object-fit:contain;background:#f7faff;border-radius:8px}.pgbag-materials strong,.pgbag-materials small{display:block}.pgbag-materials strong{margin-top:7px}.pgbag-materials small{font-size:10px;color:var(--muted)}.pgbag-shapes{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.pgbag-shapes button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;min-height:78px;text-align:center;font-weight:800;font-size:11px}.pgbag-shape{display:block;width:29px;height:29px;border:3px solid var(--blue);background:#e7efff;border-radius:4px}.pgbag-shape.rectangle{width:38px;height:24px}.pgbag-shape.circle{border-radius:50%}.pgbag-shape.oval{width:39px;height:24px;border-radius:50%}.pgbag-shape.complex{clip-path:polygon(50% 0%,65% 32%,100% 35%,74% 56%,83% 100%,50% 77%,17% 100%,26% 56%,0 35%,35% 32%)}.pgbag-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pgbag label:not(.pgbag-consent){display:flex;flex-direction:column;gap:5px;font-weight:700;font-size:12px}.pgbag input:not([type=checkbox]),.pgbag select,.pgbag textarea{width:100%;max-width:100%;min-height:44px;border:1px solid #cad5e6;border-radius:9px;padding:10px 11px;background:#fff;color:var(--text)}.pgbag input[type=file]{font-size:11px}.pgbag-wide{margin-top:12px}.pgbag-price{padding:13px;margin-top:14px;border-radius:11px;background:#eef4ff;color:#0046c9;font-weight:900}.pgbag-review{border:1px solid var(--line);border-radius:12px;padding:4px 15px}.pgbag-review>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf0f5}.pgbag-review>div:last-child{border:0;color:var(--blue);font-size:17px}.pgbag-review span{color:var(--muted)}.pgbag-consent{display:flex;align-items:center;gap:9px;margin:16px 0;font-weight:700}.pgbag-consent input{width:19px;height:19px;flex:none}.pgbag-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:19px}.pgbag-actions button,.pgbag-whatsapp{border:0;border-radius:10px;padding:11px 18px;background:var(--blue);color:#fff;font-weight:900;text-decoration:none;min-height:43px}.pgbag-actions .pgbag-back{background:#edf2f8;color:#344054}.pgbag-actions button:disabled{opacity:.65;cursor:wait}.pgbag-error{color:#ac2727;background:#fff1ef;border:1px solid #ffd7d2;border-radius:9px;padding:10px;margin-top:12px}.pgbag-success{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;width:100%;min-height:290px;justify-content:center;background:linear-gradient(#f2f8ff,#fff)}.pgbag-success h3{font-size:clamp(21px,5vw,28px);margin:0}.pgbag-success p{font-size:14px;margin:0}.pgbag-check{width:60px;height:60px;display:grid;place-items:center;background:#e5f7ed;color:#197247;border-radius:50%;font-size:29px;font-weight:900}.pgbag-whatsapp{display:inline-flex;align-items:center;justify-content:center;background:#20a255;margin-top:12px}@media(max-width:700px){.pgbag-head,.pgbag-stage,.pgbag-success{padding:16px}.pgbag-materials{grid-template-columns:repeat(2,minmax(0,1fr))}.pgbag-materials img{height:90px}.pgbag-shapes{grid-template-columns:repeat(3,minmax(0,1fr))}.pgbag-grid{grid-template-columns:1fr}.pgbag-steps{top:0}.pgbag-steps button{font-size:12px}.pgbag-steps span{display:block;font-size:10px}.pgbag-actions{display:grid;grid-template-columns:1fr 1fr}.pgbag-actions button:only-child{grid-column:1/-1}.pgbag-success{min-height:280px}.pgbag-whatsapp{width:100%}}

.pgbag-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pgbag-types button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px;text-align:right}.pgbag-types button.selected{border:2px solid var(--blue);background:#eef4ff}.pgbag-types img{width:100%;height:125px;object-fit:contain;background:#f7faff;border-radius:8px;display:block}.pgbag-types strong,.pgbag-types small{display:block}.pgbag-types small{color:var(--muted);font-size:11px}

.pgbag h4{margin:16px 0 8px;font-size:14px}.pgbag-colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:10px}.pgbag-colors button{border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--text);padding:9px 5px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:800;min-height:48px}.pgbag-colors button.selected{border-color:var(--blue);background:#eef4ff;box-shadow:inset 0 0 0 1px var(--blue)}.pgbag-colors i{width:20px;height:20px;border-radius:50%;background:var(--swatch);border:1px solid #c5cedd;flex:none}.pgbag-types img{height:170px;object-fit:contain}@media(max-width:700px){.pgbag-colors{grid-template-columns:repeat(3,minmax(0,1fr))}.pgbag-types img{height:125px}}

/* Responsive photo frames and navigation: keep the complete product visible. */
.pgbag .pgbag-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}
.pgbag .pgbag-actions button{min-height:48px;flex:1 1 140px;white-space:normal}
.pgbag .pgbag-back{background:#f2f6fc;color:#163155;border:1px solid #cbd9eb}
.pgbag .pgbag-error:not([hidden]){display:block!important;overflow-wrap:anywhere}
.pgbag .pgbag-success:not([hidden]){display:block!important;width:100%;overflow-wrap:anywhere}
.pgbag .pgbag-types img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:10px}
