/* BRB Configurator rapido */
.r-wrap { max-width: 1000px; margin: 0 auto 40px; scroll-margin-top: 90px; }
.r-intro { text-align: center; margin: 0 auto 22px; max-width: 720px; }
.r-intro .r-eyebrow { display: block; margin-bottom: 8px; }
.r-intro h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 0 0 10px; color: var(--ink, #f3f4e9); }
.r-intro h2 em { font-style: normal; color: var(--orange, #ff6900); }
.r-intro p { margin: 0; color: var(--muted, #b3bba4); font-size: 15px; line-height: 1.6; }
#rapidoApp { background: #10170d; border: 1px solid #47543a; border-radius: 18px; color: var(--ink, #f3f4e9); overflow: hidden; scroll-margin-top: 90px; }
.r-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-bottom: 1px solid #2c3624; }
.r-back { background: none; border: 0; color: var(--orange, #ff6900); font: inherit; font-weight: 600; padding: 8px 0; cursor: pointer; }
.r-steps { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.r-steps li { display: flex; align-items: center; gap: 6px; color: #7d876f; font-size: 12px; }
.r-steps li + li::before { content: ''; width: 14px; height: 1px; background: #3b4631; }
.r-steps span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #4b5a3d; font-size: 11px; font-weight: 700; }
.r-steps em { font-style: normal; }
.r-steps .now { color: var(--ink, #f3f4e9); }
.r-steps .now span { background: var(--orange, #ff6900); border-color: var(--orange, #ff6900); color: #11170f; }
.r-steps .done span { border-color: var(--orange, #ff6900); color: var(--orange, #ff6900); }
.r-body { padding: 28px 24px 30px; }
.r-body h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 6px; outline: none; }
.r-sub { color: var(--muted, #b3bba4); margin: 0 0 22px; font-size: 15px; }
.r-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange, #ff6900); }
.r-grid { display: grid; gap: 12px; }
.r-grid-3 { grid-template-columns: repeat(3, 1fr); }
.r-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 20px; min-height: 132px; border-radius: 14px; border: 1px solid #4e5d40; background: #1c2516; color: inherit; font: inherit; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.r-card:hover { border-color: var(--orange, #ff6900); transform: translateY(-2px); }
.r-card.sel { border-color: var(--orange, #ff6900); background: #2a2214; box-shadow: inset 0 0 0 1px var(--orange, #ff6900); }
.r-card strong { font-size: 18px; }
.r-card small { color: var(--muted, #b3bba4); font-size: 13px; line-height: 1.45; }
.r-ico { font-size: 26px; line-height: 1; color: var(--orange, #ff6900); margin-bottom: 4px; }
.r-size { display: block; width: calc(18px + 26px * var(--k)); height: calc(18px + 26px * var(--k)); border: 2px solid var(--orange, #ff6900); border-radius: 6px; }
.r-level ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: 13px; color: #d4dac8; display: grid; gap: 4px; }
.r-level ul li::before { content: '· '; color: var(--orange, #ff6900); }
.r-from { margin-top: auto; padding-top: 12px; font-weight: 700; color: #ffb27d; font-size: 15px; }
.r-tag { position: absolute; top: -10px; right: 14px; background: var(--orange, #ff6900); color: #11170f; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.r-size-box { text-align: center; max-width: 520px; margin: 0 auto; }
.r-num { display: flex; align-items: center; justify-content: center; gap: 22px; }
.r-num button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #5d6a50; background: #202a19; color: var(--ink, #f3f4e9); font-size: 26px; cursor: pointer; }
.r-num button:hover { border-color: var(--orange, #ff6900); }
.r-num output { font-size: clamp(3rem, 9vw, 4.4rem); font-weight: 700; letter-spacing: -.04em; min-width: 3.2ch; }
.r-num output small { font-size: .38em; color: var(--muted, #b3bba4); letter-spacing: 0; }
.r-size-box input[type=range] { width: 100%; accent-color: var(--orange, #ff6900); height: 36px; margin: 10px 0 0; }
.r-size-box > p { color: var(--muted, #b3bba4); margin: 4px 0 0; font-size: 14px; }
.r-bagni { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.r-seg { display: inline-flex; border: 1px solid #5d6a50; border-radius: 12px; overflow: hidden; }
.r-seg button { min-width: 52px; min-height: 46px; background: transparent; border: 0; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.r-seg button + button { border-left: 1px solid #5d6a50; }
.r-seg button[aria-pressed=true] { background: var(--orange, #ff6900); color: #11170f; }
.r-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.r-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid #3f4b34; background: #161e12; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.r-item:hover { border-color: #7a8a68; }
.r-item.on { border-color: var(--orange, #ff6900); background: #241d12; }
.r-check { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 1px solid #5d6a50; font-weight: 700; color: var(--muted, #b3bba4); }
.r-item.on .r-check { background: var(--orange, #ff6900); border-color: var(--orange, #ff6900); color: #11170f; }
.r-item-t { flex: 1; display: grid; gap: 2px; }
.r-item-t strong { font-size: 15px; }
.r-item-t small { color: var(--muted, #b3bba4); font-size: 12px; }
.r-item-p { flex: none; font-size: 13px; font-weight: 600; color: #ffb27d; }
.r-item:not(.on) .r-item-p { color: #7d876f; }
.r-bar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; background: #1b2414f2; backdrop-filter: blur(6px); border-top: 1px solid #47543a; }
.r-bar div { display: grid; }
.r-bar small { color: var(--muted, #b3bba4); font-size: 11px; }
.r-bar strong { font-size: clamp(1.15rem, 2.6vw, 1.5rem); color: #ffb27d; }
.r-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 12px; border: 0; background: var(--orange, #ff6900); color: #11170f; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.r-cta:hover { background: #ff8a2e; }
.r-result h3 { font-size: clamp(2.2rem, 6vw, 3.4rem); color: #ffb27d; letter-spacing: -.03em; margin: 8px 0 6px; }
.r-result h3 small { font-size: .4em; color: var(--muted, #b3bba4); letter-spacing: 0; }
.r-result > p { color: #d4dac8; margin: 0 0 16px; }
.r-incl { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.r-incl li { font-size: 13px; padding: 6px 11px; border-radius: 99px; background: #202a19; border: 1px solid #3b4631; }
.r-note { font-size: 13px; color: var(--muted, #b3bba4) !important; }
.r-detail { margin: 16px 0 22px; border: 1px solid #3b4631; border-radius: 12px; padding: 0 16px; }
.r-detail summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--orange, #ff6900); }
.r-detail table { width: 100%; border-collapse: collapse; font-size: 13px; }
.r-detail th, .r-detail td { text-align: left; padding: 8px 6px; border-top: 1px solid #2c3624; vertical-align: top; }
.r-detail th:nth-child(n+2), .r-detail td:nth-child(n+2) { text-align: right; white-space: nowrap; }
.r-detail td small { display: block; color: #8f9a80; font-size: 11px; overflow-wrap: anywhere; }
.r-detail .r-tot td { font-weight: 700; color: #ffb27d; }
.r-detail p { font-size: 12px; color: #8f9a80; line-height: 1.5; }
.r-send { padding: 22px; border-radius: 14px; background: linear-gradient(135deg, rgba(255,105,0,.18), rgba(255,105,0,.04)); border: 1px solid rgba(255,105,0,.45); }
.r-send > strong { font-size: 19px; }
.r-send > p { margin: 4px 0 14px; color: #d4dac8; font-size: 14px; }
.r-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.r-fields label { display: grid; gap: 4px; font-size: 12px; color: var(--muted, #b3bba4); }
.r-fields input { min-height: 48px; border-radius: 10px; border: 1px solid #5d6a50; background: #202a19; color: var(--ink, #f3f4e9); padding: 0 12px; font: inherit; font-size: 16px; }
.r-fields input:focus { outline: 2px solid var(--orange, #ff6900); outline-offset: 1px; border-color: var(--orange, #ff6900); }
.r-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.r-wa { background: #25d366; }
.r-wa:hover { background: #3ee07a; }
.r-ghost { color: var(--ink, #f3f4e9); font-size: 14px; padding: 12px 6px; }
.r-more { margin: 18px 0 0; font-size: 14px; color: var(--muted, #b3bba4); }
.r-link { background: none; border: 0; padding: 4px 0; color: var(--orange, #ff6900); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
 .r-head { padding: 12px 16px; }
 .r-steps em { display: none; }
 .r-steps li + li::before { width: 8px; }
 .r-body { padding: 22px 16px 24px; }
 .r-grid-3 { grid-template-columns: 1fr 1fr; }
 .r-card { min-height: 112px; padding: 16px; }
 .r-level { grid-column: 1 / -1; min-height: 0; }
 .r-list { grid-template-columns: 1fr; }
 .r-bar { padding: 12px 16px; }
 .r-cta { padding: 0 18px; }
 .r-fields { grid-template-columns: 1fr; }
 .r-actions .r-cta { width: 100%; }
 .r-detail { padding: 0 10px; }
 .r-detail th:nth-child(3), .r-detail td:nth-child(3) { display: none; }
}

/* Cartongesso */
.r-cg { display: grid; gap: 10px; }
.r-cg-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 14px; border: 1px solid #3f4b34; background: #161e12; transition: border-color .15s, background .15s; }
.r-cg-row.on { border-color: var(--orange, #ff6900); background: #241d12; }
.r-cg-t { display: grid; gap: 3px; }
.r-cg-t strong { font-size: 17px; }
.r-cg-t small { color: var(--muted, #b3bba4); font-size: 13px; }
.r-cg-num { display: flex; align-items: center; gap: 8px; flex: none; }
.r-cg-num button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #5d6a50; background: #202a19; color: var(--ink, #f3f4e9); font-size: 22px; cursor: pointer; }
.r-cg-num button:hover { border-color: var(--orange, #ff6900); }
.r-cg-num label { display: flex; align-items: baseline; gap: 4px; }
.r-cg-num input { width: 64px; min-height: 44px; text-align: center; border-radius: 10px; border: 1px solid #5d6a50; background: #202a19; color: var(--ink, #f3f4e9); font: inherit; font-size: 20px; font-weight: 700; -moz-appearance: textfield; }
.r-cg-num input::-webkit-outer-spin-button, .r-cg-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.r-cg-num input:focus { outline: 2px solid var(--orange, #ff6900); outline-offset: 1px; }
.r-cg-num span { color: var(--muted, #b3bba4); font-size: 14px; min-width: 22px; }
.r-warn { color: #ffb27d; font-size: 14px; margin: 12px 0 0; }
.r-grid-4 { grid-template-columns: repeat(4, 1fr); }
.r-opts { display: grid; gap: 10px; margin-top: 18px; }
.r-opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-radius: 14px; border: 1px solid #3f4b34; background: #161e12; }
.r-opt > div:first-child { display: grid; gap: 3px; }
.r-opt small { color: var(--muted, #b3bba4); font-size: 13px; }
.r-seg-wide button { min-width: 88px; padding: 0 14px; }
@media (max-width: 900px) { .r-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
 .r-cg-row, .r-opt { flex-direction: column; align-items: stretch; }
 .r-cg-num { justify-content: center; }
 .r-seg-wide { display: flex; }
 .r-seg-wide button { flex: 1; }
 .r-grid-4 .r-card { min-height: 0; }
}
.r-cg-t small b { color: #ffb27d; font-weight: 600; }
