.lamp-guided-active [data-step="file"],.lamp-guided-active .qty-table-wrap,.lamp-guided-active [data-step="quantity"]>.step-help{display:none!important}
.lamp-personalizer{padding:0;border:0;border-radius:22px;width:min(1080px,calc(100% - 32px));max-width:none;max-height:94dvh;color:#24332e;box-shadow:0 24px 100px #122b2460;background:#fff}
.lamp-personalizer::backdrop{background:#11241db3;backdrop-filter:blur(4px)}
.lamp-header{display:flex;justify-content:space-between;align-items:center;padding:24px 32px;border-bottom:1px solid #e7ebe6;gap:16px}.lamp-header h2{margin:4px 0 0;font-size:clamp(21px,3vw,28px);letter-spacing:-.8px}.lamp-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2px;color:#537465;font-weight:700}.lamp-header button{border:1px solid #dce3db;background:#fff;border-radius:50%;width:44px;height:44px;flex-shrink:0;font-size:27px;cursor:pointer}
.lamp-content{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);align-items:start}.lamp-preview{position:sticky;top:0;background:#f7f8f3;padding:24px;text-align:center;min-width:0}.lamp-pill{display:inline-block;background:#fff;border:1px solid #e3e7dd;border-radius:99px;padding:6px 14px;font-size:12px}.lamp-preview canvas{display:block;width:100%;height:auto;max-height:53dvh;object-fit:contain;margin:12px auto;touch-action:none;cursor:grab}.lamp-preview p{font-size:13px;margin:8px 0}.lamp-preview figure{margin:24px 0 0;border-top:1px solid #dfe5d8;padding-top:12px}.lamp-preview figure canvas{max-height:180px}.lamp-preview figcaption{font-size:12px}
.lamp-fields{padding:24px 32px;min-width:0}.lamp-fields fieldset{border:0;border-top:1px solid #e5e9e1;margin:20px 0 0;padding:20px 0 0;min-width:0}.lamp-fields legend{font-size:17px;font-weight:750;padding:0 8px 0 0}.lamp-fields legend span{display:inline-grid;place-items:center;border-radius:50%;background:#edf3e9;color:#34634f;width:27px;height:27px;margin-right:8px;font-size:13px}.lamp-fields p{font-size:13px;line-height:1.55}.lamp-field{display:block;font-size:13px;font-weight:650;margin:14px 0 8px}.lamp-personalizer select,.lamp-personalizer textarea{display:block;width:100%;max-width:100%;border:1px solid #cbd5cb;border-radius:10px;background:#fff;color:#24332e;padding:12px;font:inherit;font-size:16px;margin-top:8px;box-sizing:border-box}.lamp-personalizer textarea{resize:vertical;min-height:90px}.lamp-personalizer select:focus,.lamp-personalizer textarea:focus{outline:2px solid #217a59;outline-offset:2px}.lamp-fields small{display:block;text-align:right;font-size:11px;color:#64746a;margin-top:4px}.lamp-upload{display:flex;align-items:center;justify-content:center;position:relative;border:1px dashed #5d8e70;border-radius:12px;background:#f1f6ed;padding:17px;cursor:pointer;font-weight:700;font-size:14px}.lamp-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.lamp-upload:focus-within{outline:2px solid #217a59;outline-offset:2px}.lamp-muted{color:#64746a;font-size:12px;font-weight:400}.lamp-fields [data-crop]{margin-top:15px}.lamp-fields [data-crop] label{font-size:13px}.lamp-fields input[type="range"]{display:block;width:100%;accent-color:#217a59;min-height:32px}.lamp-fields [data-crop] button{border:0;background:none;text-decoration:underline;font-size:12px;color:#34634f;min-height:36px;cursor:pointer}.lamp-fields [data-lamp-status]{font-size:13px;min-height:20px;color:#6a4a19}
.lamp-footer{position:sticky;bottom:0;background:#fff;border-top:1px solid #e1e7de;padding:18px 32px;display:flex;justify-content:space-between;align-items:center;gap:16px;z-index:2}.lamp-footer strong{display:block;font-size:25px}.lamp-footer .btn{min-height:48px}.lamp-footer button:disabled{opacity:.55;cursor:wait}.lamp-personalizer [hidden]{display:none!important}
@media(max-width:680px){.lamp-personalizer{width:100%;height:100dvh;max-height:100dvh;border-radius:0;margin:0}.lamp-header{padding:15px 18px}.lamp-content{grid-template-columns:minmax(0,1fr)}.lamp-preview{position:relative;padding:14px 18px}.lamp-preview canvas{max-height:35dvh;width:auto;max-width:100%;margin:6px auto}.lamp-preview .lamp-muted{display:none}.lamp-fields{padding:6px 20px 18px}.lamp-fields fieldset{margin-top:18px}.lamp-footer{padding:12px 18px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.lamp-footer strong{font-size:22px}.lamp-footer .btn{font-size:13px;padding:12px 16px}.lamp-eyebrow{font-size:10px}}

/* El aviso de guardado no puede tapar el botón móvil de comprar. */
.lamp-guided-active .toast-zone{pointer-events:none}.lamp-guided-active .toast-zone a,.lamp-guided-active .toast-zone button{pointer-events:auto}
.lamp-personalizer{margin:auto}

.lamp-with-detail>[data-lamp-canvas]{max-height:36dvh}.lamp-with-detail [data-lamp-detail] canvas{max-height:190px}.lamp-with-detail [data-lamp-detail]{margin-top:14px;padding-top:8px}
@media(max-width:680px){.lamp-with-detail>[data-lamp-canvas]{max-height:28dvh}.lamp-with-detail [data-lamp-detail] canvas{max-height:160px}}

.lamp-view-controls{display:flex;justify-content:center;gap:6px;margin:12px 0}.lamp-view-controls button{border:1px solid #ccd8ce;background:#fff;color:#28523f;border-radius:8px;padding:9px 12px;cursor:pointer;font:inherit;font-size:12px;min-height:40px}.lamp-view-controls button[aria-pressed="true"]{background:#285b45;color:#fff;border-color:#285b45}
.lamp-preview.lamp-wood-zoom>[data-lamp-canvas]{max-height:48dvh;width:100%;cursor:default}.lamp-wood-zoom [data-lamp-detail]{display:none!important}
.lamp-inline-wood{display:none;margin:12px 0;border:1px solid #dce4d7;border-radius:12px;overflow:hidden;background:#f8f9f4}.lamp-inline-wood canvas{display:block;width:100%;height:auto}.lamp-inline-wood figcaption{font-size:11px;text-align:center;padding:8px;color:#53705b}
@media(max-width:680px){.lamp-inline-wood:not([hidden]){display:block}.lamp-view-controls button{font-size:11px;padding:8px}.lamp-preview.lamp-wood-zoom>[data-lamp-canvas]{max-height:35dvh}}

/* Match the quantity row to the padded option headings in the guided lamp form. */
.lamp-guided-active .steps--compact>[data-step="quantity"]{padding:var(--space-3) calc(var(--space-4) + 1px)}
.lamp-guided-active .steps--compact>[data-step="quantity"] .step-title{font-size:var(--text-base)}
.lamp-guided-active .steps--compact>[data-step="quantity"] .step-body{margin-left:calc(28px + var(--space-3))}

/* Model and gift-box choices remain visible: variants are choices, not missing products. */
.lamp-choice-step{padding:16px 16px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fff;margin-top:8px}
.lamp-choice-step .step-head{margin-bottom:10px}
.lamp-choice-step .step-title{font-size:var(--text-base)}
.lamp-choice-step .step-help{margin:0 0 16px 40px;font-size:13px;line-height:1.7;max-width:76ch}
.lamp-choice-step .step-body{margin-left:40px}
.lamp-choice-step .opt-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.lamp-choice-step .opt-card{padding:12px;gap:10px;min-width:0}
.lamp-choice-step .opt-card img{width:100%;height:145px;object-fit:contain;background:#f5f5f1;border-radius:7px}
.lamp-choice-step .opt-card .opt-name{font-size:14px;line-height:1.4;padding-right:0}
.lamp-choice-description{font-size:12px;line-height:1.65;color:var(--gray-500)}
.lamp-choice-step .opt-card .opt-delta{font-size:11px;line-height:1.6;color:var(--brand-700);padding-top:5px}
.lamp-choice-step .opt-grid:has(>.opt-card:nth-child(2):last-of-type){grid-template-columns:repeat(2,minmax(0,1fr))}
.lamp-choice-step .opt-desc{display:none}
@media(max-width:700px){.lamp-choice-step{padding:16px 16px}.lamp-choice-step .step-help{margin-left:0}.lamp-choice-step .step-body{margin-left:0}.lamp-choice-step .opt-grid,.lamp-choice-step .opt-grid:has(>.opt-card:nth-child(2):last-of-type){grid-template-columns:1fr}.lamp-choice-step .opt-card{display:grid;grid-template-columns:85px minmax(0,1fr);gap:6px 12px}.lamp-choice-step .opt-card img{grid-row:1/4;width:85px;height:100px}.lamp-choice-step .opt-card .opt-name{padding-right:16px;font-size:13px}.lamp-choice-description{font-size:11px}.lamp-choice-step .opt-card .opt-delta{font-size:11px;margin-top:0}.lamp-choice-step .opt-card .check{width:17px;height:17px;top:7px;right:7px}}

.steps--compact:has(>.lamp-choice-step)>[data-step="quantity"]{padding:var(--space-3) calc(var(--space-4) + 1px)}
.steps--compact:has(>.lamp-choice-step)>[data-step="quantity"] .step-title{font-size:var(--text-base)}
.steps--compact:has(>.lamp-choice-step)>[data-step="quantity"] .step-body{margin-left:calc(28px + var(--space-3))}
.lamp-choice-step .opt-grid:has(>.opt-card:only-of-type){grid-template-columns:1fr}

.lamp-included-box{display:flex;gap:14px;align-items:center;margin:0 0 18px 40px;padding:12px;background:#edf8f2;border-radius:10px}.lamp-included-box img{width:80px;height:80px;object-fit:contain;border-radius:6px}.lamp-included-box strong{font-size:14px}.lamp-included-box p{font-size:12px;line-height:1.6;margin:5px 0 0}@media(max-width:700px){.lamp-included-box{margin-left:0}.lamp-included-box strong{font-size:13px}}

/* Center the close icon geometrically, independently of font metrics. */
.lamp-header [data-lamp-close]{display:grid;place-items:center;padding:0;line-height:1;color:var(--gray-900)}
.lamp-header [data-lamp-close] svg{display:block;pointer-events:none}

.lamp-preview:not(.lamp-wood-zoom) [data-lamp-canvas]{touch-action:none}
.lamp-guided-active .designer-step{margin-top:16px}

.lamp-model-back{font-size:13px;margin:0 0 12px}.lamp-model-back a{color:var(--brand-700)}

.lamp-chosen-model{font-size:16px;font-weight:700;margin:4px 0 20px;color:#203b35}

[data-lamp-result][hidden],[data-lamp-canvas][hidden]{display:none!important}
.lamp-preview [data-lamp-result-canvas]{display:block;width:100%;max-width:100%;height:auto;max-height:52dvh;object-fit:contain;margin:10px auto;touch-action:none}
.lamp-result-hint{font-size:12px;margin:5px 0;color:#537465}.lamp-3d-reset{font:inherit;font-size:12px;border:0;background:transparent;text-decoration:underline;color:#285b45;padding:8px;cursor:pointer}
@media(max-width:680px){.lamp-preview [data-lamp-result-canvas]{max-height:40dvh}.lamp-view-controls{flex-wrap:wrap}}

.lamp-preview [data-lamp-result-canvas]{cursor:default;touch-action:auto;background:#fff;max-height:52dvh}.lamp-result-hint{font-size:11px;line-height:1.6;color:#537465}

.lamp-result-message{margin:12px auto 4px;border:1px solid #e4ddd1;border-radius:10px;background:#faf6ee;padding:12px 16px;text-align:center;max-width:390px}
.lamp-result-message>span{font-size:10px;color:#6d7169;display:block;margin-bottom:7px}
.lamp-result-message>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:20px;line-height:1.5;font-weight:700;color:#402515;margin:0;max-height:130px;overflow:auto}
.lamp-preview:has([data-lamp-result-message]:not([hidden])) [data-lamp-result-canvas]{max-height:36dvh}
[data-lamp-result-message][hidden]{display:none!important}
.lamp-preview:has([data-lamp-result]:not([hidden]))>[data-lamp-location],.lamp-preview:has([data-lamp-result]:not([hidden]))>.lamp-muted{display:none}

/* Readable proof: front photo and top message, deliberately separate views. */
.lamp-review-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;text-align:left}
.lamp-review-card{padding:16px 13px;border:1px solid #dfe5dc;border-radius:13px;background:white;min-width:0}
.lamp-review-card h3{font-size:16px;line-height:1.4;margin:0 0 3px;color:#203b35}
.lamp-review-card .lamp-review-caption{font-size:10px;line-height:1.5;color:#6d766c;margin:0 0 14px}
.lamp-preview .lamp-review-card [data-lamp-result-canvas]{display:block;width:100%;height:auto;max-height:36dvh;object-fit:contain;margin:0;background:#f8faf7;cursor:default;touch-action:auto}
.lamp-review-text-card{display:flex;flex-direction:column}
.lamp-review-wood{display:grid;place-items:center;min-height:170px;flex:1;border:1px solid #e4dac9;border-radius:8px;padding:15px 9px;background:repeating-linear-gradient(2deg,#f5eee2 0,#f5eee2 9px,#f0e8da 10px,#f5eee2 11px);overflow:auto}
.lamp-preview .lamp-review-wood p{font-size:20px;line-height:1.45;font-weight:700;white-space:pre;color:#402515;margin:0;max-height:230px;overflow:auto;max-width:100%}
.lamp-preview .lamp-review-wood p.is-empty{font:400 14px/1.5 var(--font-body);color:#7a7b72}
.lamp-review-card .lamp-review-size{font-size:10px;line-height:1.6;color:#637062;margin:12px 0 0}
.lamp-preview .lamp-review-note{font-size:11px;line-height:1.6;color:#637062;text-align:center;margin:14px 0 0}
@media(max-width:680px){.lamp-review-grid{gap:10px}.lamp-review-card{padding:12px 9px}.lamp-review-card h3{font-size:14px}.lamp-review-card .lamp-review-caption{font-size:9px}.lamp-preview .lamp-review-card [data-lamp-result-canvas]{max-height:28dvh}.lamp-review-wood{min-height:125px;padding:10px 6px}.lamp-preview .lamp-review-wood p{font-size:17px}}

.lamp-real-reference{margin:1rem auto 0;max-width:260px;text-align:center}.lamp-real-reference img{display:block;width:100%;max-height:150px;object-fit:contain;border-radius:10px}.lamp-real-reference figcaption{font-size:.78rem;line-height:1.5;color:#536a62;margin-top:.5rem}

.lamp-preview [data-lamp-result]>[data-lamp-result-canvas]{width:100%;height:auto;max-height:52dvh;object-fit:contain;display:block;background:#fff;border-radius:12px;cursor:default}.lamp-result-message [data-lamp-result-size]{margin-top:8px}.lamp-result-message p.is-empty{font-size:14px;color:#637062}.lamp-preview:has([data-lamp-result]:not([hidden])) .lamp-result-message{margin-top:8px}@media(max-width:680px){.lamp-preview [data-lamp-result]>[data-lamp-result-canvas]{max-height:42dvh}}

.lamp-result-message [data-lamp-result-wood]{display:block;width:100%;height:auto;max-height:none;border-radius:8px;margin:8px 0;background:#f9f8f4;cursor:default;touch-action:auto}.lamp-result-message{background:#fff;padding:12px}.lamp-result-message>[data-lamp-result-size]{display:block}
.lamp-box-text-opts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lamp-personalizer #box-message{min-height:64px}