html:has(.jfbc-app),body:has(.jfbc-app){overflow-x:clip}.jfbc-app{font-family:inherit;color:var(--jfbc-ink);background:var(--jfbc-bg);margin:0 calc(50% - 50vw);padding:clamp(20px,4vw,58px) max(18px,calc((100vw - 1320px)/2));min-height:70vh}.jfbc-app *{box-sizing:border-box}.jfbc-icon{width:22px;height:22px;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.jfbc-loading{min-height:420px;display:grid;place-items:center;text-align:center}.jfbc-loading__mark{width:68px;height:68px;border-radius:18px;background:#111827;color:#fff;display:grid;place-items:center;font-weight:900;font-size:24px;box-shadow:var(--jfbc-shadow)}
.jfbc-kicker{display:block;font-size:11px;letter-spacing:.16em;font-weight:800;color:#64748b}.jfbc-hero .jfbc-kicker{color:#a5b4fc}

.jfbc-empty{text-align:center;padding:55px 20px;color:var(--jfbc-muted)}.jfbc-empty>div{width:58px;height:58px;border-radius:18px;background:#eef2ff;color:#4f46e5;display:grid;place-items:center;margin:0 auto 14px}.jfbc-empty h3{margin:0 0 6px;color:#111827}.jfbc-empty p{margin:0}.jfbc-brand{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;background:#111827;color:#fff}.jfbc-product__visual>.jfbc-brand{position:absolute;left:10px;top:10px}.jfbc-brand--roly{background:#2563eb}.jfbc-brand--workteam{background:#111827}.jfbc-placeholder{width:100%;height:100%;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:repeating-linear-gradient(135deg,#f8fafc,#f8fafc 10px,#f1f5f9 10px,#f1f5f9 20px);color:#64748b;text-align:center;padding:16px}.jfbc-placeholder span{font-size:12px}.jfbc-placeholder strong{font-size:23px;color:#334155;margin:4px}.jfbc-placeholder small{font-size:12px;text-transform:uppercase;letter-spacing:.08em}.jfbc-product__meta{display:flex;justify-content:space-between;gap:8px;color:#64748b;font-size:12px}.jfbc-product__warning .jfbc-icon{width:16px;height:16px}
.jfbc-summary__empty .jfbc-icon{width:36px;height:36px}.jfbc-summary-item__top .jfbc-icon{width:16px;height:16px}.jfbc-qty .jfbc-icon{width:13px;height:13px}.jfbc-edit .jfbc-icon{width:13px;height:13px}.jfbc-add-more .jfbc-icon{width:15px;height:15px}.jfbc-totalbox p .jfbc-icon{width:14px;height:14px;flex:0 0 auto}.jfbc-btn{border:1px solid #dbe0e8;background:#fff;color:#111827;border-radius:12px;padding:11px 14px;font:inherit;font-size:12px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;transition:.15s}.jfbc-btn:hover{transform:translateY(-1px)}.jfbc-btn:disabled{opacity:.4;cursor:not-allowed;transform:none}.jfbc-btn--primary{background:#111827;border-color:#111827;color:#fff;width:100%}.jfbc-actions__row .jfbc-btn{width:100%}.jfbc-account-link{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;color:#4f46e5;font-size:11px;text-decoration:none}.jfbc-account-link .jfbc-icon{width:15px;height:15px}
.jfbc-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.56)}.jfbc-modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(900px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow:auto;background:#fff;border-radius:26px;padding:26px;box-shadow:0 30px 100px rgba(15,23,42,.28);color:#111827}.jfbc-modal__close{position:absolute;right:15px;top:15px;width:38px;height:38px;border:0;border-radius:50%;background:#f1f5f9;display:grid;place-items:center;cursor:pointer}.jfbc-alert .jfbc-icon{width:20px;height:20px}.jfbc-field>label,.jfbc-auth-form label{font-size:12px;font-weight:800;display:block;margin-bottom:8px}.jfbc-field small,.jfbc-auth-form small{font-weight:400;color:#94a3b8}.jfbc-number{display:grid;grid-template-columns:38px 1fr 38px;border:1px solid #dbe0e8;border-radius:12px;overflow:hidden;height:44px}.jfbc-number button{border:0;background:#f8fafc;display:grid;place-items:center;cursor:pointer}.jfbc-number .jfbc-icon{width:16px;height:16px}.jfbc-number input{border:0;box-shadow:none;text-align:center;font-size:15px;font-weight:800;width:100%;padding:0}.jfbc-color-options{display:flex;flex-wrap:wrap;gap:7px}.jfbc-color{border:1px solid #e5e7eb;background:#fff;border-radius:11px;padding:7px 10px;display:flex;align-items:center;gap:7px;font:inherit;font-size:12px;cursor:pointer}.jfbc-color i{width:18px;height:18px;border-radius:50%;border:1px solid rgba(0,0,0,.12)}.jfbc-color.is-active{border-color:#111827;box-shadow:0 0 0 1px #111827}.jfbc-check{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}.jfbc-check input{width:18px;height:18px}.jfbc-size-grid{display:none;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:8px;margin-top:12px}.jfbc-size-grid.is-open{display:grid}.jfbc-size-grid label{background:#f8fafc;border-radius:10px;padding:8px;text-align:center}.jfbc-size-grid label span{display:block;font-size:12px;font-weight:800;margin-bottom:5px}.jfbc-size-grid input{width:100%;border:1px solid #dbe0e8;border-radius:8px;padding:7px;text-align:center}.jfbc-tech .jfbc-icon{width:22px;height:22px}.jfbc-modal__estimate .jfbc-btn{width:auto;min-width:180px}.jfbc-modal--pack,.jfbc-modal--auth{width:min(620px,calc(100vw - 28px))}.jfbc-modal--pack h2,.jfbc-modal--auth h2{font-size:30px;margin:8px 0}.jfbc-modal--pack>p,.jfbc-modal--auth>p{color:#64748b}.jfbc-auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f1f5f9;border-radius:12px;padding:4px;margin:18px 0}.jfbc-auth-tabs button{border:0;background:transparent;padding:10px;border-radius:9px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.jfbc-auth-tabs button.is-active{background:#fff;box-shadow:0 3px 12px rgba(15,23,42,.08)}.jfbc-auth-form{display:none}.jfbc-auth-form.is-active{display:block}.jfbc-auth-form label{margin:12px 0}.jfbc-auth-form input,.jfbc-auth-form textarea{display:block;width:100%;margin-top:6px;border:1px solid #dbe0e8;border-radius:11px;padding:11px;font:inherit}.jfbc-auth-form .jfbc-btn{margin-top:10px}.jfbc-form-message{margin-top:10px;font-size:11px;color:#64748b}.jfbc-form-message.is-success{color:#166534;background:#dcfce7;padding:10px;border-radius:9px}.jfbc-form-message.is-error{color:#991b1b;background:#fee2e2;padding:10px;border-radius:9px}
.jfbc-toast{position:fixed;right:20px;bottom:20px;z-index:100000;background:#111827;color:#fff;border-radius:12px;padding:13px 16px;box-shadow:0 15px 40px rgba(15,23,42,.25);font-size:12px;font-weight:700;opacity:0;transform:translateY(12px);pointer-events:none;transition:.2s;max-width:340px}.jfbc-toast.is-show{opacity:1;transform:translateY(0)}.jfbc-toast.is-success{background:#166534}.jfbc-toast.is-error{background:#991b1b}

@media(max-width:820px){.jfbc-app{padding:14px}}
@media(max-width:560px){.jfbc-modal{padding:18px;border-radius:20px}.jfbc-modal__estimate .jfbc-btn{min-width:145px}}

/* v0.2 — integración global */

.jfbc-product.is-placeholder .jfbc-placeholder small{background:#fff7ed;color:#9a3412;border-radius:999px;padding:4px 8px;margin-top:8px;display:inline-block}.jfbc-placeholder{display:flex;min-height:100%;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px;color:#64748b}.jfbc-placeholder strong{font-size:24px;color:#111827;margin:5px 0}.jfbc-placeholder span{font-size:12px}

/* v0.3 — asistente por pantallas */
.jfbc-wizard-shell{max-width:1320px;margin:0 auto}.jfbc-wizard-main{margin-top:24px}.jfbc-wizard-progress{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:0 auto 20px;padding:0 10px}.jfbc-progress-line{position:absolute;left:8%;right:8%;top:24px;height:5px;background:#e7ebf1;border-radius:999px;overflow:hidden;z-index:0}.jfbc-progress-line i{display:block;height:100%;background:linear-gradient(90deg,#b7ff00,#23c7d9,#6d5dfc,#ff5ea8);border-radius:999px;transition:width .35s ease}.jfbc-progress-step{position:relative;z-index:1;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:7px;color:#8994a5;font:inherit;cursor:pointer;padding:0}.jfbc-progress-step:disabled{cursor:default}.jfbc-progress-step>span{width:48px;height:48px;border-radius:16px;background:#fff;border:1px solid #dfe5ec;display:grid;place-items:center;box-shadow:0 7px 20px rgba(15,23,42,.05);transition:.2s}.jfbc-progress-step .jfbc-icon{width:21px;height:21px}.jfbc-progress-step small{font-size:11px;font-weight:850}.jfbc-progress-step.is-active{color:#111827}.jfbc-progress-step.is-active>span{background:#111827;color:#b7ff00;border-color:#111827;transform:translateY(-2px);box-shadow:0 12px 28px rgba(15,23,42,.18)}.jfbc-progress-step.is-done{color:#334155}.jfbc-progress-step.is-done>span{background:#b7ff00;color:#111827;border-color:#a9ec00}
.jfbc-wizard-hero{min-height:210px;border-radius:30px;padding:clamp(28px,4vw,48px);display:flex;align-items:flex-end;justify-content:space-between;gap:30px;position:relative;overflow:hidden;box-shadow:0 20px 60px rgba(15,23,42,.09)}.jfbc-wizard-hero:after{content:"";position:absolute;width:310px;height:310px;border-radius:50%;right:-80px;top:-135px;background:rgba(255,255,255,.22)}.jfbc-wizard-hero>div{position:relative;z-index:1}.jfbc-wizard-hero--1{background:linear-gradient(135deg,#111827 0%,#27314b 68%,#314058 100%);color:#fff}.jfbc-wizard-hero--2{background:linear-gradient(135deg,#d9ff2f,#b7ff00 55%,#8be100);color:#111827}.jfbc-wizard-hero--3{background:linear-gradient(135deg,#e8e6ff,#cfcaff 48%,#b8b2ff);color:#211d4f}.jfbc-wizard-hero--4{background:linear-gradient(135deg,#e7f8ff,#c9f0ff 55%,#b4e8ff);color:#12354a}.jfbc-wizard-hero--5{background:linear-gradient(135deg,#ffe9f3,#ffd2e6 55%,#ffc2dd);color:#4b1730}.jfbc-wizard-hero .jfbc-kicker{color:inherit;opacity:.68}.jfbc-wizard-hero h1{font-size:clamp(34px,4.5vw,58px);line-height:1.02;letter-spacing:-.045em;margin:8px 0 12px;color:inherit;max-width:860px}.jfbc-wizard-hero p{font-size:clamp(15px,1.6vw,19px);line-height:1.5;margin:0;max-width:820px;color:inherit;opacity:.82}.jfbc-wizard-bubble{width:116px;height:116px;border-radius:34px;background:rgba(255,255,255,.52);border:1px solid rgba(255,255,255,.62);display:grid;place-items:center;align-content:center;backdrop-filter:blur(10px);box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}.jfbc-wizard-hero--1 .jfbc-wizard-bubble{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.18)}.jfbc-wizard-bubble strong{font-size:35px;line-height:1}.jfbc-wizard-bubble span{font-size:11px;font-weight:800;margin-top:5px;opacity:.75}
.jfbc-sector-card .jfbc-icon{width:16px;height:16px}
.jfbc-wizard-nav{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:26px 0 4px}.jfbc-next,.jfbc-back,.jfbc-ghost{border:0;border-radius:14px;padding:14px 18px;font:inherit;font-size:13px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:9px;cursor:pointer}.jfbc-next{background:#111827;color:#fff;box-shadow:0 10px 24px rgba(15,23,42,.16)}.jfbc-next:hover{transform:translateY(-1px)}.jfbc-next:disabled{opacity:.35;cursor:not-allowed;box-shadow:none}.jfbc-next .jfbc-icon,.jfbc-back .jfbc-icon,.jfbc-ghost .jfbc-icon{width:17px;height:17px}.jfbc-back,.jfbc-ghost{background:#fff;color:#111827;border:1px solid #dfe5ec}.jfbc-next--full{width:100%;margin-top:18px}.jfbc-choice-product{border:1px solid #e3e8ee;border-radius:20px;overflow:hidden;background:#fff;display:flex;flex-direction:column;min-width:0}.jfbc-choice-product__visual{height:190px;position:relative;background:#f7f9fc;display:grid;place-items:center;padding:12px}.jfbc-choice-product__visual img{width:100%;height:100%;object-fit:contain}.jfbc-choice-product__body{padding:16px;display:flex;flex-direction:column;flex:1}.jfbc-choice-product__body h3{font-size:17px;margin:8px 0 3px}.jfbc-choice-product__body>p{font-size:12px;color:#667085;margin:0 0 10px}.jfbc-choice-product__footer{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:auto;padding-top:12px;border-top:1px solid #eef1f5}.jfbc-choice-product__footer small,.jfbc-choice-product__footer em{display:block;font-size:11px;color:#8893a5;font-style:normal}.jfbc-choice-product__footer strong{font-size:19px}.jfbc-choice-product__footer button,.jfbc-choice-pack__footer button{border:0;border-radius:12px;background:#111827;color:#fff;padding:10px 12px;font:inherit;font-size:12px;font-weight:850;cursor:pointer;display:flex;align-items:center;gap:5px}.jfbc-choice-product__footer .jfbc-icon,.jfbc-choice-pack__footer .jfbc-icon{width:14px;height:14px}.jfbc-mini-warning{font-size:12px;color:#7c2d12;background:#fff7ed;border-radius:10px;padding:8px;display:flex;gap:6px;align-items:center}.jfbc-mini-warning .jfbc-icon{width:15px;height:15px}.jfbc-choice-pack{position:relative;border-radius:22px;padding:20px;background:linear-gradient(145deg,#fff,#f9faff);border:1px solid #e2e7ef;overflow:hidden}.jfbc-choice-pack:before{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-45px;top:-45px;background:#b7ff00;opacity:.32}.jfbc-choice-pack__badge{display:inline-flex;background:#111827;color:#b7ff00;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:900;letter-spacing:.1em}.jfbc-choice-pack__quality{display:block;color:#6b7280;font-size:12px;font-weight:800;margin-top:12px}.jfbc-choice-pack h3{font-size:20px;margin:6px 0}.jfbc-choice-pack>p{font-size:12px;color:#667085}.jfbc-choice-pack__items{font-size:11px;line-height:1.5;background:#fff;border-radius:12px;padding:10px;margin:12px 0;border:1px dashed #dbe2ea}.jfbc-pack-people{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0}.jfbc-pack-people label{font-size:11px;font-weight:850}.jfbc-pack-people>div{display:grid;grid-template-columns:30px 46px 30px;border:1px solid #dce2e9;border-radius:10px;overflow:hidden}.jfbc-pack-people button{border:0;background:#f8fafc;font-weight:900;cursor:pointer}.jfbc-pack-people input{width:100%;border:0;text-align:center;font:inherit;font-size:11px;font-weight:900;padding:7px 0}.jfbc-choice-pack__footer{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}.jfbc-choice-pack__footer small,.jfbc-choice-pack__footer em{display:block;font-size:11px;color:#8a94a4;font-style:normal}.jfbc-choice-pack__footer strong{font-size:19px}
.jfbc-guide-card .jfbc-icon{width:20px;height:20px}.jfbc-personal-choice .jfbc-icon{width:22px;height:22px}.jfbc-customizer .jfbc-size-grid{grid-template-columns:repeat(auto-fit,minmax(72px,1fr))}.jfbc-placeholder.is-large{min-height:290px}
.jfbc-review-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}.jfbc-review-heading{margin-bottom:14px}.jfbc-review-heading h2{font-size:30px;margin:5px 0}.jfbc-review-heading p{color:#667085;margin:0}.jfbc-review-list{display:flex;flex-direction:column;gap:12px}.jfbc-review-item{display:grid;grid-template-columns:145px 1fr;gap:16px;background:#fff;border:1px solid #e1e6ed;border-radius:22px;padding:14px;box-shadow:0 7px 26px rgba(15,23,42,.035)}.jfbc-review-item__visual{height:145px;border-radius:16px;background:#f5f7fa;display:grid;place-items:center;overflow:hidden}.jfbc-review-item__visual img{width:100%;height:100%;object-fit:contain}.jfbc-review-item__title{display:flex;justify-content:space-between;gap:14px}.jfbc-review-item__title span{font-size:11px;color:#7a8596;font-weight:800}.jfbc-review-item__title h3{font-size:19px;margin:3px 0 0}.jfbc-review-item__title>div:last-child{display:flex;gap:5px}.jfbc-review-item__title button{border:1px solid #e0e5ec;background:#fff;border-radius:10px;height:34px;padding:0 9px;font:inherit;font-size:12px;font-weight:800;display:flex;align-items:center;gap:4px;cursor:pointer}.jfbc-review-item__title button.is-danger{color:#b42318}.jfbc-review-item__title .jfbc-icon{width:14px;height:14px}.jfbc-review-meta{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.jfbc-review-meta span{background:#f5f7fa;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:750;display:flex;align-items:center;gap:5px}.jfbc-review-meta i{width:12px;height:12px;border-radius:50%;border:1px solid rgba(0,0,0,.12)}.jfbc-review-warning{margin-top:8px;background:#fff7e8;color:#7b4700;border-radius:9px;padding:7px 9px;font-size:11px;display:flex;align-items:center;gap:5px}.jfbc-review-warning .jfbc-icon{width:14px;height:14px}.jfbc-add-more-big{width:100%;border:1px dashed #b7c0cc;background:#fafbfc;border-radius:16px;padding:14px;margin-top:12px;font:inherit;font-size:11px;font-weight:850;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px}.jfbc-add-more-big .jfbc-icon{width:16px;height:16px}.jfbc-review-total{position:sticky;top:105px;background:#111827;color:#fff;border-radius:24px;padding:22px}.jfbc-review-total__icon{font-size:34px}.jfbc-review-total h2{color:#fff;font-size:26px;margin:5px 0 18px}.jfbc-review-total>.jfbc-kicker{color:#b7ff00;margin-top:10px}.jfbc-review-total>div:not(.jfbc-review-total__icon){display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.1)}.jfbc-review-total>div span{font-size:12px;color:#b9c2ce}.jfbc-review-total>div strong{font-size:13px}.jfbc-review-total .is-grand{border:0;padding-top:15px}.jfbc-review-total .is-grand span{font-size:12px;color:#fff}.jfbc-review-total .is-grand strong{font-size:29px;color:#b7ff00}.jfbc-review-total>p{font-size:11px;line-height:1.5;color:#aeb8c6;display:flex;gap:6px}.jfbc-review-total>p .jfbc-icon{width:15px;height:15px}.jfbc-empty-big{text-align:center;background:#fff;border-radius:24px;border:1px solid #e1e6ed;padding:60px 20px}.jfbc-empty-big>span{font-size:50px}.jfbc-empty-big h2{font-size:25px}.jfbc-send-screen{max-width:950px;margin:0 auto}.jfbc-send-total{text-align:center;background:#111827;color:#fff;border-radius:24px;padding:22px;margin-bottom:16px}.jfbc-send-total span,.jfbc-send-total small{display:block;color:#b8c2cf;font-size:12px}.jfbc-send-total strong{display:block;font-size:42px;color:#b7ff00;margin:4px 0}.jfbc-send-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.jfbc-send-card{border:0;border-radius:22px;padding:22px;text-align:left;display:grid;grid-template-columns:52px 1fr 24px;gap:13px;align-items:center;font:inherit;cursor:pointer;min-height:160px;transition:.2s;color:#111827}.jfbc-send-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(15,23,42,.1)}.jfbc-send-card>span{width:52px;height:52px;border-radius:17px;background:rgba(255,255,255,.72);display:grid;place-items:center}.jfbc-send-card .jfbc-icon{width:25px;height:25px}.jfbc-send-card strong{display:block;font-size:15px}.jfbc-send-card small{display:block;font-size:12px;line-height:1.45;margin-top:5px;opacity:.72}.jfbc-send-card>i{font-style:normal}.jfbc-send-card--whatsapp{background:#d6ffe5}.jfbc-send-card--email{background:#dff2ff}.jfbc-send-card--save{background:#eee8ff}.jfbc-send-note{display:flex;gap:12px;align-items:center;background:#fff4d8;border-radius:18px;padding:16px;margin-top:15px}.jfbc-send-note>span{font-size:28px}.jfbc-send-note strong{font-size:13px}.jfbc-send-note p{font-size:12px;color:#6b5b33;margin:3px 0 0}.jfbc-account-link--big{display:flex;justify-content:center;margin-top:14px;padding:13px;background:#fff;border:1px solid #e1e6ed;border-radius:14px}
/* Los únicos modales largos que quedan son login/email: nunca vuelven a cortar la personalización */
.jfbc-modal{max-height:calc(100vh - 48px);overflow:auto}.jfbc-modal--auth{width:min(620px,calc(100vw - 28px));padding:24px}
@media(max-width:1100px){.jfbc-review-layout{grid-template-columns:1fr}.jfbc-review-total{position:relative;top:auto}.jfbc-send-grid{grid-template-columns:1fr}}
@media(max-width:820px){.jfbc-app{padding:12px}.jfbc-wizard-progress{gap:4px;padding:0}.jfbc-progress-line{left:9%;right:9%;top:20px}.jfbc-progress-step>span{width:40px;height:40px;border-radius:13px}.jfbc-progress-step small{font-size:11px}.jfbc-wizard-hero{min-height:180px;padding:25px 20px;border-radius:23px}.jfbc-wizard-bubble{display:none}.jfbc-choice-product{display:grid;grid-template-columns:140px 1fr}.jfbc-choice-product__visual{height:100%;min-height:180px}.jfbc-review-item{grid-template-columns:100px 1fr}.jfbc-review-item__visual{height:100px}.jfbc-send-card{min-height:120px}.jfbc-wizard-nav{align-items:stretch}.jfbc-next,.jfbc-back{flex:1}.jfbc-choice-product__footer{align-items:flex-start;flex-direction:column}.jfbc-choice-product__footer button{width:100%;justify-content:center}}
@media(max-width:560px){.jfbc-progress-step small{display:none}.jfbc-progress-line{left:8%;right:8%}.jfbc-wizard-hero h1{font-size:32px}.jfbc-wizard-hero p{font-size:14px}.jfbc-choice-product{grid-template-columns:110px 1fr}.jfbc-choice-product__visual{min-height:160px}.jfbc-choice-product__body{padding:12px}.jfbc-choice-product__body h3{font-size:14px}.jfbc-review-item{grid-template-columns:1fr}.jfbc-review-item__visual{height:180px}.jfbc-review-item__title{flex-direction:column}.jfbc-send-card{grid-template-columns:46px 1fr 18px;padding:16px}.jfbc-send-card>span{width:46px;height:46px}.jfbc-wizard-nav{flex-direction:column-reverse}.jfbc-next,.jfbc-back{width:100%}}

/* === v0.4 · Tus prendas + editores separados === */
.jfbc-selected-badge{position:absolute;right:12px;top:12px;background:#b7ff00;color:#111827;border:1px solid rgba(17,24,39,.08);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.jfbc-selection-dock{display:none;position:sticky;bottom:18px;z-index:30;margin:20px 0;background:#111827;color:#fff;border-radius:20px;padding:14px 16px;box-shadow:0 18px 50px rgba(15,23,42,.22);align-items:center;justify-content:space-between;gap:18px}.jfbc-selection-dock.is-visible{display:flex}.jfbc-selection-dock span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#b8c0cf}.jfbc-selection-dock strong{font-size:16px}

.jfbc-selected-list{display:grid;gap:22px}.jfbc-selected-card{display:grid;grid-template-columns:280px 1fr;background:#fff;border:1px solid #e3e8ef;border-radius:26px;overflow:hidden;box-shadow:0 12px 35px rgba(15,23,42,.07)}.jfbc-selected-card__visual{position:relative;min-height:320px;background:linear-gradient(145deg,#f7f9fc,#edf2f8);display:flex;align-items:center;justify-content:center;padding:18px}.jfbc-selected-card__visual img{width:100%;height:100%;max-height:320px;object-fit:contain}.jfbc-selected-card__visual .jfbc-placeholder{width:100%;height:100%;min-height:280px}.jfbc-selected-number{position:absolute;left:15px;bottom:15px;width:42px;height:42px;border-radius:14px;background:#111827;color:#fff;display:grid;place-items:center;font-weight:900}.jfbc-selected-card__content{padding:24px}.jfbc-selected-card__title{display:flex;justify-content:space-between;gap:18px}.jfbc-selected-card__title>div>span{font-size:12px;font-weight:900;color:#667085;text-transform:uppercase;letter-spacing:.07em}.jfbc-selected-card__title h2{font-size:25px;margin:5px 0 3px}.jfbc-selected-card__title p{margin:0;color:#667085}.jfbc-icon-danger .jfbc-icon{width:18px;height:18px}
.jfbc-product-info-grid .jfbc-icon{width:15px;height:15px}

.jfbc-selected-warning{display:flex;align-items:center;gap:8px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;padding:10px 12px;border-radius:13px;font-size:11px;font-weight:800}.jfbc-selected-warning .jfbc-icon{width:18px}

.jfbc-selected-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.jfbc-selected-actions button{border:0;border-radius:16px;padding:14px 16px;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;transition:.18s ease}.jfbc-selected-actions button:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(15,23,42,.10)}.jfbc-selected-actions .jfbc-icon{width:24px;height:24px;flex:0 0 auto}.jfbc-selected-actions strong,.jfbc-selected-actions small{display:block}.jfbc-selected-actions strong{font-size:13px}.jfbc-selected-actions small{font-size:12px;margin-top:2px}.jfbc-action-edit{background:#eaf3ff;color:#164e95}.jfbc-action-personalize{background:#f2eaff;color:#6d28d9}
.jfbc-editor-back .jfbc-icon{width:16px}

.jfbc-color-options--big .jfbc-color{padding:11px 13px}.jfbc-next--blue{background:#2563eb;color:#fff}.jfbc-next--purple{background:#7c3aed;color:#fff}
.jfbc-tech-family-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.jfbc-tech-family{border:1px solid #e4e8ee;background:#fff;border-radius:18px;padding:16px;min-height:118px;display:grid;grid-template-columns:44px 1fr 20px;gap:12px;align-items:center;text-align:left;cursor:pointer}.jfbc-tech-family>span{width:44px;height:44px;border-radius:14px;display:grid;place-items:center}.jfbc-tech-family .jfbc-icon{width:24px;height:24px}.jfbc-tech-family strong,.jfbc-tech-family small{display:block}.jfbc-tech-family strong{font-size:14px}.jfbc-tech-family small{font-size:12px;color:#667085;margin-top:3px}.jfbc-tech-family>i{font-style:normal}.jfbc-tech-family--gray>span{background:#f1f5f9}.jfbc-tech-family--blue>span{background:#dbeafe;color:#1d4ed8}.jfbc-tech-family--orange>span{background:#ffedd5;color:#c2410c}.jfbc-tech-family--purple>span{background:#ede9fe;color:#7c3aed}.jfbc-tech-family--pink>span{background:#fce7f3;color:#be185d}.jfbc-tech-family--cyan>span{background:#cffafe;color:#0e7490}.jfbc-tech-family.is-active{border-color:#111827;box-shadow:0 8px 24px rgba(15,23,42,.08);transform:translateY(-1px)}

.jfbc-position-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.jfbc-position-card{position:relative;border:1px solid #e4e8ee;background:#fff;border-radius:16px;padding:14px;min-height:112px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;cursor:pointer}.jfbc-position-card>span{width:36px;height:36px;border-radius:11px;background:#f3f4f6;display:grid;place-items:center}.jfbc-position-card .jfbc-icon{width:20px;height:20px}.jfbc-position-card strong{font-size:12px}.jfbc-position-card small{font-size:11px;color:#667085;text-transform:uppercase}.jfbc-position-card>i{position:absolute;right:9px;top:9px;width:23px;height:23px;border-radius:50%;background:#7c3aed;color:#fff;display:grid;place-items:center}.jfbc-position-card>i .jfbc-icon{width:13px}.jfbc-position-card.is-active{border-color:#7c3aed;background:#f7f3ff;box-shadow:0 7px 20px rgba(124,58,237,.10)}
.jfbc-tech-warning .jfbc-icon{width:22px;flex:0 0 auto}
@media(max-width:1100px){.jfbc-selected-card{grid-template-columns:220px 1fr}.jfbc-tech-family-grid{grid-template-columns:repeat(2,1fr)}.jfbc-position-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){.jfbc-selection-dock{bottom:8px}.jfbc-selected-card{grid-template-columns:1fr}.jfbc-selected-card__visual{min-height:230px}.jfbc-selected-card__visual img{height:220px}.jfbc-tech-family-grid{grid-template-columns:1fr 1fr}.jfbc-position-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.jfbc-selected-card__content{padding:16px}.jfbc-selected-card__title h2{font-size:20px}.jfbc-selected-actions{grid-template-columns:1fr}.jfbc-tech-family-grid{grid-template-columns:1fr}.jfbc-position-grid{grid-template-columns:1fr 1fr}.jfbc-selection-dock{flex-direction:column;align-items:stretch}.jfbc-selection-dock .jfbc-next{width:100%;justify-content:center}}

/* === v0.4.1 · más simple, tarjetas catálogo + editores emergentes === */

/* Cantidad de packs: siempre visible, incluso con estilos globales del tema/navegador */
.jfbc-pack-people>div{grid-template-columns:34px 58px 34px;background:#fff}
.jfbc-pack-people input,
.jfbc-number input,
.jfbc-size-grid input{color:#111827;background:#fff;opacity:1;-webkit-text-fill-color:#111827;caret-color:#111827}
.jfbc-pack-people input{font-size:14px;font-weight:900;line-height:1;min-width:0;height:38px;padding:0}
.jfbc-pack-people button{color:#111827;font-size:16px;height:38px}
.jfbc-pack-people input::-webkit-outer-spin-button,.jfbc-pack-people input::-webkit-inner-spin-button,.jfbc-number input::-webkit-outer-spin-button,.jfbc-number input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.jfbc-pack-people input[type=number],.jfbc-number input[type=number]{-moz-appearance:textfield}

/* En catálogo, una foto real nunca puede comerse el cuerpo y el botón de la tarjeta */
.jfbc-choice-product__visual{height:210px;min-height:210px;max-height:210px;flex:0 0 210px;overflow:hidden;cursor:pointer}
.jfbc-choice-product__visual img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;margin:auto}
.jfbc-choice-product__body{display:flex;visibility:visible;opacity:1;position:relative;z-index:2;background:#fff}
.jfbc-choice-product__visual:after{content:"Pulsa para añadir";position:absolute;left:12px;bottom:12px;background:rgba(17,24,39,.86);color:#fff;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:850;opacity:0;transform:translateY(4px);transition:.18s ease;pointer-events:none}
.jfbc-choice-product__visual:hover:after{opacity:1;transform:none}

/* Paso 3: solo tarjetas claras, como un catálogo */

.jfbc-selected-list--grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.jfbc-selected-card--simple{display:flex;flex-direction:column;min-width:0;border-radius:22px;overflow:hidden;background:#fff;border:1px solid #e1e6ed;box-shadow:0 10px 28px rgba(15,23,42,.055)}
.jfbc-selected-card--simple .jfbc-selected-card__visual{height:235px;min-height:235px;max-height:235px;flex:0 0 235px;padding:14px;cursor:pointer;overflow:hidden;background:linear-gradient(145deg,#f8fafc,#eef2f6)}
.jfbc-selected-card--simple .jfbc-selected-card__visual img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;margin:auto}
.jfbc-selected-card--simple .jfbc-selected-number{width:34px;height:34px;border-radius:11px;font-size:12px;left:12px;bottom:12px}
.jfbc-card-remove{position:absolute;right:12px;top:12px;width:36px;height:36px;border:0;border-radius:12px;background:#fff1f2;color:#be123c;display:grid;place-items:center;cursor:pointer;box-shadow:0 5px 16px rgba(15,23,42,.08);z-index:5}
.jfbc-card-remove .jfbc-icon{width:16px;height:16px}
.jfbc-selected-card--simple .jfbc-selected-card__content{padding:15px;display:flex;flex-direction:column;flex:1}
.jfbc-selected-card--simple .jfbc-selected-card__title{display:block}
.jfbc-selected-card--simple .jfbc-selected-card__title>div>span{font-size:11px}
.jfbc-selected-card--simple .jfbc-selected-card__title h3{font-size:17px;margin:5px 0 2px;line-height:1.2}
.jfbc-selected-card--simple .jfbc-selected-card__title p{font-size:11px;margin:0;color:#667085}
.jfbc-selected-simple-meta{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 9px}
.jfbc-selected-simple-meta span{display:inline-flex;align-items:center;gap:6px;background:#f5f7fa;border-radius:999px;padding:7px 9px;font-size:12px;font-weight:750;color:#475467}
.jfbc-selected-simple-meta i{width:11px;height:11px;border-radius:50%;border:1px solid rgba(0,0,0,.12)}
.jfbc-selected-personal-status{display:flex;align-items:center;gap:9px;border-radius:13px;padding:10px 11px;margin-bottom:10px}
.jfbc-selected-personal-status>.jfbc-icon{width:19px;height:19px;flex:0 0 auto}
.jfbc-selected-personal-status small,.jfbc-selected-personal-status strong{display:block}
.jfbc-selected-personal-status small{font-size:11px;text-transform:uppercase;letter-spacing:.08em;opacity:.68}
.jfbc-selected-personal-status strong{font-size:11px;margin-top:1px;line-height:1.35}
.jfbc-selected-personal-status.is-empty{background:#f5f7fa;color:#697386}
.jfbc-selected-personal-status.is-ready{background:#f1ebff;color:#5b21b6;border:1px solid #e2d7ff}
.jfbc-selected-warning--compact{padding:8px 9px;font-size:11px;margin-bottom:10px}
.jfbc-selected-card--simple .jfbc-selected-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}
.jfbc-selected-card--simple .jfbc-selected-actions button{padding:11px 10px;border-radius:13px;gap:8px}
.jfbc-selected-card--simple .jfbc-selected-actions .jfbc-icon{width:20px;height:20px}
.jfbc-selected-card--simple .jfbc-selected-actions strong{font-size:11px}
.jfbc-selected-card--simple .jfbc-selected-actions small{font-size:11px}

/* Editar / personalizar: emergente, sin transformar la página completa */
.jfbc-item-modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(980px,calc(100vw - 34px));max-height:calc(100vh - 34px);overflow:auto;background:#fff;border-radius:26px;box-shadow:0 35px 110px rgba(15,23,42,.32);color:#111827}

.jfbc-item-modal__close .jfbc-icon{width:18px;height:18px}

.jfbc-item-info summary .jfbc-icon{width:15px;height:15px}

.jfbc-modal-sizes>.jfbc-check{margin:13px 0 4px}
.jfbc-number--modal .jfbc-icon{width:17px;height:17px}
.jfbc-color-options--modal .jfbc-color{padding:10px 12px;font-size:12px}.jfbc-color-options--modal .jfbc-color i{width:22px;height:22px}

.jfbc-tech-family-grid--modal .jfbc-tech-family{min-height:100px;padding:13px}.jfbc-position-grid--modal .jfbc-position-card{min-height:94px;padding:11px}.jfbc-position-grid--modal .jfbc-position-card>span{width:32px;height:32px}.jfbc-position-grid--modal .jfbc-position-card strong{font-size:11px}.jfbc-modal-personal-summary>.jfbc-icon{width:22px;height:22px;flex:0 0 auto}

/* Resumen: la personalización es protagonista, pero sin saturar de cifras */
.jfbc-review-item--simple .jfbc-review-item__visual{height:130px}.jfbc-review-personal>.jfbc-icon{width:21px;height:21px}

/* Ocultamos el desglose antiguo si por caché llega a coexistir durante una recarga */

@media(max-width:1100px){
 .jfbc-selected-list--grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 
 
}

/* 0.7.0 · estado real de revisión de los diseños privados */
.jfbc-security-state{display:flex;align-items:flex-start;gap:6px;border-radius:9px;padding:7px 8px;margin-top:7px;font-size:11px}
.jfbc-security-state .jfbc-icon{width:14px;flex:0 0 auto;margin-top:1px}
.jfbc-security-state span,.jfbc-security-state strong,.jfbc-security-state small{display:block}
.jfbc-security-state small{margin-top:2px;line-height:1.35;font-weight:500}
.jfbc-security-state.is-clean{background:#ecfdf3;color:#067647}
.jfbc-security-state.is-basic{background:#fffaeb;color:#93370d}
.jfbc-security-state.is-pending{background:#eff8ff;color:#175cd3}
.jfbc-design-slot.security-pending{border-color:#84caff;background:#f5fbff}
.jfbc-design-status-check{border:0;background:#eff8ff;color:#175cd3;border-radius:8px;padding:7px 9px;margin-top:7px;font:inherit;font-size:11px;font-weight:850;cursor:pointer}
.jfbc-design-status-check:disabled{opacity:.55;cursor:wait}
.jfbc-review-designs>span.security-basic{background:#fffaeb;color:#93370d}
.jfbc-review-designs>span.security-pending{background:#eff8ff;color:#175cd3}
@media(max-width:760px){
 .jfbc-selected-list--grid{grid-template-columns:1fr}
 .jfbc-selected-card--simple .jfbc-selected-card__visual{height:230px;min-height:230px;max-height:230px}
 .jfbc-item-modal,.jfbc-item-modal--personalize{width:calc(100vw - 14px);max-height:calc(100vh - 14px);border-radius:19px}
 
 
 
 .jfbc-review-item--simple .jfbc-review-item__visual{height:100px}
}
@media(max-width:480px){
 .jfbc-choice-product__visual{height:170px;min-height:170px;max-height:170px;flex-basis:170px}
 .jfbc-selected-card--simple .jfbc-selected-actions{grid-template-columns:1fr}
 
 
 .jfbc-review-item--simple .jfbc-review-item__visual{height:180px}
}

/* === v0.4.2: editores estables, galería y resumen más claro === */

.jfbc-item-modal__gallery{background:linear-gradient(155deg,#f8fafc 0%,#eef2f7 100%);border-right:1px solid #e5e9ef;padding:18px;min-width:0;display:flex;flex-direction:column;gap:12px;overflow:hidden}
.jfbc-gallery-main{height:390px;min-height:0;border:0;border-radius:22px;background:#fff;display:grid;place-items:center;position:relative;overflow:hidden;padding:14px;cursor:zoom-in;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.jfbc-gallery-main img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.jfbc-gallery-main>span{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:7px;background:rgba(17,24,39,.88);color:#fff;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:850;backdrop-filter:blur(8px)}
.jfbc-gallery-main>span .jfbc-icon{width:15px;height:15px}.jfbc-gallery-main.is-placeholder{cursor:default}
.jfbc-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 4px;scrollbar-width:thin}.jfbc-gallery-thumbs button{width:62px;height:62px;flex:0 0 62px;border:2px solid transparent;border-radius:13px;background:#fff;padding:4px;cursor:pointer;overflow:hidden}.jfbc-gallery-thumbs button.is-active{border-color:#7c3aed;box-shadow:0 0 0 2px rgba(124,58,237,.12)}.jfbc-gallery-thumbs img{width:100%;height:100%;object-fit:contain}
.jfbc-gallery-count{font-size:11px;color:#667085;text-align:center}.jfbc-gallery-product{margin-top:auto;background:#fff;border:1px solid #e4e8ee;border-radius:16px;padding:12px 14px}.jfbc-gallery-product span{font-size:11px;font-weight:850;color:#7a8495;text-transform:uppercase;letter-spacing:.06em}.jfbc-gallery-product h3{font-size:17px;margin:4px 0 2px;line-height:1.15}.jfbc-gallery-product p{font-size:12px;color:#667085;margin:0}.jfbc-gallery-empty{font-size:12px;color:#667085;text-align:center;background:#fff;border-radius:12px;padding:10px}

.jfbc-item-modal--new .jfbc-color-options--modal .jfbc-color{min-height:44px}
.jfbc-tech-family{position:relative}.jfbc-tech-family em,.jfbc-tech-family b{display:block;font-style:normal}.jfbc-tech-family em{margin-top:5px;font-size:11px;color:#667085;font-weight:800}.jfbc-tech-family b{font-size:11px;color:#98a2b3;margin-top:2px;font-weight:700}.jfbc-tech-family.is-locked{opacity:.55;filter:saturate(.45);cursor:not-allowed;background:#f3f4f6;border-color:#e5e7eb;box-shadow:none}.jfbc-tech-family.is-locked>i{font-size:15px}.jfbc-tech-family.is-recommended{box-shadow:0 0 0 2px rgba(184,255,36,.45),0 10px 22px rgba(15,23,42,.06)}.jfbc-tech-family.is-recommended:after{content:"RECOMENDADA";position:absolute;top:8px;right:8px;background:#b8ff24;color:#111827;font-size:11px;font-weight:950;letter-spacing:.05em;border-radius:999px;padding:4px 6px}
.jfbc-position-grid--modal .jfbc-position-card{transition:.12s ease}.jfbc-position-grid--modal .jfbc-position-card:active{transform:scale(.98)}

.jfbc-image-lightbox{position:fixed;inset:0;z-index:100005;background:rgba(4,8,15,.94);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}.jfbc-lightbox-close{position:absolute;top:18px;right:18px;width:46px;height:46px;border:0;border-radius:50%;background:#fff;color:#111827;display:grid;place-items:center;cursor:pointer}.jfbc-lightbox-stage{width:min(1200px,92vw);height:min(720px,80vh);display:grid;grid-template-columns:56px minmax(0,1fr) 56px;gap:16px;align-items:center}.jfbc-lightbox-stage>button{width:50px;height:50px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;display:grid;place-items:center;cursor:pointer}.jfbc-lightbox-stage>button:disabled{opacity:.15}.jfbc-lightbox-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;margin:auto}.jfbc-lightbox-bottom{color:#fff;display:flex;gap:20px;align-items:center;margin-top:12px}.jfbc-lightbox-bottom strong{font-size:13px}.jfbc-lightbox-bottom span{font-size:11px;opacity:.7}

/* Resumen v2: técnica y posiciones visibles de un vistazo */
.jfbc-review-item--v2{display:grid;grid-template-columns:145px minmax(0,1fr);gap:14px;border:1px solid #e2e7ed;border-radius:20px;padding:13px;background:#fff;box-shadow:0 8px 25px rgba(15,23,42,.045)}.jfbc-review-item--v2 .jfbc-review-item__visual{height:145px;border-radius:15px;background:#f7f9fb;overflow:hidden;display:grid;place-items:center}.jfbc-review-item--v2 .jfbc-review-item__visual img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}.jfbc-review-item--v2 .jfbc-review-item__main{min-width:0}.jfbc-review-item--v2 .jfbc-review-item__title{align-items:flex-start}.jfbc-review-item--v2 .jfbc-review-item__title h3{font-size:18px;margin:3px 0}.jfbc-review-customization{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:11px;align-items:center;border-radius:15px;padding:12px 13px;margin:10px 0}.jfbc-review-customization__icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.75)}.jfbc-review-customization__icon .jfbc-icon{width:20px;height:20px}.jfbc-review-customization small{display:block;font-size:11px;font-weight:900;letter-spacing:.09em}.jfbc-review-customization strong{display:block;font-size:13px;margin:2px 0}.jfbc-review-customization p{display:flex;flex-wrap:wrap;gap:5px;margin:5px 0 0}.jfbc-review-customization p span{font-size:11px;padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.72)}.jfbc-review-customization>b{font-size:14px;white-space:nowrap}.jfbc-review-customization.is-active{background:linear-gradient(135deg,#eee8ff,#f8f4ff);color:#5b21b6;border:1px solid #ddcfff}.jfbc-review-customization.is-empty{background:#f5f7fa;color:#667085}.jfbc-review-prices{display:grid;grid-template-columns:1fr 1fr 1fr;border:1px solid #e6eaf0;border-radius:13px;overflow:hidden}.jfbc-review-prices>div{padding:9px 11px;border-right:1px solid #e6eaf0}.jfbc-review-prices>div:last-child{border-right:0}.jfbc-review-prices small{display:block;font-size:11px;color:#7b8494;font-weight:850}.jfbc-review-prices strong{display:block;font-size:15px;margin-top:2px}.jfbc-review-prices .is-personal{background:#faf8ff}.jfbc-review-prices .is-total{background:#effbd7}.jfbc-review-prices .is-total strong{font-size:17px}.jfbc-review-total--v2 .jfbc-review-total__split{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:11px 0}.jfbc-review-total--v2 .jfbc-review-total__split span{font-size:12px}.jfbc-review-total--v2 .jfbc-review-total__split strong{font-size:16px}.jfbc-review-total--v2 .jfbc-review-total__split.is-purple strong{color:#c4a7ff}.jfbc-review-total--v2 .jfbc-review-total__tax{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-top:1px solid rgba(255,255,255,.12);font-size:11px;opacity:.78}.jfbc-review-total--v2 .jfbc-review-total__tax strong{font-size:12px}.jfbc-review-total--v2 .is-grand{margin-top:4px}

@media(max-width:900px){.jfbc-gallery-main{height:300px}}
@media(max-width:700px){.jfbc-item-modal__gallery{flex:0 0 245px;border-right:0;border-bottom:1px solid #e5e9ef;padding:10px;gap:7px}.jfbc-gallery-main{height:170px}.jfbc-gallery-thumbs button{width:48px;height:48px;flex-basis:48px}.jfbc-gallery-product{display:none}.jfbc-review-item--v2{grid-template-columns:100px minmax(0,1fr)}.jfbc-review-item--v2 .jfbc-review-item__visual{height:100px}.jfbc-review-prices{grid-template-columns:1fr}.jfbc-review-prices>div{border-right:0;border-bottom:1px solid #e6eaf0}.jfbc-review-prices>div:last-child{border-bottom:0}.jfbc-lightbox-stage{grid-template-columns:42px minmax(0,1fr) 42px;gap:6px;height:75vh}.jfbc-lightbox-stage>button{width:38px;height:38px}}
@media(max-width:480px){.jfbc-item-modal__gallery{flex-basis:220px}.jfbc-review-item--v2{grid-template-columns:1fr}.jfbc-review-item--v2 .jfbc-review-item__visual{height:190px}.jfbc-review-customization{grid-template-columns:34px 1fr}.jfbc-review-customization>b{grid-column:2}}

/* === v0.4.4: compactación real del asistente + modales que caben en viewport === */
/* Paso/hero: debe ser una banda informativa, no una segunda portada. */
.jfbc-wizard-main{margin-top:10px}
.jfbc-wizard-progress{gap:6px;margin:0 auto 8px;padding:0 6px}
.jfbc-progress-line{top:15px;height:3px}
.jfbc-progress-step{gap:3px}
.jfbc-progress-step>span{width:30px;height:30px;border-radius:10px}
.jfbc-progress-step .jfbc-icon{width:15px;height:15px}
.jfbc-progress-step small{font-size:11px;line-height:1}
.jfbc-wizard-hero{
  min-height:0;
  height:auto;
  padding:11px 16px;
  border-radius:16px;
  align-items:center;
  gap:14px;
  box-shadow:0 10px 30px rgba(15,23,42,.07);
}
.jfbc-wizard-hero:after{width:120px;height:120px;right:-38px;top:-54px}
.jfbc-wizard-hero h1{font-size:clamp(23px,2.7vw,32px);line-height:1.02;margin:3px 0 4px;letter-spacing:-.035em;max-width:900px}
.jfbc-wizard-hero p{font-size:12px;line-height:1.25;margin:0;max-width:900px}
.jfbc-wizard-hero .jfbc-kicker{font-size:11px;line-height:1;letter-spacing:.11em}
.jfbc-wizard-bubble{width:58px;height:58px;border-radius:18px;flex:0 0 58px}
.jfbc-wizard-bubble strong{font-size:20px}.jfbc-wizard-bubble span{font-size:11px;margin-top:1px}

/* Escritorio/tablet: modal claramente menor que la pantalla. */

.jfbc-item-modal__gallery{
  padding:10px;
  gap:7px;
  min-width:0;
  min-height:0;
  overflow:hidden;
}
.jfbc-gallery-main{height:260px;min-height:0;border-radius:15px;padding:9px}
.jfbc-gallery-main>span{right:7px;bottom:7px;padding:6px 8px;font-size:11px}
.jfbc-gallery-thumbs{gap:6px;padding-bottom:2px}
.jfbc-gallery-thumbs button{width:42px;height:42px;flex:0 0 42px;border-radius:9px}
.jfbc-gallery-count{font-size:11px}
.jfbc-gallery-product{padding:8px 9px;border-radius:11px}
.jfbc-gallery-product h3{font-size:13px;margin:2px 0}.jfbc-gallery-product p{font-size:11px}

.jfbc-item-modal__top .jfbc-kicker{font-size:11px}

/* Campos del editor: más densos pero legibles. */

.jfbc-item-modal--new .jfbc-color-options--modal .jfbc-color{min-height:34px;padding:6px 8px;font-size:11px}.jfbc-item-modal--new .jfbc-color-options--modal .jfbc-color i{width:17px;height:17px}
.jfbc-item-modal--new .jfbc-check{font-size:12px}

/* Personalización compacta: técnica arriba, posiciones debajo, sin saltos. */

.jfbc-tech-family-grid--modal .jfbc-tech-family{min-height:72px;padding:8px;border-radius:12px}

.jfbc-position-grid--modal .jfbc-position-card{min-height:64px;padding:7px;border-radius:11px}
.jfbc-position-grid--modal .jfbc-position-card>span{width:26px;height:26px}.jfbc-position-grid--modal .jfbc-position-card strong{font-size:11px}

/* Vista con DevTools o portátiles bajos: todavía más compacta. */
@media (max-height:720px) and (min-width:761px){
 
 
 
 .jfbc-gallery-main{height:205px}
 .jfbc-gallery-product{display:none}
 .jfbc-tech-family-grid--modal .jfbc-tech-family{min-height:62px}
 .jfbc-position-grid--modal .jfbc-position-card{min-height:56px}
}

/* Tablet: modal compacto de una sola columna visual cuando falta ancho. */
@media(max-width:760px){
 .jfbc-wizard-progress{margin-bottom:6px}
 .jfbc-progress-line{top:13px}
 .jfbc-progress-step>span{width:27px;height:27px;border-radius:9px}
 .jfbc-progress-step small{font-size:11px}
 .jfbc-wizard-hero{padding:9px 11px;border-radius:13px;gap:9px}
 .jfbc-wizard-hero h1{font-size:22px;margin:2px 0 3px}
 .jfbc-wizard-hero p{font-size:12px;line-height:1.2}
 .jfbc-wizard-bubble{display:none}

 
 
 .jfbc-item-modal__gallery{flex:0 0 150px;border-right:0;border-bottom:1px solid #e5e9ef;padding:7px}
 .jfbc-gallery-main{height:92px;border-radius:11px}.jfbc-gallery-thumbs button{width:34px;height:34px;flex-basis:34px}.jfbc-gallery-product{display:none}.jfbc-gallery-empty{padding:6px;font-size:11px}
 
 
}

/* Móvil: modal fullscreen, pero con cabecera/galería/pie mínimos. */
@media(max-width:520px){
 .jfbc-progress-step small{display:none}
 .jfbc-wizard-hero{padding:8px 10px}.jfbc-wizard-hero h1{font-size:20px}.jfbc-wizard-hero p{font-size:11px}.jfbc-wizard-hero .jfbc-kicker{font-size:11px}
 
 .jfbc-item-modal__gallery{flex-basis:132px}.jfbc-gallery-main{height:78px}
 
 
 
}

/* =========================================================
   JFBC 0.5.0 — flujo pregunta a pregunta, sin scroll obligatorio
   ========================================================= */

/* Cabecera del configurador: mínima. */
.jfbc-wizard-shell{padding-top:4px}
.jfbc-wizard-progress{min-height:34px;margin:0 0 4px;padding:0 4px}
.jfbc-progress-line{top:13px;height:2px}
.jfbc-progress-step>span{width:28px;height:28px;border-radius:9px}
.jfbc-progress-step small{font-size:11px;margin-top:2px}
.jfbc-wizard-hero{min-height:58px;padding:7px 12px;border-radius:14px;margin-bottom:8px;gap:10px}
.jfbc-wizard-hero h1{font-size:clamp(19px,2.1vw,27px);line-height:1;margin:2px 0 3px}
.jfbc-wizard-hero p{font-size:12px;line-height:1.15;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jfbc-wizard-hero .jfbc-kicker{font-size:11px;letter-spacing:.12em}
.jfbc-wizard-bubble{width:48px;height:48px;flex:0 0 48px;border-radius:15px}
.jfbc-wizard-bubble strong{font-size:17px}.jfbc-wizard-bubble span{font-size:11px}
.jfbc-wizard-main{padding-top:0}

/* Una pregunta visible cada vez. */
.jfbc-one-screen{min-height:min(500px,calc(100dvh - 245px));display:flex;flex-direction:column;justify-content:center;gap:12px;padding:8px 0 4px}
.jfbc-one-screen--catalog{justify-content:flex-start}
.jfbc-one-screen__context{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 11px;border:1px solid #e4e8ee;background:#fff;border-radius:12px;font-size:12px}
.jfbc-one-screen__context span{font-weight:800;color:#111827}
.jfbc-one-screen__context button,.jfbc-mini-back{border:0;background:transparent;color:#536075;font-weight:800;font-size:11px;cursor:pointer}
.jfbc-one-choice-grid{display:grid;gap:10px;max-width:980px;width:100%;margin:0 auto}
.jfbc-one-choice-grid--routes{grid-template-columns:repeat(3,1fr)}
.jfbc-one-choice-grid--sectors{grid-template-columns:repeat(3,1fr)}
.jfbc-one-choice-grid--quality{grid-template-columns:repeat(2,1fr);max-width:840px}
.jfbc-one-choice-grid--mode{grid-template-columns:repeat(2,1fr);max-width:760px}
.jfbc-one-choice{min-height:92px;border:1px solid #dfe5ec;border-radius:18px;background:#fff;padding:15px;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;transition:.18s ease;box-shadow:0 10px 28px rgba(17,24,39,.05)}
.jfbc-one-choice:hover{transform:translateY(-2px);border-color:#a3ff12;box-shadow:0 14px 32px rgba(17,24,39,.09)}
.jfbc-one-choice>span:first-child{width:44px;height:44px;border-radius:14px;background:#eff6ff;display:grid;place-items:center;font-size:22px;flex:0 0 44px}
.jfbc-one-choice>div{min-width:0;flex:1}.jfbc-one-choice strong{display:block;font-size:16px;line-height:1.05;color:#111827}.jfbc-one-choice small{display:block;font-size:12px;color:#667085;margin-top:4px;line-height:1.25}
.jfbc-one-choice>i{width:26px;height:26px;border-radius:9px;background:#111827;color:#fff;display:grid;place-items:center;flex:0 0 26px}
.jfbc-one-choice--empresa>span:first-child{background:#e9ffd0}.jfbc-one-choice--club>span:first-child{background:#e8edff}.jfbc-one-choice--pena>span:first-child{background:#ffeaf6}
.jfbc-mini-back{align-self:flex-start;padding:7px 2px;display:inline-flex;align-items:center;gap:5px}
.jfbc-mini-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:2px 0 0}.jfbc-mini-heading strong{font-size:18px}.jfbc-mini-heading small{font-size:11px;color:#667085}

/* Catálogo paginado: 1 o 3 tarjetas, sin lista infinita. */
.jfbc-page-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-height:350px;align-items:stretch}
.jfbc-page-cards .jfbc-choice-product,.jfbc-page-cards .jfbc-choice-pack{height:100%;min-height:0;margin:0}
.jfbc-page-cards .jfbc-choice-product__visual{height:185px;min-height:185px}
.jfbc-page-cards .jfbc-choice-product__body{padding:10px 12px}
.jfbc-page-cards .jfbc-choice-product__body h3{font-size:15px;margin:3px 0}
.jfbc-page-cards .jfbc-choice-product__body p{font-size:11px;margin:0}
.jfbc-page-cards .jfbc-choice-product__footer{margin-top:8px;padding-top:8px}
.jfbc-page-cards .jfbc-choice-pack{padding:14px}
.jfbc-page-nav{display:flex;align-items:center;justify-content:center;gap:10px;margin:7px 0 0}
.jfbc-page-nav button{border:1px solid #dfe5ec;background:#fff;border-radius:10px;min-height:34px;padding:7px 11px;font-size:11px;font-weight:850;display:inline-flex;align-items:center;gap:5px;cursor:pointer}
.jfbc-page-nav button:disabled{opacity:.35;cursor:not-allowed}.jfbc-page-nav span{font-size:11px;color:#667085;font-weight:800}

/* Tus prendas y resumen: paginados, no listas verticales. */
.jfbc-selected-compact{min-height:min(505px,calc(100dvh - 245px));display:flex;flex-direction:column}
.jfbc-selected-compact .jfbc-selected-list--grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:8px}
.jfbc-selected-compact .jfbc-selected-card--simple{min-height:0}
.jfbc-selected-compact .jfbc-selected-card__visual{height:190px}
.jfbc-selected-compact .jfbc-selected-card__content{padding:10px}
.jfbc-selected-compact .jfbc-selected-actions{gap:7px}.jfbc-selected-compact .jfbc-selected-actions button{padding:8px;min-height:44px}
.jfbc-wizard-nav--compact{margin-top:auto;padding-top:7px}
.jfbc-review-layout--compact{min-height:min(505px,calc(100dvh - 245px));display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:14px;align-items:start}
.jfbc-review-heading--compact{margin-bottom:7px}.jfbc-review-heading--compact h2{font-size:20px;margin:1px 0}.jfbc-review-heading--compact p{font-size:11px;margin:0}
.jfbc-review-list--paged{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.jfbc-review-list--paged .jfbc-summary-card{margin:0;min-height:0}
.jfbc-review-total--v2{position:static;top:auto;padding:14px;border-radius:18px}.jfbc-review-total--v2 h2{font-size:20px}.jfbc-review-total__split,.jfbc-review-total__tax,.jfbc-review-total--v2 .is-grand{padding:8px 0}
.jfbc-add-more-big{margin-top:7px;padding:8px 10px}

/* Mientras hay un editor abierto, el header de la web desaparece: nunca puede tapar el modal. */

/* Mini-asistente modal: ninguna pregunta necesita scroll. */
.jfbc-item-modal--wizard{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(820px,calc(100vw - 24px));height:min(520px,calc(100dvh - 24px));background:#fff;border-radius:22px;overflow:hidden;display:grid;grid-template-columns:250px minmax(0,1fr);box-shadow:0 30px 90px rgba(15,23,42,.32)}
.jfbc-item-modal--wizard-personal{width:min(900px,calc(100vw - 24px))}
.jfbc-wizard-modal-gallery{min-width:0;background:#f6f8fb;border-right:1px solid #e4e8ee;padding:10px;display:flex;flex-direction:column;gap:7px;overflow:hidden}
.jfbc-wizard-modal-gallery .jfbc-item-modal__gallery{padding:0;display:flex;flex-direction:column;gap:6px;overflow:hidden;min-height:0;background:transparent;border:0}
.jfbc-wizard-modal-gallery .jfbc-gallery-main{height:245px;min-height:245px;border-radius:15px;background:#fff;padding:7px}
.jfbc-wizard-modal-gallery .jfbc-gallery-main img{width:100%;height:100%;object-fit:contain}
.jfbc-wizard-modal-gallery .jfbc-gallery-thumbs{gap:5px;overflow:hidden}.jfbc-wizard-modal-gallery .jfbc-gallery-thumbs button{width:38px;height:38px;flex:0 0 38px}
.jfbc-wizard-modal-gallery .jfbc-gallery-product{padding:7px 8px;border-radius:10px}.jfbc-wizard-modal-gallery .jfbc-gallery-product h3{font-size:12px;margin:1px 0}.jfbc-wizard-modal-gallery .jfbc-gallery-product p,.jfbc-wizard-modal-gallery .jfbc-gallery-product span{font-size:11px}
.jfbc-info-button{margin-top:auto;border:1px solid #dfe5ec;background:#fff;border-radius:10px;padding:8px;font-size:11px;font-weight:850;color:#334155;display:flex;align-items:center;justify-content:center;gap:5px;cursor:pointer}
.jfbc-wizard-modal-panel{min-width:0;min-height:0;display:grid;grid-template-rows:48px minmax(0,1fr) 48px;background:#fff}
.jfbc-wizard-modal-panel>header{display:flex;align-items:center;justify-content:space-between;padding:7px 11px;border-bottom:1px solid #e5e7eb}.jfbc-wizard-modal-panel>header div{min-width:0}.jfbc-wizard-modal-panel>header span{display:block;font-size:11px;color:#667085;font-weight:850;text-transform:uppercase;letter-spacing:.1em}.jfbc-wizard-modal-panel>header strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:430px}.jfbc-wizard-modal-panel>header button{width:30px;height:30px;border:0;border-radius:9px;background:#f2f4f7;display:grid;place-items:center;cursor:pointer}
.jfbc-wizard-modal-question{min-height:0;overflow:hidden;padding:12px;display:flex;align-items:center;justify-content:center}
.jfbc-modal-question{width:100%;max-width:560px;text-align:center}.jfbc-modal-question h2{font-size:23px;line-height:1.05;margin:4px 0 5px;color:#111827}.jfbc-modal-question>p{font-size:11px;color:#667085;margin:0 0 12px}.jfbc-qno{display:grid;place-items:center;margin:0 auto;width:28px;height:28px;border-radius:9px;background:#111827;color:#fff;font-size:11px;font-weight:900}
.jfbc-number--wizard{width:220px;height:56px;margin:18px auto 0;grid-template-columns:54px 1fr 54px}.jfbc-number--wizard input{font-size:22px;color:#111827;background:#fff;-webkit-text-fill-color:#111827}
.jfbc-color-options--wizard{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-height:190px;overflow:hidden}.jfbc-color-options--wizard .jfbc-color{min-height:46px;padding:8px 12px;font-size:12px}.jfbc-color-options--wizard .jfbc-color i{width:21px;height:21px}
.jfbc-size-actions,.jfbc-two-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:420px;margin:14px auto 0}.jfbc-choice-button,.jfbc-two-choices button{min-height:58px;border:1px solid #dfe5ec;background:#fff;border-radius:14px;font-weight:850;font-size:11px;cursor:pointer}.jfbc-choice-button.is-primary,.jfbc-two-choices button.is-active{background:#111827;color:#fff;border-color:#111827}
.jfbc-size-grid--wizard{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;max-width:470px;margin:10px auto 0}.jfbc-size-grid--wizard label{padding:6px;border-radius:9px;min-height:50px}.jfbc-size-grid--wizard label span{font-size:11px}.jfbc-size-grid--wizard input{height:28px;font-size:11px}
.jfbc-tech-family-grid--wizard{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;max-width:570px;margin:0 auto}.jfbc-tech-family-grid--wizard .jfbc-tech-family{min-height:92px;padding:9px;border-radius:13px}.jfbc-tech-family-grid--wizard .jfbc-tech-family strong{font-size:12px}.jfbc-tech-family-grid--wizard .jfbc-tech-family p{font-size:11px;line-height:1.2}.jfbc-tech-family-grid--wizard .jfbc-tech-family>span{width:30px;height:30px}
.jfbc-zone-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;max-width:560px;margin:0 auto}.jfbc-zone-grid button{min-height:102px;border:1px solid #dfe5ec;background:#fff;border-radius:14px;padding:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer}.jfbc-zone-grid button>span{font-size:24px}.jfbc-zone-grid strong{font-size:11px}.jfbc-zone-grid small{font-size:11px;color:#667085;text-align:center}
.jfbc-position-grid--wizard{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;max-width:520px;margin:0 auto}.jfbc-position-grid--wizard .jfbc-position-card{min-height:78px;padding:9px;border-radius:13px}.jfbc-position-grid--wizard .jfbc-position-card strong{font-size:12px}.jfbc-position-finish{display:flex;justify-content:center;gap:8px;margin-top:10px}.jfbc-position-finish button{min-height:36px;padding:8px 12px;border-radius:10px;border:1px solid #dfe5ec;background:#fff;font-size:11px;font-weight:850;cursor:pointer}.jfbc-current-positions{margin:9px auto 0;max-width:500px;padding:7px 9px;background:#f6f3ff;border-radius:10px;font-size:11px}.jfbc-current-positions small{display:block;color:#667085}.jfbc-current-positions strong{display:block;margin-top:2px;color:#5b21b6}
.jfbc-wizard-modal-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #e5e7eb;padding:6px 10px}.jfbc-wizard-modal-panel>footer>button{min-height:34px;padding:7px 10px;border:1px solid #dfe5ec;background:#fff;border-radius:9px;font-size:11px;font-weight:850;display:inline-flex;align-items:center;gap:5px}.jfbc-wizard-modal-panel>footer>button:disabled{opacity:.3}.jfbc-footer-summary{margin-left:auto;text-align:right;min-width:0}.jfbc-footer-summary small{display:block;font-size:11px;color:#667085}.jfbc-footer-summary strong{display:block;font-size:11px;color:#6d28d9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}
.jfbc-product-info-pop{position:absolute;inset:16px;z-index:20;background:rgba(255,255,255,.98);border:1px solid #dfe5ec;border-radius:18px;display:grid;place-items:center;padding:18px;box-shadow:0 20px 60px rgba(15,23,42,.25)}.jfbc-product-info-pop>div{max-width:620px;max-height:100%;overflow:auto;position:relative}.jfbc-product-info-pop button{position:absolute;right:0;top:0;width:30px;height:30px;border:0;border-radius:9px;background:#f2f4f7}.jfbc-product-info-pop h3{font-size:13px;margin:11px 0 3px}.jfbc-product-info-pop p{font-size:11px;color:#536075;line-height:1.45;margin:0}

/* Pantallas bajas: aún más compactas. */
@media (max-height:720px) and (min-width:761px){
 .jfbc-wizard-hero{min-height:50px;padding:5px 10px}.jfbc-wizard-hero h1{font-size:20px}.jfbc-wizard-hero p{font-size:11px}.jfbc-wizard-bubble{width:42px;height:42px;flex-basis:42px}
 .jfbc-one-screen,.jfbc-selected-compact,.jfbc-review-layout--compact{min-height:calc(100dvh - 215px)}
 .jfbc-item-modal--wizard{height:min(470px,calc(100dvh - 16px));width:min(760px,calc(100vw - 16px));grid-template-columns:220px minmax(0,1fr)}
 .jfbc-item-modal--wizard-personal{width:min(840px,calc(100vw - 16px))}
 .jfbc-wizard-modal-gallery .jfbc-gallery-main{height:200px;min-height:200px}.jfbc-wizard-modal-gallery .jfbc-gallery-product{display:none}
 .jfbc-wizard-modal-panel{grid-template-rows:42px minmax(0,1fr) 42px}.jfbc-modal-question h2{font-size:19px}.jfbc-modal-question>p{margin-bottom:8px}.jfbc-tech-family-grid--wizard .jfbc-tech-family{min-height:78px}.jfbc-zone-grid button{min-height:82px}.jfbc-position-grid--wizard .jfbc-position-card{min-height:65px}
}

/* Tablet y móvil: una decisión por pantalla, sin modal largo. */
@media(max-width:760px){
 .jfbc-wizard-progress{min-height:29px}.jfbc-progress-step>span{width:24px;height:24px}.jfbc-progress-line{top:11px}
 .jfbc-wizard-hero{min-height:52px;padding:6px 9px}.jfbc-wizard-hero h1{font-size:19px}.jfbc-wizard-hero p{font-size:11px;white-space:normal;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.jfbc-wizard-bubble{display:none}
 .jfbc-one-screen{min-height:calc(100dvh - 185px);justify-content:center}.jfbc-one-choice-grid--routes,.jfbc-one-choice-grid--sectors,.jfbc-one-choice-grid--quality,.jfbc-one-choice-grid--mode{grid-template-columns:1fr}.jfbc-one-choice{min-height:72px;padding:10px}.jfbc-one-choice>span:first-child{width:38px;height:38px;flex-basis:38px}.jfbc-one-choice strong{font-size:14px}.jfbc-one-choice small{font-size:11px}.jfbc-one-choice-grid--sectors{max-height:390px;overflow:hidden}
 .jfbc-page-cards{grid-template-columns:1fr;min-height:370px}.jfbc-page-cards .jfbc-choice-product__visual{height:190px;min-height:190px}
 .jfbc-selected-compact .jfbc-selected-list--grid{grid-template-columns:1fr}.jfbc-selected-compact .jfbc-selected-card__visual{height:210px}.jfbc-review-layout--compact{grid-template-columns:1fr}.jfbc-review-total--v2{display:grid;grid-template-columns:1fr 1fr;gap:4px}.jfbc-review-total--v2 h2,.jfbc-review-total--v2 .jfbc-review-total__icon,.jfbc-review-total--v2>.jfbc-kicker,.jfbc-review-total--v2>p{display:none}.jfbc-review-total--v2 .is-grand,.jfbc-review-total--v2 .jfbc-next--full{grid-column:1/-1}
 .jfbc-item-modal--wizard,.jfbc-item-modal--wizard-personal{left:0;top:0;transform:none;width:100vw;height:100dvh;border-radius:0;grid-template-columns:1fr;grid-template-rows:118px minmax(0,1fr)}
 .jfbc-wizard-modal-gallery{border-right:0;border-bottom:1px solid #e4e8ee;padding:5px 8px;display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:7px}.jfbc-wizard-modal-gallery .jfbc-item-modal__gallery{display:contents}.jfbc-wizard-modal-gallery .jfbc-gallery-main{height:92px;min-height:92px;width:96px;grid-row:1/3}.jfbc-wizard-modal-gallery .jfbc-gallery-thumbs{grid-column:2;max-width:100%;overflow:hidden}.jfbc-wizard-modal-gallery .jfbc-gallery-product{grid-column:2;padding:5px}.jfbc-wizard-modal-gallery .jfbc-gallery-count{display:none}.jfbc-info-button{grid-column:3;grid-row:1/3;margin:0;width:40px;height:40px;padding:0;font-size:0}.jfbc-info-button .jfbc-icon{width:18px;height:18px}
 .jfbc-wizard-modal-panel{grid-template-rows:42px minmax(0,1fr) 44px}.jfbc-wizard-modal-question{padding:8px}.jfbc-modal-question h2{font-size:20px}.jfbc-number--wizard{width:210px;margin-top:12px}.jfbc-tech-family-grid--wizard{grid-template-columns:repeat(2,1fr);gap:6px}.jfbc-tech-family-grid--wizard .jfbc-tech-family{min-height:78px}.jfbc-zone-grid{grid-template-columns:repeat(2,1fr)}.jfbc-zone-grid button{min-height:74px}.jfbc-position-grid--wizard{grid-template-columns:repeat(2,1fr)}.jfbc-size-grid--wizard{grid-template-columns:repeat(4,1fr)}
}

@media(max-width:480px){
 .jfbc-progress-step small{display:none}.jfbc-one-choice-grid--sectors{grid-template-columns:1fr;max-height:none}.jfbc-one-screen{min-height:calc(100dvh - 165px)}
 .jfbc-item-modal--wizard,.jfbc-item-modal--wizard-personal{grid-template-rows:102px minmax(0,1fr)}.jfbc-wizard-modal-gallery{grid-template-columns:82px minmax(0,1fr) 36px}.jfbc-wizard-modal-gallery .jfbc-gallery-main{width:82px;height:78px;min-height:78px}.jfbc-wizard-modal-gallery .jfbc-gallery-thumbs{display:none}.jfbc-wizard-modal-gallery .jfbc-gallery-product p{display:none}.jfbc-wizard-modal-panel{grid-template-rows:38px minmax(0,1fr) 42px}.jfbc-wizard-modal-panel>header strong{font-size:11px}.jfbc-modal-question h2{font-size:18px}.jfbc-modal-question>p{font-size:11px}.jfbc-tech-family-grid--wizard .jfbc-tech-family{min-height:70px;padding:7px}.jfbc-zone-grid button{min-height:66px;padding:6px}.jfbc-position-grid--wizard .jfbc-position-card{min-height:62px}.jfbc-size-grid--wizard{grid-template-columns:repeat(3,1fr)}.jfbc-footer-summary strong{max-width:150px}
}

/* =========================================================
   JFBC 0.5.1 — selección múltiple, filtros por tipo y UI global
   ========================================================= */

/* Progreso: iconos más visibles en todas las pantallas. */
.jfbc-wizard-progress{min-height:50px;margin-bottom:6px;padding:0 8px}
.jfbc-progress-line{top:20px;height:3px}
.jfbc-progress-step>span{width:42px;height:42px;border-radius:13px}
.jfbc-progress-step .jfbc-icon{width:21px;height:21px}
.jfbc-progress-step small{font-size:11px;margin-top:3px}

/* Hero: algo más protagonista, pero todavía compacto. */
.jfbc-wizard-hero{min-height:76px;padding:9px 14px;border-radius:16px;margin-bottom:0}
.jfbc-wizard-hero h1{font-size:clamp(24px,2.6vw,34px);margin:3px 0 4px}
.jfbc-wizard-hero p{font-size:11px;line-height:1.2}
.jfbc-wizard-hero .jfbc-kicker{font-size:11px}
.jfbc-wizard-bubble{width:58px;height:58px;flex-basis:58px;border-radius:17px}
.jfbc-wizard-bubble strong{font-size:20px}
.jfbc-wizard-main{margin-top:8px}

/* Contexto más visible y pegado a la pregunta. */
.jfbc-one-screen{gap:10px;padding-top:0}
.jfbc-one-screen__context{padding:10px 14px;border-radius:14px;font-size:12px;box-shadow:0 5px 16px rgba(15,23,42,.035)}
.jfbc-one-screen__context button{font-size:12px;padding:4px 6px}

/* Las tarjetas aprovechan el espacio de pantalla. */
.jfbc-one-choice-grid{max-width:1180px;gap:14px}
.jfbc-one-choice-grid--routes{min-height:300px;grid-template-columns:repeat(3,1fr);align-items:stretch}
.jfbc-one-choice-grid--routes .jfbc-one-choice{min-height:160px}
.jfbc-one-choice-grid--sectors{max-width:1160px;grid-template-columns:repeat(3,1fr)}
.jfbc-one-choice-grid--sectors .jfbc-one-choice{min-height:105px}
.jfbc-one-choice-grid--quality,.jfbc-one-choice-grid--mode,.jfbc-one-choice-grid--technical{max-width:980px;grid-template-columns:repeat(2,1fr)}
.jfbc-one-choice-grid--quality .jfbc-one-choice,.jfbc-one-choice-grid--mode .jfbc-one-choice,.jfbc-one-choice-grid--technical .jfbc-one-choice{min-height:122px}

.jfbc-one-choice-grid--garment .jfbc-one-choice{min-height:104px}
.jfbc-one-choice{padding:18px;border-radius:20px}
.jfbc-one-choice>span:first-child{width:54px;height:54px;flex-basis:54px;border-radius:16px;font-size:26px}
.jfbc-one-choice strong{font-size:18px}.jfbc-one-choice small{font-size:11px}
.jfbc-one-choice>i{width:32px;height:32px;flex-basis:32px}

/* Catálogo: selección múltiple sin abandonar la pantalla. */
.jfbc-one-screen--catalog.has-selection{padding-bottom:86px}
.jfbc-choice-product.is-selected,.jfbc-choice-pack.is-selected{border-color:#9ee900;box-shadow:0 0 0 2px rgba(183,255,0,.34),0 14px 34px rgba(17,24,39,.08)}
.jfbc-choice-product.is-selected .jfbc-choice-product__visual{background:linear-gradient(180deg,#f4ffe2,#fff)}
.jfbc-product-added{background:#b7ff00;color:#101718;border-color:#9ee900;opacity:1;cursor:default;box-shadow:none}
.jfbc-product-added .jfbc-icon{width:15px;height:15px}
.jfbc-selected-badge{display:flex;align-items:center;gap:4px;background:#b7ff00;color:#101718;border:1px solid #9ee900}
.jfbc-selected-badge .jfbc-icon{width:12px;height:12px}
.jfbc-selection-dock{position:sticky;bottom:10px;z-index:20;margin-top:10px;border-radius:18px;background:#111827;color:#fff;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:14px;box-shadow:0 18px 50px rgba(15,23,42,.28)}
.jfbc-selection-dock__info{display:flex;align-items:center;gap:10px;min-width:0}.jfbc-selection-dock__info>span{width:38px;height:38px;border-radius:12px;background:#b7ff00;color:#111827;display:grid;place-items:center;font-weight:950;font-size:15px;flex:0 0 38px}.jfbc-selection-dock__info div{min-width:0}.jfbc-selection-dock__info small{display:block;font-size:11px;color:#aab4c5;text-transform:uppercase;letter-spacing:.08em}.jfbc-selection-dock__info strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:440px}
.jfbc-selection-dock>button{border:0;border-radius:13px;background:#b7ff00;color:#111827;padding:11px 15px;font:inherit;font-size:11px;font-weight:950;display:inline-flex;align-items:center;gap:7px;cursor:pointer;white-space:nowrap}

/* Tus prendas: acciones principales arriba y más modernas. */
.jfbc-selected-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;padding:12px 14px;border:1px solid #e2e7ee;background:#fff;border-radius:18px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.jfbc-selected-topbar>div:first-child{min-width:0}.jfbc-selected-topbar .jfbc-kicker{font-size:11px}.jfbc-selected-topbar strong{display:block;font-size:20px;color:#111827;margin-top:1px}.jfbc-selected-topbar small{display:block;font-size:11px;color:#667085;margin-top:2px}
.jfbc-selected-topbar__actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.jfbc-selected-topbar__actions button{min-height:42px;border-radius:13px;padding:9px 13px;font:inherit;font-size:12px;font-weight:900;display:inline-flex;align-items:center;gap:7px;cursor:pointer}.jfbc-add-modern{border:1px solid #d8dee8;background:#f8fafc;color:#111827}.jfbc-add-modern:hover{background:#eef3f8}.jfbc-summary-modern{border:1px solid #111827;background:#111827;color:#fff;box-shadow:0 8px 20px rgba(15,23,42,.16)}

/* Overlay/modal robusto: nunca quedarse solo con la capa gris. */

@media(max-width:760px){
 .jfbc-wizard-progress{min-height:40px}.jfbc-progress-step>span{width:34px;height:34px}.jfbc-progress-line{top:16px}.jfbc-progress-step small{font-size:11px}
 .jfbc-wizard-hero{min-height:68px;padding:8px 10px}.jfbc-wizard-hero h1{font-size:22px}.jfbc-wizard-hero p{font-size:11px}.jfbc-wizard-main{margin-top:6px}
 .jfbc-one-screen__context{font-size:12px;padding:8px 10px}
 .jfbc-one-choice-grid--routes,.jfbc-one-choice-grid--sectors,.jfbc-one-choice-grid--quality,.jfbc-one-choice-grid--mode,.jfbc-one-choice-grid--technical,.jfbc-one-choice-grid--garment{grid-template-columns:1fr 1fr;min-height:0;max-height:none}
 .jfbc-one-choice{min-height:84px;padding:10px}.jfbc-one-choice>span:first-child{width:40px;height:40px;flex-basis:40px;font-size:20px}.jfbc-one-choice strong{font-size:13px}.jfbc-one-choice small{font-size:11px}.jfbc-one-choice>i{width:27px;height:27px;flex-basis:27px}
 .jfbc-selection-dock{bottom:6px;padding:8px;border-radius:14px}.jfbc-selection-dock__info strong{max-width:180px}.jfbc-selection-dock>button{padding:9px 10px;font-size:11px}
 .jfbc-selected-topbar{align-items:stretch;flex-direction:column;padding:10px}.jfbc-selected-topbar__actions{width:100%}.jfbc-selected-topbar__actions button{flex:1;justify-content:center}.jfbc-selected-topbar strong{font-size:17px}
}
@media(max-width:480px){
 .jfbc-wizard-progress{min-height:34px}.jfbc-progress-step>span{width:30px;height:30px}.jfbc-progress-line{top:14px}
 .jfbc-one-choice-grid--routes,.jfbc-one-choice-grid--sectors,.jfbc-one-choice-grid--quality,.jfbc-one-choice-grid--mode,.jfbc-one-choice-grid--technical,.jfbc-one-choice-grid--garment{grid-template-columns:1fr}
 .jfbc-one-choice-grid--routes .jfbc-one-choice,.jfbc-one-choice-grid--sectors .jfbc-one-choice,.jfbc-one-choice-grid--quality .jfbc-one-choice,.jfbc-one-choice-grid--mode .jfbc-one-choice,.jfbc-one-choice-grid--technical .jfbc-one-choice,.jfbc-one-choice-grid--garment .jfbc-one-choice{min-height:72px}
 .jfbc-selection-dock__info strong{max-width:115px}.jfbc-selection-dock>button span{display:none}
}

.jfbc-add-more-big.jfbc-add-modern{display:inline-flex;align-items:center;gap:7px;border:1px solid #d8dee8;background:#f8fafc;color:#111827;border-radius:13px;font-size:12px;font-weight:900;box-shadow:none}

.jfbc-one-screen--routes{justify-content:stretch}.jfbc-one-screen--routes .jfbc-one-choice-grid--routes{flex:1;align-items:stretch;max-height:350px}.jfbc-one-screen--routes .jfbc-one-choice{height:100%}
.jfbc-one-screen--sectors{justify-content:flex-start}.jfbc-one-screen--sectors .jfbc-one-choice-grid--sectors{flex:1;align-content:stretch}
@media(max-width:480px){.jfbc-one-choice-grid--routes,.jfbc-one-choice-grid--quality,.jfbc-one-choice-grid--mode{grid-template-columns:1fr}.jfbc-one-choice-grid--sectors,.jfbc-one-choice-grid--technical,.jfbc-one-choice-grid--garment{grid-template-columns:repeat(2,minmax(0,1fr))}.jfbc-one-choice-grid--sectors .jfbc-one-choice,.jfbc-one-choice-grid--technical .jfbc-one-choice,.jfbc-one-choice-grid--garment .jfbc-one-choice{min-height:68px;padding:8px}.jfbc-one-choice-grid--sectors .jfbc-one-choice>span:first-child,.jfbc-one-choice-grid--technical .jfbc-one-choice>span:first-child,.jfbc-one-choice-grid--garment .jfbc-one-choice>span:first-child{width:34px;height:34px;flex-basis:34px;font-size:16px}.jfbc-one-choice-grid--sectors .jfbc-one-choice strong,.jfbc-one-choice-grid--technical .jfbc-one-choice strong,.jfbc-one-choice-grid--garment .jfbc-one-choice strong{font-size:11px}.jfbc-one-choice-grid--sectors .jfbc-one-choice small,.jfbc-one-choice-grid--technical .jfbc-one-choice small,.jfbc-one-choice-grid--garment .jfbc-one-choice small{display:none}.jfbc-one-choice-grid--sectors .jfbc-one-choice>i,.jfbc-one-choice-grid--technical .jfbc-one-choice>i,.jfbc-one-choice-grid--garment .jfbc-one-choice>i{width:22px;height:22px;flex-basis:22px}}

/* v0.5.2 — filtros de tipo persistentes en el catálogo */
.jfbc-garment-filter-wrap{display:grid;gap:7px;padding:9px 10px;border:1px solid #e4e8ee;background:rgba(255,255,255,.88);border-radius:14px;box-shadow:0 6px 18px rgba(15,23,42,.035)}
.jfbc-garment-filter-head{display:flex;align-items:end;justify-content:space-between;gap:12px}
.jfbc-garment-filter-head strong{display:block;font-size:11px;color:#101828}
.jfbc-garment-filter-head small{display:block;margin-top:1px;font-size:11px;color:#667085}
.jfbc-garment-filterbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.jfbc-garment-filterbar button{appearance:none;border:1px solid #dfe4ea;background:#fff;color:#344054;border-radius:999px;min-height:34px;padding:6px 10px;display:inline-flex;align-items:center;gap:6px;font:inherit;cursor:pointer;transition:.16s ease;box-shadow:0 2px 8px rgba(15,23,42,.025)}
.jfbc-garment-filterbar button span{font-size:14px;line-height:1}
.jfbc-garment-filterbar button strong{font-size:11px;font-weight:900;white-space:nowrap}
.jfbc-garment-filterbar button:hover{border-color:#9bd800;transform:translateY(-1px)}
.jfbc-garment-filterbar button.is-active{background:#b7ff00;border-color:#91d000;color:#101828;box-shadow:0 7px 18px rgba(183,255,0,.22)}
.jfbc-one-screen--catalog .jfbc-mini-heading{margin-top:1px}
.jfbc-one-screen--catalog .jfbc-one-screen__context{margin-bottom:0}
.jfbc-one-screen--catalog .jfbc-page-cards{margin-top:0}
.jfbc-choice-product.is-selected{border-color:#8fd300;box-shadow:0 0 0 2px rgba(183,255,0,.18),0 10px 26px rgba(15,23,42,.07)}
.jfbc-product-added{background:#b7ff00;color:#101828;border-color:#91d000}
.jfbc-selected-badge{background:#b7ff00;color:#101828;border:1px solid #91d000}
@media(max-width:760px){
 .jfbc-garment-filter-wrap{padding:7px 8px;border-radius:12px}
 .jfbc-garment-filter-head small{display:none}
 .jfbc-garment-filterbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 .jfbc-garment-filterbar button{width:100%;justify-content:flex-start;min-height:36px;padding:6px 8px}
 .jfbc-garment-filterbar button strong{font-size:11px;white-space:normal;text-align:left;line-height:1.1}
}
@media(max-width:420px){
 .jfbc-garment-filterbar button span{font-size:13px}
 .jfbc-garment-filterbar button strong{font-size:11px}
}

/* v0.5.4 — sistema único de modales.
   Este es el único bloque que controla capas, backdrop y eventos visuales. */
body.jfbc-modal-open{overflow:hidden}
body.jfbc-modal-open .fc-site-header,body.jfbc-modal-open #masthead,body.jfbc-modal-open .fc-topbar{visibility:hidden;pointer-events:none}
#jfbc-modal-root:not(:empty),#jfbc-modal-root.is-open{
  position:fixed;
  inset:0;
  z-index:1000000;
  display:block;
  isolation:isolate;
  pointer-events:auto;
  filter:none;
  -webkit-filter:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
#jfbc-modal-root > .jfbc-modal-backdrop{
  position:absolute;
  inset:0;
  z-index:0;
  display:block;
  background:rgba(15,23,42,.62);
  filter:none;
  -webkit-filter:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  pointer-events:auto;
}
#jfbc-modal-root > .jfbc-item-modal,#jfbc-modal-root > .jfbc-modal{
  position:fixed;
  z-index:1;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  filter:none;
  -webkit-filter:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
#jfbc-modal-root > .jfbc-item-modal--wizard{
  display:grid;
  background:#fff;
  touch-action:manipulation;
}
#jfbc-modal-root > .jfbc-image-lightbox,#jfbc-modal-root > .jfbc-product-info-pop{
  position:fixed;
  z-index:2;
  pointer-events:auto;
  filter:none;
}

/* === v0.5.5 · ficha técnica + diseños seguros === */
.jfbc-tech-sheet{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.jfbc-tech-sheet>div,.jfbc-tech-sheet>section{border:1px solid #e4e8ef;background:#fff;border-radius:12px;padding:10px}.jfbc-tech-sheet>section{grid-column:span 2}.jfbc-tech-sheet>section.is-warning{background:#fff8ed;border-color:#fed7aa}.jfbc-tech-sheet small{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:#667085;font-weight:850;margin-bottom:3px}.jfbc-tech-sheet strong{font-size:11px;color:#111827}.jfbc-tech-sheet p{font-size:11px;line-height:1.45;color:#475467;margin:0}.jfbc-modal-question--tech>.jfbc-next{display:flex;margin:8px auto 0}
.jfbc-security-card>.jfbc-icon{width:22px;color:#067647}.jfbc-design-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.jfbc-design-slot{border:1px solid #e4e8ef;border-radius:14px;padding:10px;min-width:0}.jfbc-design-slot.has-file{background:#fbfcfe}.jfbc-design-slot__head{display:flex;align-items:center;gap:8px;margin-bottom:8px}.jfbc-design-slot__head>span{width:32px;height:32px;border-radius:9px;background:#f2f4f7;display:grid;place-items:center}.jfbc-design-slot__head>.jfbc-icon{width:18px}.jfbc-design-slot__head div{flex:1}.jfbc-design-slot__head small,.jfbc-design-slot__head strong{display:block}.jfbc-design-slot__head small{font-size:11px;color:#7f56d9;text-transform:uppercase;font-weight:850}.jfbc-design-slot__head strong{font-size:11px}.jfbc-design-slot__head>button{border:0;background:#fff1f3;color:#e31b54;width:28px;height:28px;border-radius:8px}.jfbc-design-drop{min-height:110px;border:1.5px dashed #cfd7e4;border-radius:12px;background:#f8fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12px;cursor:pointer;transition:.18s}.jfbc-design-drop:hover,.jfbc-design-drop.is-drag{border-color:#8b5cf6;background:#f5f3ff;transform:translateY(-1px)}.jfbc-design-drop input,.jfbc-design-replace input{display:none}.jfbc-design-drop>span{font-size:20px}.jfbc-design-drop strong{font-size:12px;margin:4px 0}.jfbc-design-drop small{font-size:11px;color:#667085}.jfbc-design-file__name strong,.jfbc-design-file__name small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jfbc-design-file__name strong{font-size:12px}.jfbc-design-file__name small{font-size:11px;color:#667085;margin-top:2px}.jfbc-quality-meter{height:7px;border-radius:99px;background:#eef2f6;display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin:9px 0 6px;overflow:hidden}.jfbc-quality-meter i{background:#e4e7ec}.jfbc-quality-meter.is-red i:first-child{background:#f04438}.jfbc-quality-meter.is-orange i:nth-child(-n/**/+2){background:#f79009}.jfbc-quality-meter.is-green i{background:#12b76a}.jfbc-quality-copy strong,.jfbc-quality-copy small{display:block}.jfbc-quality-copy strong{font-size:12px}.jfbc-quality-copy small{font-size:11px;color:#667085;line-height:1.35;margin-top:2px}.jfbc-security-ok{display:flex;align-items:center;gap:5px;background:#ecfdf3;color:#067647;border-radius:8px;padding:6px 7px;font-size:11px;font-weight:750;margin-top:7px}.jfbc-security-ok .jfbc-icon{width:13px}.jfbc-design-replace{display:inline-block;margin-top:7px;color:#6941c6;font-size:11px;font-weight:850;cursor:pointer}.jfbc-review-designs{display:flex;flex-wrap:wrap;gap:5px;align-items:center;padding:8px 10px;background:#f8fafc;border-radius:10px;margin-top:7px}.jfbc-review-designs>small{width:100%;font-size:11px;letter-spacing:.09em;font-weight:900;color:#667085}.jfbc-review-designs>strong{font-size:11px;width:100%}.jfbc-review-designs>span{font-size:11px;padding:4px 6px;border-radius:99px}.jfbc-review-designs>span.is-ready{background:#ecfdf3;color:#067647}.jfbc-review-designs>span.is-pending{background:#fff7ed;color:#b54708}
@media(max-width:800px){.jfbc-tech-sheet{grid-template-columns:repeat(2,1fr)}.jfbc-tech-sheet>section{grid-column:1/-1}.jfbc-design-slots{grid-template-columns:1fr}}
@media(max-width:520px){.jfbc-design-drop{min-height:94px}.jfbc-tech-sheet{gap:6px}.jfbc-tech-sheet>div,.jfbc-tech-sheet>section{padding:8px}}

/* === v0.5.6 · edición en una sola pestaña + diseños desde Tus prendas === */
.jfbc-selected-card--simple .jfbc-selected-actions.has-design-action{grid-template-columns:1fr 1fr}
.jfbc-action-design{grid-column:1/-1;background:linear-gradient(135deg,#ecfccb,#d9f99d);color:#365314;border:1px solid #bef264}
.jfbc-action-design:hover{box-shadow:0 10px 24px rgba(132,204,22,.18)}
.jfbc-action-design .jfbc-icon{color:#65a30d}

.jfbc-item-modal--edit-single{width:min(980px,calc(100vw - 24px));height:min(650px,calc(100dvh - 24px));grid-template-columns:270px minmax(0,1fr)}
.jfbc-edit-single-panel{grid-template-rows:48px minmax(0,1fr) 52px}
.jfbc-edit-single-scroll{min-height:0;overflow-y:auto;padding:12px;display:grid;gap:9px;align-content:start;background:#fbfcfe}
.jfbc-edit-block{background:#fff;border:1px solid #e4e8ef;border-radius:14px;padding:10px 11px;display:grid;gap:9px}
.jfbc-edit-block--qty{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.jfbc-edit-label{display:flex;align-items:center;gap:8px;min-width:0}
.jfbc-edit-label>span{width:26px;height:26px;border-radius:8px;background:#101828;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:900;flex:0 0 auto}
.jfbc-edit-label strong,.jfbc-edit-label small{display:block}
.jfbc-edit-label strong{font-size:12px;color:#101828}.jfbc-edit-label strong em{font-style:normal;font-size:11px;color:#667085;font-weight:700}
.jfbc-edit-label small{font-size:11px;color:#667085;margin-top:2px}
.jfbc-edit-single-scroll .jfbc-number--wizard{width:190px;margin:0}
.jfbc-color-options--single{margin:0;justify-content:flex-start}
.jfbc-size-toggle{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;color:#344054;cursor:pointer}
.jfbc-size-toggle input{width:16px;height:16px;accent-color:#8bd000}
.jfbc-size-grid--single{margin-top:0;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.jfbc-size-grid--single.is-hidden{display:none}
.jfbc-size-unique{display:inline-flex;width:max-content;padding:7px 10px;border-radius:9px;background:#f2f4f7;color:#475467;font-size:11px;font-weight:800}
.jfbc-edit-block--tech{gap:7px}
.jfbc-tech-sheet--single{margin:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.jfbc-tech-sheet--single>div,.jfbc-tech-sheet--single>section{padding:8px;border-radius:9px}
.jfbc-tech-sheet--single>section{grid-column:span 2}
.jfbc-tech-sheet--single small{font-size:11px}.jfbc-tech-sheet--single strong{font-size:11px}.jfbc-tech-sheet--single p{font-size:11px;line-height:1.35}
.jfbc-edit-single-footer{display:flex;justify-content:flex-end;align-items:center;gap:10px}
.jfbc-edit-single-footer .jfbc-footer-summary{margin-right:auto}
.jfbc-edit-single-footer .jfbc-next{min-height:36px}

.jfbc-design-modal{width:min(960px,calc(100vw - 24px));height:min(620px,calc(100dvh - 24px));grid-template-columns:260px minmax(0,1fr)}
.jfbc-design-modal-panel{grid-template-rows:48px minmax(0,1fr) 54px}
.jfbc-design-modal-scroll{min-height:0;overflow-y:auto;padding:12px;background:#fbfcfe;display:grid;gap:10px;align-content:start}
.jfbc-design-modal-intro{display:flex;align-items:center;gap:10px;background:linear-gradient(135deg,#f5f3ff,#faf5ff);border:1px solid #ddd6fe;border-radius:14px;padding:10px 12px}
.jfbc-design-modal-intro>span{font-size:24px}.jfbc-design-modal-intro h2{font-size:15px;margin:0 0 2px;color:#101828}.jfbc-design-modal-intro p{font-size:11px;color:#667085;margin:0}
.jfbc-design-slots--modal{grid-template-columns:repeat(2,minmax(0,1fr))}
.jfbc-design-modal-security{display:flex;align-items:center;gap:7px;padding:8px;border:1px solid #abefc6;background:#ecfdf3;border-radius:10px;color:#067647}
.jfbc-design-modal-security>.jfbc-icon{width:17px;flex:0 0 auto}.jfbc-design-modal-security strong,.jfbc-design-modal-security small{display:block}.jfbc-design-modal-security strong{font-size:11px}.jfbc-design-modal-security small{font-size:11px;margin-top:1px}
.jfbc-design-modal-note{display:flex;align-items:flex-start;gap:7px;padding:8px 10px;background:#eff8ff;border:1px solid #b2ddff;border-radius:10px;color:#175cd3;font-size:11px;line-height:1.4}.jfbc-design-modal-note .jfbc-icon{width:15px;flex:0 0 auto}
.jfbc-design-migration-warning{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;background:#fffaeb;border:1px solid #fedf89;border-radius:12px;color:#93370d}.jfbc-design-migration-warning .jfbc-icon{width:17px;flex:0 0 auto}.jfbc-design-migration-warning strong,.jfbc-design-migration-warning small{display:block}.jfbc-design-migration-warning strong{font-size:12px}.jfbc-design-migration-warning small{font-size:11px;line-height:1.4;margin-top:2px}
.jfbc-design-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.jfbc-design-modal-footer>div{min-width:0}.jfbc-design-modal-footer small,.jfbc-design-modal-footer strong{display:block}.jfbc-design-modal-footer small{font-size:11px;color:#667085}.jfbc-design-modal-footer strong{font-size:11px;color:#6941c6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:520px}
.jfbc-design-reuse{margin-top:8px;padding-top:8px;border-top:1px solid #e4e7ec}.jfbc-design-reuse>span{display:block;margin-bottom:6px;color:#667085;font-size:11px;font-weight:800}.jfbc-design-reuse>div{display:grid;gap:6px}.jfbc-design-reuse button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:42px;padding:7px 9px;border:1px solid #d6bbfb;border-radius:10px;background:#f9f5ff;color:#53389e;text-align:left;cursor:pointer}.jfbc-design-reuse button:hover,.jfbc-design-reuse button:focus-visible{border-color:#7f56d9;background:#f4ebff;outline:2px solid #d6bbfb;outline-offset:1px}.jfbc-design-reuse button strong,.jfbc-design-reuse button small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jfbc-design-reuse button strong{font-size:11px}.jfbc-design-reuse button small{font-size:10px;color:#7f56d9}

@media(max-width:850px){
 .jfbc-item-modal--edit-single,.jfbc-design-modal{width:min(820px,calc(100vw - 16px));grid-template-columns:220px minmax(0,1fr)}
 .jfbc-size-grid--single{grid-template-columns:repeat(4,minmax(0,1fr))}
 .jfbc-tech-sheet--single{grid-template-columns:repeat(2,minmax(0,1fr))}.jfbc-tech-sheet--single>section{grid-column:1/-1}
 .jfbc-design-slots--modal{grid-template-columns:1fr}
}

/* 0.8.1 — acciones visibles y personalización con estados inequívocos. */
.jfbc-wizard-modal-panel>footer>.jfbc-next--blue,
.jfbc-edit-single-footer>.jfbc-next--blue{
 background:linear-gradient(135deg,#1d4ed8,#2563eb);
 border-color:#1d4ed8;
 color:#fff;
 min-width:180px;
 box-shadow:0 9px 20px rgba(37,99,235,.24)
}
.jfbc-position-finish>.jfbc-next--purple,
.jfbc-followup-actions>.jfbc-next--purple{
 background:linear-gradient(135deg,#6d28d9,#8b5cf6);
 border-color:#6d28d9;
 color:#fff;
 min-width:190px;
 box-shadow:0 9px 20px rgba(109,40,217,.24)
}
.jfbc-wizard-modal-panel>footer>.jfbc-next--blue:hover,
.jfbc-position-finish>.jfbc-next--purple:hover,
.jfbc-followup-actions>.jfbc-next--purple:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(37,39,217,.28)}
.jfbc-wizard-modal-panel>footer>.jfbc-next--blue:focus-visible,
.jfbc-position-finish>.jfbc-next--purple:focus-visible,
.jfbc-followup-actions>.jfbc-next--purple:focus-visible{outline:3px solid #c4b5fd;outline-offset:2px}

.jfbc-tech-family-grid--wizard{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:590px}
.jfbc-tech-family-grid--wizard .jfbc-tech-family{grid-template-columns:42px minmax(0,1fr) 22px;gap:10px;min-height:88px;padding:10px 11px;border-radius:15px;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.jfbc-tech-family-grid--wizard .jfbc-tech-family>span{width:42px;height:42px;border-radius:13px;align-self:center}
.jfbc-tech-family-grid--wizard .jfbc-tech-family>span .jfbc-icon{width:23px;height:23px}
.jfbc-tech-family-grid--wizard .jfbc-tech-family>div{min-width:0}
.jfbc-tech-family-grid--wizard .jfbc-tech-family strong{font-size:13px;line-height:1.2}
.jfbc-tech-family-grid--wizard .jfbc-tech-family small{font-size:11px;line-height:1.3}
.jfbc-tech-family-grid--wizard .jfbc-tech-family.is-active{border:2px solid #6d28d9;background:linear-gradient(135deg,#faf5ff,#f5f3ff);box-shadow:0 0 0 3px rgba(139,92,246,.12),0 12px 26px rgba(76,29,149,.12)}
.jfbc-tech-family-grid--wizard .jfbc-tech-family.is-active>span{background:#6d28d9;color:#fff}
.jfbc-tech-family-grid--wizard .jfbc-tech-family:focus-visible{outline:3px solid #c4b5fd;outline-offset:2px}

.jfbc-zone-grid{gap:10px}
.jfbc-zone-grid .jfbc-zone-card{position:relative;min-height:112px;border:1px solid #d5dce5;background:linear-gradient(180deg,#fff,#f8fafc);padding:10px 8px;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.jfbc-zone-grid .jfbc-zone-card:hover{transform:translateY(-2px);border-color:#8b5cf6;box-shadow:0 10px 24px rgba(76,29,149,.1)}
.jfbc-zone-grid .jfbc-zone-card:focus-visible{outline:3px solid #c4b5fd;outline-offset:2px}
.jfbc-zone-grid .jfbc-zone-card>span{width:43px;height:43px;border-radius:14px;background:#eef2ff;color:#4f46e5;display:grid;place-items:center;font-size:inherit}
.jfbc-zone-grid .jfbc-zone-card--detras>span{background:#e0f2fe;color:#0369a1}
.jfbc-zone-grid .jfbc-zone-card--mangas>span{background:#fef3c7;color:#b45309}
.jfbc-zone-grid .jfbc-zone-card--piernas>span{background:#dcfce7;color:#15803d}
.jfbc-zone-grid .jfbc-zone-card>span .jfbc-icon{width:25px;height:25px}
.jfbc-zone-grid .jfbc-zone-card strong{font-size:12px;color:#111827}
.jfbc-zone-grid .jfbc-zone-card em{display:inline-flex;align-items:center;gap:3px;margin-top:2px;padding:3px 6px;border-radius:999px;background:#6d28d9;color:#fff;font-size:9px;font-weight:900;font-style:normal}
.jfbc-zone-grid .jfbc-zone-card em .jfbc-icon{width:11px;height:11px}
.jfbc-zone-grid .jfbc-zone-card.is-used{border:2px solid #6d28d9;background:#faf5ff;box-shadow:0 0 0 3px rgba(139,92,246,.1)}

.jfbc-position-grid--wizard{gap:10px;max-width:540px}
.jfbc-position-grid--wizard .jfbc-position-card{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:10px;row-gap:2px;min-height:108px;padding:10px;border:1px solid #cfd8e3;border-radius:15px;background:#fff;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.jfbc-position-grid--wizard .jfbc-position-card:hover{transform:translateY(-2px);border-color:#8b5cf6;box-shadow:0 10px 24px rgba(76,29,149,.1)}
.jfbc-position-grid--wizard .jfbc-position-card:focus-visible{outline:3px solid #c4b5fd;outline-offset:2px}
.jfbc-position-grid--wizard .jfbc-position-card>span{grid-row:1/3;width:42px;height:42px;border-radius:13px;background:#f1f5f9;color:#334155}
.jfbc-position-grid--wizard .jfbc-position-card>span .jfbc-icon{width:24px;height:24px}
.jfbc-position-grid--wizard .jfbc-position-card strong{align-self:end;font-size:13px;line-height:1.15;color:#111827}
.jfbc-position-grid--wizard .jfbc-position-card small{align-self:start;font-size:10px;color:#64748b}
.jfbc-position-grid--wizard .jfbc-position-card>i{position:static;grid-column:1/-1;justify-self:stretch;width:auto;height:25px;margin-top:6px;padding:0 8px;border:1px solid #d5dce5;border-radius:8px;background:#f8fafc;color:#475569;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:10px;font-style:normal}
.jfbc-position-grid--wizard .jfbc-position-card>i .jfbc-icon{width:12px;height:12px}
.jfbc-position-grid--wizard .jfbc-position-card>i b{font-size:10px;font-weight:850}
.jfbc-position-grid--wizard .jfbc-position-card.is-active{border:2px solid #6d28d9;background:linear-gradient(135deg,#faf5ff,#f3e8ff);box-shadow:0 0 0 3px rgba(139,92,246,.15),0 12px 26px rgba(76,29,149,.13)}
.jfbc-position-grid--wizard .jfbc-position-card.is-active>span{background:#6d28d9;color:#fff}
.jfbc-position-grid--wizard .jfbc-position-card.is-active>i{border-color:#6d28d9;background:#6d28d9;color:#fff}
.jfbc-position-grid--wizard .jfbc-position-card.is-active strong{color:#5b21b6}
.jfbc-position-finish>button:first-child{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#334155}
.jfbc-position-finish>button:first-child .jfbc-icon{width:15px;height:15px}

.jfbc-followup-question{max-width:510px;padding:12px}
.jfbc-followup-icon{width:62px;height:62px;margin:0 auto 8px;border-radius:20px;background:linear-gradient(135deg,#ede9fe,#dbeafe);color:#6d28d9;display:grid;place-items:center;box-shadow:0 12px 30px rgba(109,40,217,.14)}
.jfbc-followup-icon .jfbc-icon{width:33px;height:33px}
.jfbc-followup-question>small{display:block;color:#15803d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.jfbc-followup-question h2{margin-top:7px;line-height:1.15}
.jfbc-followup-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:10px;max-width:440px;margin:16px auto 0}
.jfbc-followup-actions>button{min-height:44px;border:1px solid #d5dce5;border-radius:12px;background:#fff;color:#334155;font:inherit;font-size:11px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.jfbc-followup-actions>.jfbc-next--purple{color:#fff}

@media(max-width:480px){
 .jfbc-tech-family-grid--wizard{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .jfbc-tech-family-grid--wizard .jfbc-tech-family{grid-template-columns:34px minmax(0,1fr);min-height:72px;padding:7px;gap:7px}
 .jfbc-tech-family-grid--wizard .jfbc-tech-family>span{width:34px;height:34px}
 .jfbc-tech-family-grid--wizard .jfbc-tech-family>i{display:none}
 .jfbc-tech-family-grid--wizard .jfbc-tech-family strong{font-size:11px}
 .jfbc-tech-family-grid--wizard .jfbc-tech-family small,.jfbc-tech-family-grid--wizard .jfbc-tech-family b{font-size:9px}
 .jfbc-zone-grid .jfbc-zone-card{min-height:82px;padding:6px}
 .jfbc-zone-grid .jfbc-zone-card>span{width:34px;height:34px;border-radius:11px}
 .jfbc-zone-grid .jfbc-zone-card>span .jfbc-icon{width:20px;height:20px}
 .jfbc-position-grid--wizard .jfbc-position-card{grid-template-columns:34px minmax(0,1fr);min-height:92px;padding:7px;column-gap:7px}
 .jfbc-position-grid--wizard .jfbc-position-card>span{width:34px;height:34px}
 .jfbc-position-grid--wizard .jfbc-position-card>span .jfbc-icon{width:20px;height:20px}
 .jfbc-position-grid--wizard .jfbc-position-card strong{font-size:11px}
 .jfbc-position-grid--wizard .jfbc-position-card>i,.jfbc-position-grid--wizard .jfbc-position-card>i b{font-size:9px}
 .jfbc-position-finish,.jfbc-followup-actions{display:grid;grid-template-columns:1fr;gap:6px}
 .jfbc-position-finish>.jfbc-next--purple,.jfbc-followup-actions>.jfbc-next--purple{min-width:0}
 .jfbc-edit-single-footer>.jfbc-next--blue{min-width:150px}
}
@media(max-width:620px){
 .jfbc-item-modal--edit-single,.jfbc-design-modal{left:0;top:0;transform:none;width:100vw;height:100dvh;border-radius:0;grid-template-columns:1fr;grid-template-rows:105px minmax(0,1fr)}
 .jfbc-edit-single-panel,.jfbc-design-modal-panel{grid-template-rows:42px minmax(0,1fr) 50px}
 .jfbc-edit-single-scroll,.jfbc-design-modal-scroll{padding:8px;gap:7px}
 .jfbc-edit-block{padding:8px;gap:7px}.jfbc-edit-block--qty{grid-template-columns:1fr}.jfbc-edit-single-scroll .jfbc-number--wizard{width:100%}
 .jfbc-size-grid--single{grid-template-columns:repeat(3,minmax(0,1fr))}
 .jfbc-tech-sheet--single{grid-template-columns:repeat(2,minmax(0,1fr))}.jfbc-tech-sheet--single>section{grid-column:1/-1}
 .jfbc-selected-card--simple .jfbc-selected-actions.has-design-action{grid-template-columns:1fr}.jfbc-action-design{grid-column:auto}
 .jfbc-design-modal-footer strong{max-width:220px}
}

/* =========================================================
   JFBC 0.5.7 — mejoras móviles de navegación y resumen
   Solo afecta a móvil/tablet estrecha; escritorio se conserva.
   ========================================================= */
@media (max-width:760px){
  /* Navegación entre prendas: botones grandes y táctiles. */
  .jfbc-selected-compact .jfbc-page-nav,
  .jfbc-review-layout--compact .jfbc-page-nav{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    gap:10px;
    align-items:center;
    margin:14px 0 4px;
  }
  .jfbc-selected-compact .jfbc-page-nav button,
  .jfbc-review-layout--compact .jfbc-page-nav button{
    width:100%;
    min-height:56px;
    padding:13px 14px;
    border-radius:16px;
    font-size:14px;
    font-weight:900;
    justify-content:center;
    box-shadow:0 5px 14px rgba(15,23,42,.06);
  }
  .jfbc-selected-compact .jfbc-page-nav button:not(:disabled):last-child,
  .jfbc-review-layout--compact .jfbc-page-nav button:not(:disabled):last-child{
    background:#111827;
    border-color:#111827;
    color:#fff;
  }
  .jfbc-selected-compact .jfbc-page-nav span,
  .jfbc-review-layout--compact .jfbc-page-nav span{
    min-width:42px;
    text-align:center;
    font-size:12px;
    font-weight:900;
  }
  .jfbc-selected-list--grid,
  .jfbc-review-list--paged{
    touch-action:pan-y;
  }
  .jfbc-selected-compact .jfbc-page-nav::after{
    content:"También puedes deslizar la prenda con el dedo";
    grid-column:1/-1;
    text-align:center;
    color:#7a8494;
    font-size:12px;
    font-weight:700;
    margin-top:-2px;
  }

  /* Resumen móvil en cuadrícula 2 × 2, no una tarjeta larga por página. */
  .jfbc-review-layout--compact{
    display:block;
    min-height:0;
  }
  .jfbc-review-list--paged{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .jfbc-review-item--v2{
    display:flex;
    flex-direction:column;
    min-width:0;
    padding:9px;
    gap:8px;
    border-radius:18px;
  }
  .jfbc-review-item--v2 .jfbc-review-item__visual{
    width:100%;
    height:120px;
    min-height:120px;
    border-radius:14px;
  }
  .jfbc-review-item--v2 .jfbc-review-item__title{
    display:block;
  }
  .jfbc-review-item--v2 .jfbc-review-item__title>div:first-child span{
    font-size:11px;
    line-height:1.15;
  }
  .jfbc-review-item--v2 .jfbc-review-item__title h3{
    font-size:14px;
    line-height:1.12;
    margin:3px 0 5px;
  }
  .jfbc-review-item--v2 .jfbc-review-item__title>div:last-child{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px;
    margin-top:6px;
  }
  .jfbc-review-item--v2 .jfbc-review-item__title button{
    min-width:0;
    height:34px;
    padding:5px 6px;
    justify-content:center;
    font-size:11px;
  }
  .jfbc-review-meta{
    gap:4px;
    margin:6px 0;
  }
  .jfbc-review-meta span{
    font-size:11px;
    padding:5px 6px;
  }
  .jfbc-review-customization{
    display:block;
    padding:9px;
    margin:6px 0;
    border-radius:13px;
  }
  .jfbc-review-customization__icon{
    width:30px;
    height:30px;
    float:left;
    margin:0 7px 4px 0;
  }
  .jfbc-review-customization small{font-size:11px}
  .jfbc-review-customization strong{font-size:11px}
  .jfbc-review-customization p{clear:both;gap:3px;margin-top:5px}
  .jfbc-review-customization p span{font-size:11px;padding:3px 5px}
  .jfbc-review-customization>b{display:block;clear:both;font-size:12px;margin-top:6px}
  .jfbc-review-designs{
    padding:8px;
    border-radius:12px;
    margin:6px 0;
  }
  .jfbc-review-designs small{font-size:11px}
  .jfbc-review-designs strong{font-size:11px}
  .jfbc-review-designs span{font-size:11px;line-height:1.2}
  .jfbc-review-prices{
    grid-template-columns:1fr 1fr;
    border-radius:12px;
  }
  .jfbc-review-prices>div{
    padding:7px;
    border-right:1px solid #e6eaf0;
    border-bottom:1px solid #e6eaf0;
  }
  .jfbc-review-prices>div:nth-child(2){border-right:0}
  .jfbc-review-prices>div:last-child{
    grid-column:1/-1;
    border-right:0;
    border-bottom:0;
  }
  .jfbc-review-prices small{font-size:11px}
  .jfbc-review-prices strong{font-size:12px}
  .jfbc-review-prices .is-total strong{font-size:14px}
  .jfbc-review-total--v2{
    position:static;
    margin-top:14px;
    border-radius:20px;
  }
}
@media (max-width:390px){
  .jfbc-review-list--paged{gap:7px}
  .jfbc-review-item--v2{padding:7px}
  .jfbc-review-item--v2 .jfbc-review-item__visual{height:102px;min-height:102px}
  .jfbc-review-item--v2 .jfbc-review-item__title h3{font-size:13px}
  .jfbc-review-item--v2 .jfbc-review-item__title button{font-size:0}
  .jfbc-review-item--v2 .jfbc-review-item__title button .jfbc-icon{width:16px;height:16px}
}

/* 0.6.0 stability and accessibility */
.jfbc-size-allocation{margin-top:10px;padding:9px 11px;border-radius:10px;background:#f3f6fa;color:#526173;font-size:13px;line-height:1.35}
.jfbc-size-allocation.is-complete{background:#ecfdf3;color:#166534}
.jfbc-size-allocation.is-error{background:#fff1f2;color:#9f1239}
.jfbc-price-disclaimer{display:flex;gap:8px;align-items:flex-start;margin:14px 0 4px;padding:11px 12px;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:rgba(255,255,255,.07);font-size:12px;line-height:1.4;color:#d9e2ef}
.jfbc-price-disclaimer .jfbc-icon{width:17px;height:17px;flex:0 0 17px;margin-top:1px}
.jfbc-choice-product.is-selected .jfbc-product-added{background:#b7ff00;color:#101827;border-color:#95d800}
@media(max-width:760px){
  .jfbc-app{font-size:16px}
  .jfbc-app button,.jfbc-app input,.jfbc-app select,.jfbc-app textarea{font-size:16px}
  .jfbc-app p,.jfbc-app label,.jfbc-app em{font-size:13px;line-height:1.35}
  .jfbc-app small{font-size:13px;line-height:1.35}
  .jfbc-app .jfbc-kicker{font-size:12px;line-height:1.2}
  .jfbc-wizard-hero p{white-space:normal;overflow:visible;text-overflow:clip;font-size:13px;line-height:1.3}
  .jfbc-one-choice{min-height:64px}
  .jfbc-one-choice strong{font-size:16px;line-height:1.2}
  .jfbc-page-nav button{min-height:56px;font-size:16px;padding-inline:18px}
  .jfbc-selected-actions button{min-height:56px}
  .jfbc-selected-actions strong{font-size:15px}
  .jfbc-selected-actions small{font-size:12px}
  .jfbc-price-disclaimer{font-size:13px}
}

/* =========================================================
   JFBC 0.6.x — lenguaje, compacidad y legibilidad
   ========================================================= */
.jfbc-wizard-main{margin-top:14px}
.jfbc-wizard-progress{margin-bottom:12px}
.jfbc-wizard-hero{min-height:118px;padding:18px 24px;border-radius:22px;align-items:center}
.jfbc-wizard-hero h1{font-size:clamp(28px,3.2vw,42px);margin:4px 0 6px;line-height:1.02}
.jfbc-wizard-hero p{font-size:15px;line-height:1.35}
.jfbc-wizard-bubble{width:78px;height:78px;border-radius:24px}
.jfbc-wizard-bubble strong{font-size:28px}
.jfbc-product-selected-colors{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:7px 0 2px}
.jfbc-product-selected-colors small{font-size:12px;color:#667085;margin-right:2px}
.jfbc-product-selected-colors span{padding:4px 7px;border-radius:999px;background:#ecfdf3;color:#166534;font-size:12px;font-weight:800}
.jfbc-price-disclaimer{background:#fff7d6;border-color:#f5d66c;color:#3d3210;font-size:13px;font-weight:700}
.jfbc-review-total--v2 .jfbc-price-disclaimer .jfbc-icon{color:#9a6700}

@media(max-width:820px){
  .jfbc-wizard-main{margin-top:10px}
  .jfbc-wizard-progress{margin-bottom:10px}
  .jfbc-wizard-hero{min-height:96px;padding:13px 15px;border-radius:18px}
  .jfbc-wizard-hero h1{font-size:27px;margin:2px 0 4px}
  .jfbc-wizard-hero p{font-size:14px;line-height:1.3}
  .jfbc-one-choice-grid--sectors .jfbc-one-choice strong,
  .jfbc-one-choice-grid--technical .jfbc-one-choice strong,
  .jfbc-one-choice-grid--garment .jfbc-one-choice strong{font-size:15px;line-height:1.2}
  .jfbc-one-choice-grid--sectors .jfbc-one-choice,
  .jfbc-one-choice-grid--technical .jfbc-one-choice,
  .jfbc-one-choice-grid--garment .jfbc-one-choice{min-height:58px}
}
@media(max-width:700px){
  .jfbc-page-cards{grid-template-columns:1fr;min-height:0;gap:10px}
  .jfbc-page-cards .jfbc-choice-product__visual{height:145px;min-height:145px}
  .jfbc-page-cards .jfbc-choice-product{grid-template-columns:118px minmax(0,1fr)}
  .jfbc-page-cards .jfbc-choice-product__body{padding:11px}
  .jfbc-page-cards .jfbc-choice-product__body h3{font-size:16px}
  .jfbc-choice-product__footer button,.jfbc-choice-pack__footer button{min-height:46px;font-size:14px}
  .jfbc-garment-filter-head strong{font-size:14px}
  .jfbc-garment-filter-head small{font-size:13px}
  .jfbc-garment-filterbar button{min-height:46px}
  .jfbc-garment-filterbar button strong{font-size:13px}
  .jfbc-product__meta{font-size:13px}
  .jfbc-choice-product__body>p{font-size:13px}
  .jfbc-choice-product__footer small,.jfbc-choice-product__footer em{font-size:12px}
  .jfbc-mini-warning{font-size:13px;line-height:1.35}
  .jfbc-review-item--v2 .jfbc-review-item__title h3{font-size:15px}
  .jfbc-review-meta span,.jfbc-review-customization strong,.jfbc-review-customization p span,.jfbc-review-designs span{font-size:12px}
  .jfbc-review-customization small,.jfbc-review-designs small,.jfbc-review-designs strong,.jfbc-review-prices small{font-size:12px}
  .jfbc-review-prices strong{font-size:13px}
  .jfbc-price-disclaimer{font-size:13px;line-height:1.4}
}
@media(max-width:560px){
  .jfbc-progress-step>span{width:44px;height:44px}
  .jfbc-progress-step .jfbc-icon{width:20px;height:20px}
  .jfbc-wizard-hero{min-height:88px;padding:11px 13px}
  .jfbc-wizard-hero h1{font-size:24px}
  .jfbc-wizard-hero p{font-size:13px}
  .jfbc-page-cards .jfbc-choice-product{grid-template-columns:106px minmax(0,1fr)}
  .jfbc-page-cards .jfbc-choice-product__visual{height:138px;min-height:138px}
}
.jfbc-lost-password{display:block;text-align:center;margin-top:10px;color:#4f46e5;font-size:12px;font-weight:750;text-decoration:none}
.jfbc-lost-password:hover{text-decoration:underline}

/* 0.8.2 — modales completos, estados encajados y precio pendiente explícito. */
.jfbc-wizard-modal-question{overflow-y:auto;overflow-x:hidden;align-items:flex-start;padding:16px 18px;scrollbar-gutter:stable}
.jfbc-wizard-modal-question>.jfbc-modal-question{margin:auto}
.jfbc-tech-family-grid--wizard,.jfbc-zone-grid,.jfbc-position-grid--wizard{box-sizing:border-box;padding:5px}
.jfbc-tech-family-grid--wizard .jfbc-tech-family.is-active,
.jfbc-position-grid--wizard .jfbc-position-card.is-active,
.jfbc-zone-grid .jfbc-zone-card.is-used{transform:none;box-shadow:inset 0 0 0 1px #6d28d9,0 8px 20px rgba(76,29,149,.1)}
.jfbc-tech-family-grid--wizard .jfbc-tech-family:hover,
.jfbc-position-grid--wizard .jfbc-position-card:hover,
.jfbc-zone-grid .jfbc-zone-card:hover{transform:none}
.jfbc-design-modal-footer>.jfbc-next--design{min-width:185px;min-height:40px;border:1px solid #166534;background:linear-gradient(135deg,#15803d,#16a34a);color:#fff;border-radius:11px;box-shadow:0 9px 20px rgba(22,163,74,.22);display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:900}
.jfbc-design-modal-footer>.jfbc-next--design:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(22,163,74,.28)}
.jfbc-design-modal-footer>.jfbc-next--design:focus-visible{outline:3px solid #86efac;outline-offset:2px}
.jfbc-design-modal-footer>.jfbc-next--design .jfbc-icon{width:16px;height:16px}
.jfbc-review-total--v2.has-manual-review .is-purple strong{color:#fcd34d}
.jfbc-review-total--v2.has-manual-review .is-grand strong{font-size:24px;white-space:nowrap}
.jfbc-review-total .jfbc-manual-price-note{display:flex;align-items:flex-start;gap:8px;margin:8px 0;padding:10px;border:1px solid #fbbf24;border-radius:11px;background:#fffbeb;color:#78350f}
.jfbc-manual-price-note>.jfbc-icon{width:17px;height:17px;flex:0 0 17px;margin-top:1px}
.jfbc-manual-price-note>span{min-width:0;color:#78350f}
.jfbc-manual-price-note>span strong,.jfbc-manual-price-note>span small{display:block;color:#78350f}
.jfbc-manual-price-note>span strong{font-size:11px}.jfbc-manual-price-note>span small{font-size:10px;line-height:1.35;margin-top:2px}

@media(min-width:761px){
 .jfbc-item-modal--wizard-personal{width:min(1080px,calc(100vw - 24px));height:min(680px,calc(100dvh - 24px));grid-template-columns:270px minmax(0,1fr)}
 .jfbc-design-modal{width:min(1200px,calc(100vw - 24px));height:min(720px,calc(100dvh - 24px));grid-template-columns:280px minmax(0,1fr)}
 .jfbc-item-modal--wizard-personal .jfbc-wizard-modal-gallery .jfbc-gallery-main,.jfbc-design-modal .jfbc-wizard-modal-gallery .jfbc-gallery-main{height:280px;min-height:280px}
 .jfbc-item-modal--wizard-personal .jfbc-modal-question{max-width:650px}
 .jfbc-item-modal--wizard-personal .jfbc-tech-family-grid--wizard{max-width:630px}
}
@media(max-height:760px) and (min-width:761px){
 .jfbc-item-modal--wizard-personal,.jfbc-design-modal{height:calc(100dvh - 16px)}
 .jfbc-item-modal--wizard-personal .jfbc-wizard-modal-gallery .jfbc-gallery-main,.jfbc-design-modal .jfbc-wizard-modal-gallery .jfbc-gallery-main{height:190px;min-height:190px}
 .jfbc-tech-family-grid--wizard .jfbc-tech-family{min-height:76px}
}
@media(max-width:760px){
 .jfbc-wizard-modal-question{padding:10px 8px}
 .jfbc-tech-family-grid--wizard,.jfbc-zone-grid,.jfbc-position-grid--wizard{padding:3px}
 .jfbc-design-modal-footer>.jfbc-next--design{min-width:155px}
}
@media(max-width:420px){
 .jfbc-design-modal-footer>div{max-width:48%}
 .jfbc-design-modal-footer>.jfbc-next--design{min-width:145px;font-size:11px;padding:7px 9px}
}

/* 0.8.3 — acciones del resumen contenidas dentro de cada tarjeta. */
@media(min-width:761px){
 .jfbc-review-item--v2 .jfbc-review-item__main{min-width:0;overflow:hidden}
 .jfbc-review-item--v2 .jfbc-review-item__title{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%;min-width:0}
 .jfbc-review-item--v2 .jfbc-review-item__title>div:first-child{min-width:0}
 .jfbc-review-item--v2 .jfbc-review-item__title>div:last-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 38px;gap:5px;width:100%;min-width:0}
 .jfbc-review-item--v2 .jfbc-review-item__title button{box-sizing:border-box;min-width:0;width:100%;height:38px;padding:0 6px;justify-content:center;white-space:nowrap;overflow:hidden}
 .jfbc-review-item--v2 .jfbc-review-item__title button.is-danger{grid-column:4;width:38px;padding:0}
}
@media(min-width:761px) and (max-width:1280px){
 .jfbc-review-list--paged{grid-template-columns:1fr}
}

/* 0.8.5 — estado de conexión y recuperación local. */
.jfbc-network-status{display:flex;align-items:center;gap:9px;margin:0 0 16px;border:1px solid #f5c36b;border-radius:14px;background:#fff7e6;color:#7a4300;padding:11px 14px;font-size:13px;font-weight:750;line-height:1.4}
.jfbc-network-status[hidden]{display:none}
.jfbc-network-status .jfbc-icon{width:18px;height:18px;flex:0 0 auto}
@media(max-width:560px){.jfbc-network-status{align-items:flex-start;font-size:12px;margin-bottom:12px;padding:10px 12px}}
