.rpb{--rpb-ink:#101418;--rpb-muted:#717b87;--rpb-line:#e6e9ee;--rpb-red:#e31d12;--rpb-red-dark:#be140b;--rpb-soft:#f7f8fa;max-width:1240px;margin:38px auto 70px;font-family:inherit;color:var(--rpb-ink)}
.rpb *{box-sizing:border-box}.rpb__hero{margin:0 0 26px;padding:31px 34px;border:1px solid var(--rpb-line);border-radius:18px;background:radial-gradient(circle at top right,#ffe9e6 0,transparent 32%),linear-gradient(135deg,#12161b 0,#202730 100%);color:#fff;overflow:hidden}.rpb__hero h1{margin:8px 0;font-size:clamp(30px,4vw,46px);line-height:1.05;color:#fff}.rpb__hero p{max-width:620px;margin:0;color:#d8e0e8;font-size:16px}.rpb__eyebrow{display:inline-flex;letter-spacing:.11em;font-size:11px;font-weight:800;color:var(--rpb-red)}.rpb__layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.rpb__steps{display:grid;gap:13px}.rpb-step{border:1px solid var(--rpb-line);border-radius:14px;background:#fff;transition:box-shadow .18s,border-color .18s}.rpb-step:hover{border-color:#c9d0d9;box-shadow:0 10px 30px rgba(15,25,35,.05)}.rpb-step.is-selected{border-color:#ffd0cc}.rpb-step__top{display:flex;align-items:center;justify-content:space-between;padding:15px 18px 0}.rpb-step__meta{display:flex;align-items:center;gap:10px}.rpb-step__number{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f3f5f7;color:#6b7581;font-size:10px;font-weight:800}.rpb-step h2{font-size:15px;margin:0;color:var(--rpb-ink)}.rpb-step h2 em{color:var(--rpb-red);font-style:normal;margin-left:3px}.rpb-step__status{font-size:12px;font-weight:700;color:var(--rpb-muted)}.rpb-step.is-selected .rpb-step__status{color:#13935a}.rpb-step__body{min-height:104px;display:flex;align-items:center;gap:15px;padding:13px 16px 16px}.rpb-step__icon{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;border:1px solid #e3e7eb;border-radius:12px;background:linear-gradient(145deg,#fff,#f4f6f8);color:#25303b}.rpb-step__icon svg{width:33px;height:33px}.rpb-step__product{min-width:0;display:grid;gap:4px;flex:1}.rpb-step__product strong{font-size:14px;line-height:1.35}.rpb-step__product span{font-size:12px;color:var(--rpb-muted);line-height:1.45}.rpb-step__product.is-product{grid-template-columns:52px 1fr;align-items:center}.rpb-step__product.is-product img{width:52px;height:52px;border:1px solid var(--rpb-line);border-radius:8px;object-fit:contain}.rpb-step__product-price{font-size:12px;color:var(--rpb-red);font-weight:800}.rpb-button{appearance:none;border:0;border-radius:8px;padding:12px 16px;font:inherit;font-size:13px;font-weight:800;line-height:1;cursor:pointer;transition:transform .15s,background .15s,color .15s,border-color .15s}.rpb-button:hover{transform:translateY(-1px)}.rpb-button--outline{border:1px solid var(--rpb-ink);background:#fff;color:var(--rpb-ink);min-width:100px}.rpb-button--outline:hover{border-color:var(--rpb-red);color:var(--rpb-red)}.rpb-button--primary{width:100%;padding:15px;background:var(--rpb-red);color:#fff}.rpb-button--primary:hover{background:var(--rpb-red-dark)}.rpb-summary{position:sticky;top:20px;border:1px solid var(--rpb-line);border-radius:14px;background:#fff;box-shadow:0 12px 32px rgba(22,31,43,.05);overflow:hidden}.rpb-summary__head{display:flex;justify-content:space-between;align-items:center;padding:17px 17px 12px;font-size:14px;font-weight:800}.rpb-clear-link{border:0;background:transparent;color:var(--rpb-red);font:inherit;font-size:12px;font-weight:800;cursor:pointer}.rpb-summary__items{display:grid;gap:9px;max-height:290px;padding:3px 17px 14px;overflow:auto}.rpb-summary__empty{margin:10px 0;color:var(--rpb-muted);font-size:12px;line-height:1.5}.rpb-summary__item{display:grid;grid-template-columns:35px 1fr auto;gap:8px;align-items:center}.rpb-summary__item img{width:35px;height:35px;object-fit:contain;border:1px solid var(--rpb-line);border-radius:7px}.rpb-summary__item strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.rpb-summary__item span{display:block;margin-top:2px;color:var(--rpb-red);font-size:11px;font-weight:800}.rpb-summary__item button{border:0;background:transparent;color:#9aa3ad;font-size:19px;cursor:pointer}.rpb-summary__total{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--rpb-line);padding:16px 17px;font-size:14px;font-weight:800}.rpb-summary__total strong{font-size:17px;color:var(--rpb-red)}.rpb-summary>.rpb-button{width:calc(100% - 34px);margin:0 17px 14px}.rpb-summary__tools{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 17px 17px}.rpb-tool{padding:9px;border:1px solid var(--rpb-line);border-radius:7px;background:#fff;color:#38434e;font:inherit;font-size:11px;font-weight:800;cursor:pointer}.rpb-tool:hover{border-color:var(--rpb-red);color:var(--rpb-red)}.rpb-summary__note{padding:0 17px 16px;margin:0;color:var(--rpb-muted);font-size:10px;line-height:1.45}.rpb-modal{position:fixed;z-index:99999;inset:0;display:none;place-items:center;padding:20px}.rpb-modal.is-open{display:grid}.rpb-modal__backdrop{position:absolute;inset:0;background:rgba(9,13,18,.62);backdrop-filter:blur(3px)}.rpb-modal__dialog{position:relative;width:min(980px,100%);max-height:min(82vh,820px);display:flex;flex-direction:column;border-radius:18px;background:#fff;box-shadow:0 25px 70px rgba(0,0,0,.28);overflow:hidden}.rpb-modal__header{display:flex;justify-content:space-between;align-items:center;padding:21px 24px 14px}.rpb-modal__header h2{margin:4px 0 0;font-size:22px}.rpb-modal__close{width:35px;height:35px;border:1px solid var(--rpb-line);border-radius:50%;background:#fff;font-size:24px;line-height:1;cursor:pointer}.rpb-modal__search-wrap{padding:0 24px 16px}.rpb-modal__search{width:100%;padding:12px 14px;border:1px solid #dfe4e9;border-radius:9px;outline:none;font:inherit}.rpb-modal__search:focus{border-color:var(--rpb-red);box-shadow:0 0 0 3px rgba(227,29,18,.1)}.rpb-modal__content{min-height:180px;padding:4px 24px 22px;overflow:auto}.rpb-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.rpb-product{display:flex;flex-direction:column;min-height:254px;border:1px solid var(--rpb-line);border-radius:11px;padding:11px;background:#fff}.rpb-product img{width:100%;height:112px;object-fit:contain;margin-bottom:10px}.rpb-product h3{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin:0 0 6px;font-size:12px;line-height:1.45}.rpb-product__price{margin-top:auto;color:var(--rpb-red);font-size:13px;font-weight:800}.rpb-product__actions{display:flex;gap:6px;margin-top:10px}.rpb-product__actions a,.rpb-product__actions button{display:grid;place-items:center;min-height:32px;flex:1;border-radius:6px;font:inherit;font-size:11px;font-weight:800;text-decoration:none;cursor:pointer}.rpb-product__actions a{border:1px solid var(--rpb-line);color:#59636e}.rpb-product__actions button{border:0;background:var(--rpb-ink);color:#fff}.rpb-product__actions button:hover{background:var(--rpb-red)}.rpb-modal__more{align-self:center;margin:0 0 22px}.rpb-modal__message{padding:35px 10px;text-align:center;color:var(--rpb-muted);font-size:14px}.rpb-toast{position:fixed;z-index:100000;right:20px;bottom:20px;max-width:360px;padding:13px 16px;border-radius:9px;background:#111820;color:#fff;box-shadow:0 15px 35px rgba(0,0,0,.2);font-size:13px;font-weight:700;transform:translateY(20px);opacity:0;pointer-events:none;transition:.2s}.rpb-toast.is-show{transform:translateY(0);opacity:1}.rpb-toast.is-error{background:#a71b12}@media(max-width:900px){.rpb__layout{grid-template-columns:1fr}.rpb-summary{position:relative;top:0}.rpb-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.rpb{margin:20px auto 40px}.rpb__hero{padding:25px 20px;border-radius:12px}.rpb-step__top{padding:13px 13px 0}.rpb-step__body{min-height:90px;gap:10px;padding:11px 13px 13px}.rpb-step__icon{flex-basis:48px;width:48px;height:48px}.rpb-step__icon svg{width:26px}.rpb-step__product span{display:none}.rpb-button--outline{min-width:76px;padding:10px 9px}.rpb-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rpb-modal{padding:10px}.rpb-modal__header,.rpb-modal__search-wrap,.rpb-modal__content{padding-left:16px;padding-right:16px}.rpb-modal__dialog{max-height:92vh;border-radius:12px}.rpb-summary__tools{grid-template-columns:1fr}}@media print{body *{visibility:hidden}.rpb,.rpb *{visibility:visible}.rpb{position:absolute;inset:0;max-width:none;margin:0}.rpb__hero{color:#111;background:#fff;border-color:#ddd}.rpb__hero h1{color:#111}.rpb__hero p,.rpb__eyebrow,.rpb-step__status,.rpb-step__product span,.rpb-button,.rpb-summary__tools,.rpb-clear-link,.rpb-summary__note{display:none!important}.rpb__layout{grid-template-columns:1fr 330px}.rpb-step{break-inside:avoid}.rpb-summary{position:static;box-shadow:none}.rpb-modal,.rpb-toast{display:none!important}}
.rpb-step__icon img{width:100%;height:100%;padding:7px;object-fit:contain}.rpb-step__product-details{min-width:0}.rpb-step__product-details strong{display:block}.rpb-step__product.is-product .rpb-step__product-price{display:block;margin-top:6px;color:var(--rpb-red);font-size:13px;font-weight:900;line-height:1.2}
.rpb-modal__pagination{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;padding:0 24px 22px}.rpb-page-button{min-width:34px;height:34px;padding:0 10px;border:1px solid var(--rpb-line);border-radius:7px;background:#fff;color:var(--rpb-ink);font:inherit;font-size:12px;font-weight:800;cursor:pointer;transition:border-color .15s,background .15s,color .15s}.rpb-page-button:hover:not(:disabled){border-color:var(--rpb-red);color:var(--rpb-red)}.rpb-page-button.is-current{border-color:var(--rpb-red);background:var(--rpb-red);color:#fff}.rpb-page-button:disabled{opacity:.42;cursor:not-allowed}.rpb-page-gap{padding:0 2px;color:var(--rpb-muted);font-weight:800}
.rpb-loader{position:fixed;z-index:100001;inset:0;display:grid;place-items:center;background:rgba(255,255,255,.98);opacity:1;visibility:visible;transition:opacity .32s ease,visibility .32s ease}.rpb-loader.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
/* Safety net: if the builder script is blocked or delayed (e.g. "delay JS" optimisation), the loader still disappears. */
.rpb-loader{animation:rpb-loader-out .3s ease 6s forwards}@keyframes rpb-loader-out{to{opacity:0;visibility:hidden;pointer-events:none}}
.rpb-loader__content{display:grid;justify-items:center;gap:16px;color:var(--rpb-ink);font-size:14px;font-weight:900;letter-spacing:.02em}.rpb-loader__spinner{width:52px;height:52px;border:4px solid #edf0f3;border-top-color:var(--rpb-red);border-right-color:var(--rpb-red);border-radius:50%;animation:rpb-spin .72s linear infinite;box-shadow:0 6px 18px rgba(227,29,18,.14)}@keyframes rpb-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.rpb-loader{transition:none}.rpb-loader__spinner{animation:none}}
