/* INSPIREX — حاسبة صفحة المنتج ومقارنة الحزم (2.3.10). نفس ألوان حاسبة الرئيسية. */
#ix-pc{direction:rtl;text-align:right;color:#20383e;max-width:980px;margin:0 auto}
#ix-pc *{box-sizing:border-box}
#ix-pc .ix-pc-title{font-size:21px;font-weight:700;margin:0 0 6px}
#ix-pc .ix-pc-lead,#ix-pc .ix-pc-hint{font-size:14px;line-height:1.8;color:#52636b;margin:0 0 14px}
#ix-pc .ix-pc-pick{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-weight:600}
#ix-pc select,#ix-pc input{min-height:44px;border:1px solid #b8c3c8;border-radius:6px;padding:8px;background:#fff;color:#253c45;font:inherit;width:100%}
#ix-pc .ix-pc-pick select{width:auto;min-width:200px}
#ix-pc .ix-pc-model{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid #cbd7dd;border-radius:10px;background:#f4f6f6;margin:0 0 14px}
#ix-pc .ix-pc-model img{width:84px;height:84px;object-fit:contain;flex-shrink:0;background:#fff;border-radius:8px}
#ix-pc .ix-pc-name{display:block;font-size:17px}
#ix-pc .ix-pc-model small{display:block;color:#52636b;font-size:13px;line-height:1.7}
#ix-pc .ix-pc-specs{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 0}
#ix-pc .ix-pc-specs span{background:#fff;border:1px solid #d6dfe2;border-radius:20px;padding:2px 10px;font-size:13px}
#ix-pc .ix-pc-presets{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 12px}
#ix-pc .ix-pc-presets-t{font-size:13px;font-weight:600}
#ix-pc button{font:inherit;cursor:pointer;border-radius:8px;min-height:40px}
#ix-pc .ix-pc-presets button{background:#eef2f3;border:1px solid #c9d4d8;color:#334852;padding:6px 10px;font-size:13px;min-height:36px}
#ix-pc .ix-pc-rows{display:grid;gap:10px}
#ix-pc .ix-pc-row{display:grid;grid-template-columns:minmax(120px,1.6fr) minmax(80px,1fr) 70px minmax(150px,1.3fr) 40px;gap:8px;align-items:end;padding:10px;border:1px solid #d6dfe2;border-radius:10px;background:#fff}
#ix-pc .ix-pc-f{display:block;font-size:13px;font-weight:600;margin:0}
#ix-pc .ix-pc-f input{margin-top:4px}
#ix-pc .ix-pc-row input[dir=ltr]{text-align:center}
#ix-pc .ix-pc-dur{display:grid;grid-template-columns:1fr 90px;gap:6px;align-items:end}
#ix-pc .ix-pc-rm{background:#e4e7e9;border:0;color:#334852;font-size:20px;min-height:44px}
#ix-pc .ix-pc-add{display:block;width:100%;margin:10px 0;border:1px dashed #829ba6;background:#eaf0f2;color:#334852;font-weight:600}
#ix-pc .ix-pc-calc{display:block;width:100%;background:#315f70;color:#fff;border:0;font-weight:700;min-height:48px;font-size:16px}
#ix-pc .ix-pc-result{margin:16px 0;padding:16px;border:1px solid #cbd7dd;border-radius:10px;background:#fff}
#ix-pc .ix-pc-result[hidden],#ix-pc .ix-pc-compare[hidden]{display:none}
#ix-pc .ix-pc-verdict{padding:12px 14px;border-radius:8px;font-size:17px;margin:0 0 10px}
#ix-pc .ix-pc-verdict.ok{background:#e8f4ec;color:#1d6b40}
#ix-pc .ix-pc-verdict.no{background:#fbeaea;color:#a1251b}
#ix-pc .ix-pc-checks{list-style:none;margin:0 0 12px;padding:0}
#ix-pc .ix-pc-checks li{padding:8px 0;border-bottom:1px solid #edf0f0;font-size:14px;line-height:1.8}
#ix-pc .ix-pc-checks li.ok b{color:#1d6b40}
#ix-pc .ix-pc-checks li.no b{color:#a1251b}
#ix-pc .ix-pc-figures{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px}
#ix-pc .ix-pc-figures div{background:#f0f3f4;border-radius:8px;padding:12px;text-align:center}
#ix-pc .ix-pc-figures span,#ix-pc .ix-pc-figures small{display:block;font-size:12px;color:#52636b}
#ix-pc .ix-pc-figures strong{display:block;font-size:20px;margin:4px 0;color:#193b46}
#ix-pc .ix-pc-warn{font-size:13px;line-height:1.8;color:#8a4b00;background:#fff6e5;border-radius:8px;padding:8px 10px;margin:8px 0}
#ix-pc .ix-pc-suggest{font-weight:600;margin:8px 0}
#ix-pc .ix-pc-acts{display:flex;flex-wrap:wrap;gap:8px}
#ix-pc .ix-pc-go{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;border-radius:8px;background:#315f70;color:#fff;text-decoration:none}
#ix-pc .ix-pc-cmp-btn{background:#fff;border:1px solid #315f70;color:#315f70;font-weight:600;padding:8px 16px;margin:8px 0}
#ix-pc .ix-pc-compare{margin:12px 0;padding:16px;border:1px solid #cbd7dd;border-radius:10px;background:#f8fafa}
#ix-pc .ix-pc-compare h3{font-size:18px;margin:0 0 6px}
#ix-pc .ix-pc-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
#ix-pc .ix-pc-chips button{min-height:34px;padding:4px 10px;background:#fff;border:1px solid #c9d4d8;color:#334852;font-size:13px;direction:ltr}
#ix-pc .ix-pc-chips button.on{background:#315f70;border-color:#315f70;color:#fff}
#ix-pc .ix-pc-chips button:disabled{opacity:1;cursor:default}
#ix-pc .ix-pc-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
#ix-pc .ix-pc-table{width:100%;border-collapse:collapse;background:#fff;font-size:14px;min-width:520px}
#ix-pc .ix-pc-table th,#ix-pc .ix-pc-table td{border:1px solid #e1e7e9;padding:8px;text-align:center;vertical-align:middle}
#ix-pc .ix-pc-table .ix-pc-lbl{text-align:right;background:#f4f6f6;font-weight:600;width:150px}
#ix-pc .ix-pc-table thead a{display:block;color:#20383e;text-decoration:none;font-weight:700}
#ix-pc .ix-pc-table thead img{display:block;width:70px;height:70px;object-fit:contain;margin:0 auto 4px}
#ix-pc .ix-pc-table em{display:inline-block;margin-top:4px;font-style:normal;font-size:11px;background:#315f70;color:#fff;border-radius:10px;padding:1px 8px}
#ix-pc .ix-pc-table .cur{background:#eef6f8}
#ix-pc .ix-pc-table tr.calc td{font-weight:700}
#ix-pc .ix-pc-table td.ok{color:#1d6b40}
#ix-pc .ix-pc-table td.no{color:#a1251b}
#ix-pc .ix-pc-note{font-size:12px;line-height:1.8;color:#52636b;margin:10px 0 0}
@media(max-width:700px){
#ix-pc .ix-pc-row{grid-template-columns:1fr 1fr;padding-top:12px}
#ix-pc .ix-pc-row .ix-pc-device{grid-column:1/-1}
#ix-pc .ix-pc-row .ix-pc-dur{grid-column:1/-1}
#ix-pc .ix-pc-rm{grid-column:1/-1;min-height:36px}
#ix-pc .ix-pc-figures{grid-template-columns:1fr}
#ix-pc .ix-pc-pick{flex-wrap:wrap}
#ix-pc .ix-pc-pick select{width:100%}
}
/* الزر بجانب السلة يفتح الحاسبة في مكانها */
.ix-pc-box{margin:12px 0;clear:both}
.ix-pc-box>summary{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 16px;border:1px solid #315f70;border-radius:8px;color:#315f70;font-weight:600;background:#fff;cursor:pointer;list-style:none}
.ix-pc-box>summary::-webkit-details-marker{display:none}
.ix-pc-box[open]>summary{background:#315f70;color:#fff}
.ix-pc-box>#ix-pc{margin-top:14px;padding:16px;border:1px solid #cbd7dd;border-radius:10px;background:#fff}
@media(max-width:700px){.ix-pc-box>#ix-pc{padding:10px}}

/* A single product-bound calculation dialog; no standalone calculator panel. */
html body #ix-pc-box{position:fixed;inset:0;margin:auto!important;padding:0!important;width:min(900px,calc(100vw - 32px));max-width:100vw;max-height:calc(100dvh - 32px);height:auto;box-sizing:border-box;border:1px solid #d6e1da;border-radius:16px;background:#fff;color:#203c35;box-shadow:0 20px 80px #17352a33;overflow:hidden;overscroll-behavior:contain}
html body #ix-pc-box:not([open]){display:none!important}
html body #ix-pc-box[open]{display:flex!important;flex-direction:column}
#ix-pc-box::backdrop{background:rgb(17 29 26 / 48%);backdrop-filter:blur(2px);overflow:hidden;overscroll-behavior:contain}
html body #ix-pc-box .ix-pc-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid #e0e8e2;flex-shrink:0;background:#fff}
html body #ix-pc-box .ix-pc-dialog-header h2{font-size:19px;line-height:1.6;color:#264a39;margin:0}
html body #ix-pc-box .ix-pc-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:#f0f5f1;color:#315e4d;font:400 28px/1 Arial;cursor:pointer}
html body #ix-pc-box .ix-pc-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;padding:20px;scroll-padding:16px}
html body #ix-pc .ix-pc-model{background:#f3f7f4;border-color:#d9e4dc}
html body #ix-pc .ix-pc-calc{background:#315e4d;color:#fff;border-color:#315e4d;min-height:48px;width:100%}
html body #ix-pc .ix-pc-add{margin-block:12px;width:100%;min-height:44px;background:#f6f9f6;border:1px dashed #adc2b4;color:#315e4d}
html body #ix-pc .ix-pc-row{background:#fff;border-color:#dce6df}
html body #ix-pc .ix-pc-rm{width:100%;min-width:0;padding:0}
html body #ix-pc .ix-pc-name{font-size:16px;color:#264a39}
html body #ix-pc .ix-pc-specs span{white-space:nowrap}
html body #ix-pc input,html body #ix-pc select{font-size:16px}
html body #ix-pc-box :is(button,input,select):focus-visible{outline:2px solid #7da58c;outline-offset:2px}
html body .ix-product-action-stack>.ix-quick-calculate{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:10px 14px;margin:0;border:1px solid #cbdad2;border-radius:9px;background:#f1f6f2;color:#294f41;font-family:inherit;font-size:14px;font-weight:600;line-height:1.5;cursor:pointer;box-sizing:border-box}
@media(max-width:599px){html body #ix-pc-box{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0}html body #ix-pc-box .ix-pc-scroll{padding:16px 12px;padding-bottom:max(16px,env(safe-area-inset-bottom))}html body #ix-pc-box .ix-pc-dialog-header{padding:10px 12px}html body #ix-pc-box .ix-pc-dialog-header h2{font-size:17px}}
