/* HUBTBOX_SMART_BUILDER_V4 */
.hb-app{--hb-purple:#6d28d9;--hb-dark:#31105b;--hb-gold:#f59e0b;--hb-muted:#82708e;background:#f5f1fb;color:var(--hb-dark);padding:24px max(18px,calc((100vw - 1320px)/2)) 40px;font-family:inherit;direction:rtl;line-height:1.6}.hb-app *{box-sizing:border-box}.hb-app button,.hb-app input,.hb-app select,.hb-app textarea{font:inherit}.hb-app button{cursor:pointer}.hb-app button:disabled{cursor:default;opacity:.48}.hb-app h1,.hb-app h2,.hb-app h3,.hb-app p{margin:0}.hb-app button:focus-visible,.hb-app a:focus-visible,.hb-app input:focus-visible,.hb-app select:focus-visible,.hb-app textarea:focus-visible{outline:3px solid #fbbf24;outline-offset:3px}.hb-app [hidden]{display:none!important}.hb-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.hb-eyebrow{font:700 10px Arial,sans-serif;letter-spacing:1.5px;color:#9568b8}.hb-hero h1{font-size:28px;font-weight:900;margin:5px 0}.hb-hero p{font-size:12px;color:var(--hb-muted);max-width:800px}.hb-layout{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:18px;align-items:start}.hb-main,.hb-side{min-width:0}.hb-side{position:sticky;top:18px;display:grid;gap:16px}.hb-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.hb-section-head h2,.hb-summary h2{font-size:16px;font-weight:900}.hb-section-head>span{font-size:10px;color:var(--hb-muted)}.hb-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hb-slot{padding:14px;background:white;border:1px solid #e9def4;border-radius:16px;min-width:0}.hb-slot-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.hb-slot h3{font-size:13px;font-weight:800}.hb-chip{font-size:9px;white-space:nowrap;border-radius:16px;background:#f3e8ff;color:#7c3aed;padding:3px 8px;display:inline-block}.hb-choose{width:100%;padding:11px;border:1px dashed #c4a8eb;color:#6d28d9;background:#faf7ff;border-radius:10px;font-size:11px;font-weight:800}.hb-choose:hover{background:#f3e8ff}.hb-selection{display:grid;gap:8px}.hb-selected{display:flex;gap:10px;align-items:center;min-width:0}.hb-selected img{width:52px;height:52px;object-fit:contain;background:#faf8fd;border-radius:8px}.hb-selected>div{min-width:0;flex:1}.hb-selected b{font-size:11px;line-height:1.65;display:block;overflow-wrap:anywhere}.hb-selected small{font-size:10px;color:var(--hb-muted);display:block}.hb-selection-tools{display:flex;align-items:center;gap:9px;margin:10px 0}.hb-selection-tools label{font-size:10px;color:var(--hb-muted);display:flex;align-items:center;gap:6px}.hb-selection-tools input{width:58px;padding:4px 6px;border:1px solid #e0d2ee;border-radius:6px}.hb-link{border:0;background:transparent;color:#7c3aed;font-size:11px;font-weight:700;padding:4px}.hb-extra-heading{grid-column:1/-1;font-size:14px;padding:14px 0 2px}.hb-extra-heading small{font-size:10px;color:var(--hb-muted);font-weight:400;margin-inline-start:8px}.hb-panel{background:white;border:1px solid #e9def4;border-radius:18px;padding:18px}.hb-report{margin-top:18px;scroll-margin-top:20px}.hb-report>p{font-size:12px;color:var(--hb-muted);margin-bottom:12px}.hb-check{display:grid;grid-template-columns:24px 1fr;gap:9px;padding:11px 12px;border:1px solid #e9def4;border-radius:10px;margin-top:7px;background:#fbf9fe}.hb-check>b{border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font:700 12px Arial;background:#ede9fe;color:#6d28d9}.hb-check strong{font-size:11px;display:block}.hb-check p{font-size:10px;color:#887092;line-height:1.8;margin-top:2px}.hb-check.fail{background:#fff3f3;border-color:#f3cbcf}.hb-check.fail>b{color:#b91c1c;background:#fee2e2}.hb-check.warning{background:#fffbeb;border-color:#f8e4b0}.hb-check.warning>b{color:#a16207;background:#fef3c7}.hb-check.pass>b{color:#166534;background:#dcfce7}.hb-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:12px}.hb-metrics>div{background:#f5f0fc;padding:9px;border-radius:10px;text-align:center}.hb-metrics strong{display:block;font-size:17px}.hb-metrics span{font-size:9px;color:var(--hb-muted)}.hb-report[data-state=incompatible] #hbCheckState{color:#b91c1c;background:#fee2e2}.hb-report[data-state=incomplete] #hbCheckState{color:#a16207;background:#fef3c7}.hb-preview{overflow:hidden}.hb-preview svg{display:block;width:100%;height:310px;margin:auto}.hb-preview-note{font-size:9px;color:var(--hb-muted);padding-top:9px;line-height:1.8}.hb-case-part{opacity:.22;transition:opacity .2s}.hb-case-part.is-selected{opacity:1}#hbRealCase img{width:100%;height:255px;object-fit:contain}#hbRealCase p{font-size:11px;text-align:center}#hbPreviewParts{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}#hbPreviewParts span{font-size:9px;background:#f3e8ff;padding:3px 7px;border-radius:12px;color:#7c3aed}.hb-summary h2{margin-bottom:12px}#hbSummary{font-size:11px;color:var(--hb-muted)}.hb-summary-line{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #f1eaf8}.hb-summary-line span{overflow-wrap:anywhere}.hb-summary-line b{white-space:nowrap;color:#4c1d95}.hb-total{display:flex;align-items:center;justify-content:space-between;gap:10px;background:linear-gradient(110deg,#4c1d95,#7c3aed);color:white;border-radius:12px;padding:12px;margin-top:13px}.hb-total span{font-size:11px}.hb-total strong{font-size:20px;direction:ltr}.hb-summary>p{font-size:9px;color:var(--hb-muted);line-height:1.8;margin:8px 0}.hb-summary-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.hb-summary-actions .hb-primary{grid-column:1/-1}.hb-primary,.hb-secondary{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:10px;padding:10px 14px;font-size:11px;font-weight:800;text-decoration:none;gap:6px}.hb-primary{background:#6d28d9;color:white}.hb-secondary{background:white;color:#6d28d9;border-color:#dfcff2}.hb-primary:hover{background:#5b21b6}.hb-dialog{padding:0;width:min(1180px,95vw);max-height:90vh;border:1px solid #e0d2ee;border-radius:20px;background:#faf8fd;color:#31105b;box-shadow:0 30px 100px #1b093c60;direction:rtl;font-family:inherit;position:fixed;margin:auto;inset:0}.hb-dialog::backdrop{background:#180a2bb3;backdrop-filter:blur(3px)}.hb-dialog-head{position:sticky;top:0;z-index:2;background:white;border-bottom:1px solid #ede3f7;padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:10px}.hb-dialog-head h2{font-size:18px}.hb-close{border:0;background:#f3e8ff;color:#6d28d9;width:32px;height:32px;border-radius:50%;font-size:23px}.hb-catalog-tools{display:grid;grid-template-columns:2fr 1fr 1fr;gap:9px;padding:16px 18px 9px}.hb-catalog-tools input,.hb-catalog-tools select,.hb-filters select,.hb-request-dialog input,.hb-request-dialog textarea{padding:10px;border:1px solid #e0d2ee;border-radius:9px;background:white;color:#482361;min-width:0;font-size:11px}.hb-catalog-options{display:flex;flex-wrap:wrap;gap:14px;padding:0 18px 10px;align-items:center;font-size:11px}.hb-catalog-options label{display:flex;gap:6px;align-items:center}.hb-catalog-options>span{font-size:10px;color:#8f7d9c}.hb-filter-box{background:white;margin:0 18px 12px;border:1px solid #e9def4;border-radius:12px;padding:10px 12px}.hb-filter-box summary{cursor:pointer;font-size:12px;font-weight:700}.hb-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.hb-filters label{font-size:10px;color:#82708e}.hb-filters select{width:100%;display:block;margin-top:3px}.hb-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 18px 14px}.hb-product{background:white;border:1px solid #e9def4;border-radius:14px;padding:13px;display:flex;flex-direction:column;min-width:0}.hb-product>img{width:100%;height:130px;object-fit:contain;margin-bottom:10px}.hb-product h3{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.hb-product .hb-office{font-size:10px;color:#82708e;margin-top:5px}.hb-product .hb-price{font-size:17px;color:#6d28d9;font-weight:800;margin:7px 0}.hb-stock{font-size:9px;color:#82708e}.hb-trial{font-size:10px;padding:7px 8px;border-radius:7px;background:#f3e8ff;color:#6d28d9;margin:8px 0;line-height:1.6}.hb-trial.bad{color:#b91c1c;background:#fff1f2}.hb-product-actions{display:flex;gap:8px;margin-top:auto;padding-top:10px}.hb-product-actions button{flex:1}.hb-product-actions a{white-space:nowrap}.hb-pagination{display:flex;justify-content:center;align-items:center;gap:15px;padding:5px 18px 18px;font-size:11px}#hbResultsState{font-size:12px;padding:0 20px 12px;color:#82708e}.hb-error{padding:14px;border:1px solid #f4d4d8;background:#fff3f3;border-radius:9px;color:#991b1b}.hb-request-dialog{width:min(500px,94vw)}.hb-request-dialog>p,.hb-request-dialog form{margin:16px 20px;font-size:12px}.hb-request-dialog form{display:grid;gap:12px}.hb-request-dialog label:not(.hb-ack){display:grid;gap:5px;font-size:11px}.hb-ack{font-size:10px;display:flex;align-items:start;gap:7px}.hb-ack input{margin-top:3px}.hb-loading{padding:24px;text-align:center;color:#7c3aed}.hb-app .hb-loader{display:inline-block;width:15px;height:15px;border:2px solid #ddd6fe;border-top-color:#6d28d9;border-radius:50%;animation:hbspin .8s linear infinite;margin-inline-end:8px}@keyframes hbspin{to{transform:rotate(360deg)}}
@media(max-width:1050px){.hb-layout{grid-template-columns:minmax(0,1fr) 300px}.hb-slots{grid-template-columns:1fr}.hb-products{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-filters{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.hb-app{padding:18px 12px 28px}.hb-hero{align-items:start}.hb-hero h1{font-size:22px}.hb-hero>a{display:none}.hb-layout{grid-template-columns:1fr}.hb-side{position:static;grid-template-columns:1fr}.hb-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-preview svg{height:260px}.hb-catalog-tools{grid-template-columns:1fr 1fr}.hb-catalog-tools input{grid-column:1/-1}.hb-filters{grid-template-columns:repeat(2,1fr)}.hb-dialog{max-height:94vh}.hb-catalog-options>span{width:100%}.hb-product>img{height:100px}}
@media(max-width:440px){.hb-slots{grid-template-columns:1fr}.hb-product{padding:10px}.hb-products{gap:8px;padding:0 10px 10px}.hb-product-actions{flex-direction:column}.hb-product h3{font-size:11px}.hb-product .hb-price{font-size:15px}.hb-chip{font-size:8px}.hb-metrics{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){.hb-app .hb-loader{animation:none}.hb-case-part{transition:none}}


/* HUBTBOX_BUILDER_INTERACTION_V5 */
.hb-app{background:linear-gradient(135deg,#f7f3fc,#f2edfa);padding-top:20px}
.hb-hero{margin-bottom:16px}
.hb-hero h1{letter-spacing:-.4px;font-size:27px}
.hb-hero p{line-height:1.9}
.hb-slot,.hb-panel{box-shadow:0 5px 20px #4c1d9506}
.hb-slot{transition:border-color .18s,box-shadow .18s}
.hb-slot:hover{border-color:#c9b0eb;box-shadow:0 7px 22px #4c1d950c}
.hb-slot h3{display:flex;align-items:center;gap:9px}
.hb-slot h3>i{width:31px;height:31px;border-radius:9px;background:#f1e8fc;color:#7c3aed;display:grid;place-items:center;font-size:13px;flex-shrink:0}
.hb-slot-top{margin-bottom:10px}
.hb-slot[data-check-state=incompatible]{border-color:#f0b7c2;box-shadow:0 0 0 2px #fef2f2}
.hb-slot[data-check-state=pending]{border-color:#c4b5fd}
.hb-selection-tools{flex-wrap:wrap;gap:7px}
.hb-primary,.hb-secondary{gap:7px}
.hb-choose{background:linear-gradient(110deg,#faf7ff,#f3ecfc);border-style:solid;border-color:#e6d8f5;padding:11px}
.hb-choose:hover{border-color:#b794e6}
.hb-section-head h2{font-size:16px}
.hb-product{transition:box-shadow .18s,transform .18s}
.hb-product:hover{box-shadow:0 8px 25px #4c1d9510;transform:translateY(-2px)}
.hb-product-actions .hb-secondary{white-space:nowrap}

.hb-live{position:sticky;top:10px;z-index:30;display:flex;align-items:center;gap:12px;padding:12px 15px;margin-bottom:18px;border:1px solid #ddcdf2;border-inline-start:4px solid #8b5cf6;border-radius:15px;background:#ffffffed;backdrop-filter:blur(14px);box-shadow:0 7px 24px #31105b12}
.hb-live-icon{display:grid;place-items:center;width:39px;height:39px;background:#f3e8ff;color:#7c3aed;border-radius:12px;flex-shrink:0}
.hb-live>div:first-of-type{min-width:0;flex:1}
.hb-live b{display:block;font-size:12px}
.hb-live p{font-size:10px;color:#82708e;line-height:1.7;margin:2px 0 0;overflow-wrap:anywhere}
.hb-live-actions{display:flex;gap:6px;flex-shrink:0}
.hb-live .hb-secondary{padding:7px 11px;font-size:10px}
.hb-live[data-state=incompatible]{border-inline-start-color:#dc2626;background:#fff8f8ed}
.hb-live[data-state=incompatible] .hb-live-icon{color:#b91c1c;background:#fee2e2}
.hb-live[data-state=incomplete],.hb-live[data-state=warning]{border-inline-start-color:#f59e0b}
.hb-live[data-state=incomplete] .hb-live-icon,.hb-live[data-state=warning] .hb-live-icon{color:#a16207;background:#fef3c7}
.hb-live[data-state=pending] .hb-live-icon{animation:hbLivePulse 1s ease-in-out infinite}
.hb-live[data-state=error]{border-inline-start-color:#dc2626}

.hb-inside-dialog{width:min(810px,95vw)}
.hb-inside-body{padding:19px 22px}
.hb-detail-hero{display:grid;grid-template-columns:200px 1fr;gap:22px;align-items:center;padding-bottom:17px;border-bottom:1px solid #e9def4;margin-bottom:15px}
.hb-detail-hero>img{width:100%;height:190px;object-fit:contain;background:white;border-radius:14px}
.hb-detail-hero h3{font-size:17px;line-height:1.8;margin:9px 0}
.hb-detail-hero p{font-size:11px;color:#82708e;line-height:1.9;margin:5px 0}
.hb-detail-hero strong{font-size:23px;color:#6d28d9}
.hb-detail-heading{font-size:13px;margin:17px 0 10px!important}
.hb-detail-table{width:100%;border-collapse:collapse;font-size:11px;table-layout:fixed}
.hb-detail-table th,.hb-detail-table td{text-align:start;padding:10px 12px;border-bottom:1px solid #eee7f7;overflow-wrap:anywhere}
.hb-detail-table th{width:39%;color:#82708e;font-weight:600}
.hb-detail-table tr:nth-child(odd){background:#f6f1fc}
.hb-detail-tech{display:flex;gap:7px;flex-wrap:wrap}
.hb-detail-tech span{background:#f1e8fc;color:#6d28d9;border-radius:8px;padding:6px 9px;font-size:10px}
.hb-detail-footnote,.hb-detail-intro{font-size:11px;color:#82708e;line-height:1.9;margin:14px 0!important}

.hb-preview-toolbar{display:flex;gap:5px;padding:4px;border-radius:10px;background:#f5f0fb;margin-bottom:8px}
.hb-preview-toolbar button{border:0;border-radius:7px;background:transparent;color:#947ba7;font-size:10px;padding:7px 9px;display:flex;align-items:center;justify-content:center;gap:5px}
.hb-preview-toolbar button.is-on{background:#fff;color:#6d28d9;box-shadow:0 2px 7px #4c1d950a}
.hb-preview-toolbar #hbMotion{margin-inline-start:auto}
.hb-preview #hbPcVisual{position:relative;perspective:850px;touch-action:pan-y;cursor:grab;user-select:none;isolation:isolate}
.hb-preview #hbPcVisual.hb-dragging{cursor:grabbing}
.hb-preview #hbPcVisual svg{transform:rotateX(var(--hb-rx,0deg)) rotateY(var(--hb-ry,0deg));transition:transform .16s ease-out;transform-origin:50% 55%;will-change:transform}
.hb-preview #hbPcVisual.hb-motion svg{animation:hbCaseOrbit 7s ease-in-out infinite}
.hb-preview #hbPcVisual:hover svg,.hb-preview #hbPcVisual.hb-dragging svg,.hb-preview #hbPcVisual:focus-within svg{animation:none}
.hb-preview [data-part]{cursor:pointer;outline:none}
.hb-preview [data-part]:hover,.hb-preview [data-part]:focus-visible{opacity:1;filter:drop-shadow(0 0 5px #c4b5fd)}
.hb-preview [data-part]:focus-visible{outline:1px dashed #fbbf24}
.hb-preview .hb-case-part.hb-new-part{animation:hbPartInstalled .8s ease-out}
.hb-preview #hbPreviewParts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:12px}
.hb-preview #hbPreviewParts button{border:1px solid #eee4f8;background:#fbf9fe;color:#9a83aa;border-radius:9px;padding:7px 4px;display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px}
.hb-preview #hbPreviewParts button.is-selected{background:#f1e8fc;color:#6d28d9;border-color:#dcc8f3}
.hb-preview #hbPreviewParts button:hover{border-color:#a78bfa}
.hb-preview #hbPreviewParts button span{background:none;padding:0;color:inherit;border-radius:0}
.hb-preview .hb-preview-note{font-size:9px;line-height:1.8}
.hb-preview #hbRealCase img{transition:transform .25s}
.hb-preview #hbRealCase img:hover{transform:scale(1.035)}

@keyframes hbCaseOrbit{
    0%,100%{
        transform:rotateX(calc(var(--hb-rx,0deg) + 1deg)) rotateY(calc(var(--hb-ry,0deg) - 5deg)) translateY(0)
    }
    50%{
        transform:rotateX(calc(var(--hb-rx,0deg) - 1deg)) rotateY(calc(var(--hb-ry,0deg) + 5deg)) translateY(-4px)
    }
}
@keyframes hbPartInstalled{
    0%{filter:drop-shadow(0 0 13px #fbbf24);opacity:.4}
    50%{filter:drop-shadow(0 0 8px #c4b5fd);opacity:1}
    100%{filter:none;opacity:1}
}
@keyframes hbLivePulse{
    50%{opacity:.45}
}
@media(max-width:760px){
    .hb-live{top:5px;gap:9px;flex-wrap:wrap;padding:10px 12px;margin-bottom:13px}
    .hb-live-actions{width:100%;justify-content:flex-end}
    .hb-live-icon{width:31px;height:31px;border-radius:9px}
    .hb-live b{font-size:11px}
    .hb-live p{font-size:9px}
    .hb-live .hb-secondary{padding:5px 9px;font-size:9px}
    .hb-detail-hero{grid-template-columns:110px 1fr;gap:13px}
    .hb-detail-hero>img{height:130px}
    .hb-detail-hero h3{font-size:13px}
    .hb-detail-hero strong{font-size:19px}
    .hb-inside-body{padding:15px}
    .hb-preview-toolbar button{font-size:10px}
    .hb-hero h1{font-size:22px}
}
@media(prefers-reduced-motion:reduce){
    .hb-preview #hbPcVisual.hb-motion svg,
    .hb-preview .hb-case-part.hb-new-part,
    .hb-live[data-state=pending] .hb-live-icon{animation:none!important}
    .hb-preview #hbPcVisual svg,
    .hb-slot,.hb-product,
    .hb-preview #hbRealCase img{transition:none!important}
}


/* HUBTBOX_DELETE_RED_V1 */
.hb-app .hb-selection-tools button[data-remove],
.hb-app .hb-selection-tools button[data-remove] i {
    color: #dc2626 !important;
}
.hb-app .hb-selection-tools button[data-remove]:hover,
.hb-app .hb-selection-tools button[data-remove]:hover i {
    color: #b91c1c !important;
}

.hb-app .hb-trusted-logo{width:52px;height:52px;padding:5px;object-fit:contain;border-radius:12px;background:#fff;border:1px solid #e9def4;flex:none}
.hb-app .hb-hero:has(.hb-trusted-logo)>div{flex:1}
.hb-trusted-build .hb-preview #hbPcVisual.hb-motion .hb-case-part.hb-new-part{animation:hbTrustedPartSlide .65s cubic-bezier(.2,.7,.25,1);transform-box:fill-box;transform-origin:center}
@keyframes hbTrustedPartSlide{from{opacity:0;transform:translate(-65px,-35px) scale(1.08)}to{opacity:1;transform:translate(0,0) scale(1)}}
@media(prefers-reduced-motion:reduce){.hb-trusted-build .hb-preview #hbPcVisual.hb-motion .hb-case-part.hb-new-part{animation:none!important}}
