/*
 * B4POS Future Pricing / Public Superadmin only.
 * The styles below are explicitly scoped to .b4-pricing so core POS,
 * authentication forms, repair modals and admin subscriptions are untouched.
 */
body:has(> .b4-pricing),body:has(.b4-pricing){background:#f5f8fd!important;overflow-x:clip}
.b4-pricing{--p-ink:#192b49;--p-muted:#667b96;--p-primary:#6959eb;--p-mint:#55e9cf;--p-soft:#f6f9ff;isolation:isolate;direction:rtl;overflow:clip;position:relative;min-height:100vh;background:#f6f9fd;font-family:"Cairo",Tahoma,Arial,sans-serif;color:var(--p-ink);-webkit-font-smoothing:antialiased;line-height:1.75;text-align:right}
.b4-pricing *,.b4-pricing *:before,.b4-pricing *:after{box-sizing:border-box}
.b4-pricing .b4p-symbols{position:absolute;width:0;height:0;overflow:hidden}
.b4-pricing svg:not(.b4p-symbols){width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.b4-pricing .b4p-container{width:min(1220px,calc(100% - 60px));margin-inline:auto}
.b4-pricing h1,.b4-pricing h2,.b4-pricing h3,.b4-pricing p{margin-top:0}
.b4-pricing h1,.b4-pricing h2,.b4-pricing h3{letter-spacing:-.04em}
.b4-pricing a{color:inherit;text-decoration:none!important}
.b4-pricing a:hover{text-decoration:none!important}
.b4-pricing button{font:inherit;cursor:pointer}
.b4-pricing :is(a,button,summary,input):focus-visible{outline:3px solid #27cdbc;outline-offset:4px}
.b4-pricing .b4p-btn{display:inline-flex;gap:11px;align-items:center;justify-content:center;padding:12px 19px;min-height:45px;font-size:12px;font-weight:900;border-radius:13px;border:1px solid transparent;white-space:nowrap;transition:transform .24s ease,box-shadow .24s ease,background .24s ease}
.b4-pricing .b4p-btn:hover{transform:translateY(-2px)}
.b4-pricing .b4p-btn svg{width:16px;height:16px}
.b4-pricing .b4p-btn-main{background:linear-gradient(110deg,#7969f6,#514de7);color:#fff!important;box-shadow:0 11px 30px #483bd83d}
.b4-pricing .b4p-btn-main:hover{background:linear-gradient(110deg,#897cfc,#6055ed);box-shadow:0 16px 35px #483bd85d}
.b4-pricing .b4p-btn-big{padding:16px 23px;min-height:55px;font-size:13px;border-radius:15px}

/* Brand / navigation */
.b4-pricing .b4p-header{position:sticky;top:0;z-index:90;background:#07162c;border-bottom:1px solid #dceeff16;transition:box-shadow .25s}
.b4-pricing .b4p-header.is-scrolled{background:#07162cf2;backdrop-filter:blur(18px);box-shadow:0 8px 30px #081b2e35}
.b4-pricing .b4p-nav-wrap{min-height:89px;display:flex;align-items:center;gap:36px}
.b4-pricing .b4p-brand{direction:ltr;display:inline-flex;align-items:center;gap:11px;white-space:nowrap;flex:none}
.b4-pricing .b4p-logo{width:47px;height:47px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(136deg,#96f6d9,#52c4e6 56%,#8273ff);box-shadow:inset 0 1px 2px #ffffff77,0 5px 21px #23bce64a;color:#061936}
.b4-pricing .b4p-logo svg{width:27px;height:27px;stroke-width:2.6}
.b4-pricing .b4p-brand-name{display:flex;align-items:baseline;color:#fff;font-weight:900;font-size:27px;line-height:1;letter-spacing:-.07em;position:relative;padding-bottom:10px}
.b4-pricing .b4p-brand-name>span{color:#9af8e4}
.b4-pricing .b4p-brand-name small{position:absolute;left:0;bottom:-1px;letter-spacing:.23em;color:#93a8c7;font:700 7px/1 Arial,sans-serif}
.b4-pricing .b4p-nav{display:flex;align-items:center;gap:30px;flex:1}
.b4-pricing .b4p-nav>a{font-size:12px;font-weight:800;color:#acbfd9!important;white-space:nowrap;transition:color .2s}
.b4-pricing .b4p-nav>a:hover{color:#a2ffe8!important}
.b4-pricing .b4p-nav-actions{display:flex;align-items:center;gap:18px;margin-right:auto}
.b4-pricing .b4p-login{font-size:12px;color:#cbd5ea!important;font-weight:800;white-space:nowrap}
.b4-pricing .b4p-login:hover{color:#fff!important}
.b4-pricing .b4p-menu-btn,.b4-pricing .b4p-mobile-actions{display:none}
.b4-pricing .b4p-btn-quiet{background:#ffffff12;color:#fff!important;border:1px solid #ffffff35}

/* Hero */
.b4-pricing .b4p-hero{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 76% 30%,#172a54 0%,#0a1a35 43%,#061327 84%);color:#fff}
.b4-pricing .b4p-orb{position:absolute;z-index:-1;pointer-events:none;border-radius:50%}
.b4-pricing .b4p-orb-one{width:850px;height:850px;right:-190px;top:-350px;background:radial-gradient(circle,#5041dd57 0%,#3733972a 37%,transparent 68%)}
.b4-pricing .b4p-orb-two{width:740px;height:740px;left:-290px;bottom:-390px;background:radial-gradient(circle,#17cdcb35,transparent 66%)}
.b4-pricing .b4p-grid-lines{position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#ffffff09 1px,transparent 1px),linear-gradient(90deg,#ffffff09 1px,transparent 1px);background-size:61px 61px;mask-image:linear-gradient(to bottom,#0009,transparent)}
.b4-pricing .b4p-hero-content{display:grid;grid-template-columns:1.03fr .97fr;align-items:center;gap:40px;min-height:576px;padding-block:67px 65px}
.b4-pricing .b4p-hero-main{position:relative;z-index:2}
.b4-pricing .b4p-eyebrow{display:inline-flex;align-items:center;gap:9px;border:1px solid #a7f7fc38;border-radius:99px;padding:9px 15px;margin-bottom:24px;background:#ffffff12;color:#bdd2e9;font-size:10px;font-weight:800;white-space:nowrap}
.b4-pricing .b4p-eyebrow svg{width:15px;height:15px;color:#abf4e4}
.b4-pricing .b4p-eyebrow span:last-child{color:#eafcff}
.b4-pricing .b4p-led{width:7px;height:7px;display:inline-block;border-radius:50%;background:#61eeb8;box-shadow:0 0 0 5px #4fd8ba25}
.b4-pricing .b4p-hero h1{font-size:clamp(38px,4.3vw,62px);font-weight:900;color:#fff;line-height:1.45;margin-bottom:17px}
.b4-pricing .b4p-hero h1 em,.b4-pricing .b4p-section-head h2 em,.b4-pricing .b4p-faq-intro h2 em{font-style:normal;color:#7ce9d8}
.b4-pricing .b4p-hero h1 em{background:linear-gradient(92deg,#85f4d6,#6ac9fa 44%,#b59bff);color:transparent;-webkit-background-clip:text;background-clip:text}
.b4-pricing .b4p-hero-main>p{max-width:520px;color:#b0c1da;font-size:14px;line-height:2.05;margin-bottom:29px}
.b4-pricing .b4p-hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin-bottom:28px}
.b4-pricing .b4p-btn-glass{background:#ffffff15;border:1px solid #ffffff3a;color:#e8f2ff!important}
.b4-pricing .b4p-btn-glass:hover{background:#ffffff21;color:#fff!important}
.b4-pricing .b4p-trust-line{display:flex;flex-wrap:wrap;gap:14px;color:#9fb5d0;font-size:10px;font-weight:750}
.b4-pricing .b4p-trust-line span{display:inline-flex;align-items:center;gap:5px}
.b4-pricing .b4p-trust-line svg{width:13px;height:13px;color:#61e9bb}
.b4-pricing .b4p-hero-art{height:420px;position:relative;display:grid;place-items:center}
.b4-pricing .b4p-art-ring{width:min(420px,98%);height:400px;max-height:100%;border:1px solid #94b7fe20;border-radius:50%;position:absolute;box-shadow:0 0 0 45px #779bff09,0 0 0 90px #819bff04}
.b4-pricing .b4p-art-central{width:257px;height:289px;border-radius:38px;border:1px solid #9fc8ff54;background:linear-gradient(155deg,#213b77d9,#1a225de8 60%,#3b2b87e8);box-shadow:0 32px 98px #0007,inset 0 1px 1px #ffffff48;display:flex;align-items:center;justify-content:center;flex-direction:column;transform:rotate(-7deg);backdrop-filter:blur(15px);position:relative;z-index:1}
.b4-pricing .b4p-art-logo{width:101px;height:101px;display:grid;place-items:center;border-radius:28px;background:linear-gradient(140deg,#90fce1,#80c9fa 52%,#b4a2ff);color:#11204b;box-shadow:0 18px 42px #0c124e45;margin-bottom:20px}
.b4-pricing .b4p-art-logo svg{width:52px;height:52px;stroke-width:2.3}
.b4-pricing .b4p-art-central>strong{font:bold 37px/1 Arial,sans-serif;color:#fff;letter-spacing:-.05em}
.b4-pricing .b4p-art-central>span:not(.b4p-art-stars){font:700 9px/2 Arial,sans-serif;color:#a8b5de;letter-spacing:.27em}
.b4-pricing .b4p-art-stars{position:absolute;top:18px;right:24px;color:#88f7e4}
.b4-pricing .b4p-art-stars svg{width:19px;height:19px}
.b4-pricing .b4p-art-lines{display:flex;gap:5px;margin-top:21px}
.b4-pricing .b4p-art-lines i{width:23px;height:4px;border-radius:4px;background:#a8b2fe}
.b4-pricing .b4p-art-lines i:nth-child(2){background:#63e0d1;width:43px}
.b4-pricing .b4p-art-lines i:nth-child(3){background:#f6add0;width:14px}
.b4-pricing .b4p-hero-feature{position:absolute;z-index:2;border-radius:15px;padding:11px 14px;background:#fff;box-shadow:0 19px 49px #010a1938;border:1px solid #e4edfa;display:flex;align-items:center;gap:10px;color:#1d3553;min-width:170px;animation:b4p-drift 6s ease-in-out infinite}
.b4-pricing .b4p-hero-feature>span:nth-child(2){display:flex;flex-direction:column;gap:2px}
.b4-pricing .b4p-hero-feature strong{font-size:11px;font-weight:900}
.b4-pricing .b4p-hero-feature small{font-size:9px;color:#8193a9}
.b4-pricing .b4p-art-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px}
.b4-pricing .b4p-art-icon svg{width:19px;height:19px}
.b4-pricing .b4p-cyan{color:#0dbbab;background:#dff9f3}
.b4-pricing .b4p-purple{color:#7760e9;background:#ede7ff}
.b4-pricing .b4p-orange{color:#ef9454;background:#fff0df}
.b4-pricing .b4p-art-tick{margin-right:auto;color:#13bfa5}
.b4-pricing .b4p-art-tick svg{width:16px;height:16px}
.b4-pricing .b4p-feature-a{top:21px;left:-7px}
.b4-pricing .b4p-feature-b{right:-5px;bottom:23px;animation-delay:-1.7s}
.b4-pricing .b4p-feature-c{bottom:11px;left:17px;animation-delay:-3s}
@keyframes b4p-drift{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.b4-pricing .b4p-hero-end{border-top:1px solid #ffffff19;background:#06172c5c}
.b4-pricing .b4p-hero-end>.b4p-container{min-height:59px;display:flex;gap:15px;align-items:center;justify-content:space-between;color:#a1b4d1;font-size:11px;font-weight:750}
.b4-pricing .b4p-hero-end a{display:inline-flex;align-items:center;gap:8px;color:#82efda!important;font-weight:850;white-space:nowrap}
.b4-pricing .b4p-hero-end a svg{width:16px;height:16px}

/* Section headings */
.b4-pricing .b4p-section{padding:104px 0}
.b4-pricing .b4p-section-head{max-width:800px;margin:0 auto 42px}
.b4-pricing .b4p-center{text-align:center}
.b4-pricing .b4p-kicker{display:inline-flex;gap:9px;align-items:center;color:#6d5edc;font-size:11px;font-weight:900;margin-bottom:13px}
.b4-pricing .b4p-kicker>span{width:8px;height:8px;background:linear-gradient(135deg,#7a63ee,#3bd6c1);transform:rotate(45deg);border-radius:2px}
.b4-pricing .b4p-section-head h2,.b4-pricing .b4p-faq-intro h2{font-size:clamp(29px,3.2vw,44px);line-height:1.5;font-weight:900;color:#1a2c49;margin-bottom:12px}
.b4-pricing .b4p-section-head h2 em,.b4-pricing .b4p-faq-intro h2 em{color:#7260e5}
.b4-pricing .b4p-section-head p{font-size:13px;color:#72849d;line-height:2;max-width:640px;margin:0 auto}

/* Pricing engine */
.b4-pricing .b4p-prices{background:linear-gradient(180deg,#f6f9fd 0%,#f2f7fd 100%);scroll-margin-top:78px}
.b4-pricing .b4p-period-area{display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:center;margin:0 auto 36px}
.b4-pricing .b4p-period-label{font-size:12px;font-weight:900;color:#415875}
.b4-pricing .b4p-period-control{padding:6px;background:#fff;border:1px solid #dfe7f7;border-radius:17px;display:flex;align-items:center;gap:4px;box-shadow:0 10px 35px #2034510b}
.b4-pricing .b4p-period{font-weight:900;font-size:13px;color:#50627d;border:0;border-radius:12px;padding:11px 32px;background:transparent;min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;transition:background .18s,box-shadow .18s,color .18s}
.b4-pricing .b4p-period svg{width:17px;height:17px}
.b4-pricing .b4p-period.is-selected{background:linear-gradient(100deg,#7564f2,#5550e8);color:#fff;box-shadow:0 8px 18px #6357e63c}
.b4-pricing .b4p-period-note{font-size:10px;color:#95a0b1;text-align:center;margin:0;line-height:1.6}
.b4-pricing .b4p-packages-wrap{position:relative;min-height:170px}
.b4-pricing .b4p-loading{display:none;position:absolute;inset:0;z-index:5;min-height:170px;border-radius:23px;background:#f6f9fbe8;backdrop-filter:blur(8px);align-items:center;justify-content:center;gap:13px;flex-direction:column;color:#685de2;font-size:13px;font-weight:900}
.b4-pricing .b4p-packages-wrap.is-loading .b4p-loading{display:flex}
.b4-pricing .b4p-spinner{border:3px solid #d9d8ff;border-top-color:#6657e3;border-radius:50%;height:37px;width:37px;animation:b4p-spin .85s linear infinite}
@keyframes b4p-spin{to{transform:rotate(360deg)}}
.b4-pricing .b4p-results{min-height:140px}
.b4-pricing .b4p-results-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.b4-pricing .b4p-results-label{display:inline-flex;gap:9px;align-items:center;font-size:12px;font-weight:900;color:#3e5372}
.b4-pricing .b4p-results-label svg{color:#675cec;width:17px;height:17px}
.b4-pricing .b4p-results-hint{font-size:11px;color:#8c9bb0}
.b4-pricing .b4p-categories{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;align-items:center;margin:5px 0 33px}
.b4-pricing .b4p-filter{display:inline-flex;gap:8px;align-items:center;justify-content:center;background:#fff;border:1px solid #e1e9f5;box-shadow:0 6px 15px #1b3f6508;border-radius:99px;padding:10px 19px;min-height:43px;font-size:12px;font-weight:850;color:#64728d;transition:background .2s,color .2s,border-color .2s,transform .2s}
.b4-pricing .b4p-filter:hover{border-color:#bcb4ef;transform:translateY(-2px)}
.b4-pricing .b4p-filter.is-selected{background:#1c2b58;color:#fff;border-color:#1c2b58;box-shadow:0 10px 30px #14245d20}
.b4-pricing .b4p-filter :is(svg,img){width:18px;height:18px;object-fit:contain}
.b4-pricing .b4p-filter i{font-size:15px}
.b4-pricing .b4p-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.b4-pricing .b4p-plan-card{width:auto!important;max-width:none!important;min-width:0;min-height:540px;margin:12px 0 0!important;padding:0!important;float:none!important;background:#fff;border:1px solid #e1e9f7;border-radius:24px;box-shadow:0 17px 44px #20385412;position:relative;display:flex;flex-direction:column;overflow:visible;transition:transform .25s,box-shadow .25s,border-color .25s}
.b4-pricing .b4p-plan-card:hover{transform:translateY(-6px);box-shadow:0 30px 70px #20385424;border-color:#cec8f7}
.b4-pricing .b4p-plan-card:nth-child(3n+1){--b4p-card-accent:#7564e8;--b4p-card-bg:#eae6ff}
.b4-pricing .b4p-plan-card:nth-child(3n+2){--b4p-card-accent:#15b7aa;--b4p-card-bg:#dff8f1}
.b4-pricing .b4p-plan-card:nth-child(3n){--b4p-card-accent:#e88a5b;--b4p-card-bg:#fff0e2}
.b4-pricing .b4p-plan-card.b4p-popular{border:2px solid #7765ea;box-shadow:0 22px 58px #6860de2b;background:linear-gradient(#fff,#fcfbff);--b4p-card-accent:#705be6;--b4p-card-bg:#eae6ff}
.b4-pricing .b4p-popular-badge{position:absolute;z-index:2;left:50%;top:-20px;transform:translateX(-50%);background:linear-gradient(110deg,#6e5bea,#9a76ee);color:#fff;font-size:11px;font-weight:900;padding:9px 21px;white-space:nowrap;display:inline-flex;align-items:center;gap:7px;border-radius:99px;box-shadow:0 9px 20px #5a4dce46}
.b4-pricing .b4p-popular-badge svg{width:15px;height:15px}
.b4-pricing .b4p-card-heading{padding:32px 27px 13px;position:relative}
.b4-pricing .b4p-plan-icon{width:60px;height:60px;display:grid;place-items:center;background:var(--b4p-card-bg);color:var(--b4p-card-accent);border-radius:18px;margin-bottom:18px}
.b4-pricing .b4p-plan-icon svg{width:27px;height:27px}
.b4-pricing .b4p-plan-icon img{width:40px;height:40px;object-fit:contain}
.b4-pricing .b4p-plan-label{display:block;color:var(--b4p-card-accent);font-size:10px;font-weight:900;margin-bottom:5px}
.b4-pricing .b4p-plan-name{font-size:23px;font-weight:900;color:#1e3555;margin:0 0 7px;line-height:1.45}
.b4-pricing .b4p-plan-description{font-size:11px;color:#7e90a7;line-height:1.9;min-height:23px;margin-bottom:0}
.b4-pricing .b4p-plan-price{margin:8px 26px 22px;padding:16px 18px;background:linear-gradient(117deg,#f1f4ff,#f7fbff 64%,#edfafa);border:1px solid #e9eefb;border-radius:17px}
.b4-pricing .b4p-plan-value{font-size:clamp(23px,2.2vw,33px);line-height:1.5;font-weight:900;color:#1f416c;direction:rtl;white-space:normal;overflow-wrap:anywhere}
.b4-pricing .b4p-plan-value .display_currency{color:#1f416c!important;font-weight:900!important}
.b4-pricing .b4p-plan-free{color:#09a98a}
.b4-pricing .b4p-plan-duration{font-size:11px;color:#72859b;font-weight:800}
.b4-pricing .b4p-plan-contents{padding:0 26px;flex:1}
.b4-pricing .b4p-includes-heading{color:#2a4060;font-size:11px;font-weight:900;margin:0 0 9px}
.b4-pricing .b4p-feature-list{list-style:none;padding:0;margin:0}
.b4-pricing .b4p-feature-list li{display:flex;align-items:flex-start;gap:10px;color:#495f7d!important;font-size:12px;font-weight:700;line-height:1.75;padding:8px 0;border-bottom:1px solid #edf1f8}
.b4-pricing .b4p-feature-list li:last-child{border:0}
.b4-pricing .b4p-list-icon{width:22px;height:22px;border-radius:8px;background:#e8f7f4;color:#0caf9b;display:grid;place-items:center;flex:none;margin-top:0}
.b4-pricing .b4p-list-icon svg{width:13px;height:13px}
.b4-pricing .b4p-trial-line .b4p-list-icon{color:#725ae8;background:#ede9ff}
.b4-pricing .b4p-card-bottom{margin-top:auto;padding:22px 26px 26px}
.b4-pricing .b4p-plan-button{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;background:#1c2d5b;border:1px solid #1c2d5b;border-radius:13px;padding:13px 14px;min-height:49px;font-size:13px;font-weight:900;color:#fff!important;box-shadow:0 9px 25px #25375e24;cursor:pointer;transition:background .2s,transform .2s,box-shadow .2s}
.b4-pricing .b4p-plan-button:hover,.b4-pricing .b4p-plan-button:focus{color:#fff!important;background:#253e74;transform:translateY(-2px);box-shadow:0 14px 29px #263a5f37}
.b4-pricing .b4p-plan-button svg{width:17px;height:17px}
.b4-pricing .b4p-plan-button-highlight{background:linear-gradient(110deg,#7463f1,#5651ed);border:0;box-shadow:0 11px 30px #6358de4a}
.b4-pricing .b4p-plan-button-highlight:hover{background:linear-gradient(110deg,#8879fc,#6860f3)}
.b4-pricing .b4p-plan-note{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:12px;font-size:9px;color:#90a0b3;text-align:center}
.b4-pricing .b4p-plan-note svg{width:13px;height:13px;color:#19bbaa}

/* Dynamic add-on selector */
.b4-pricing .b4p-addon-details{border:1px solid #e5e9f7;border-radius:13px;overflow:hidden;background:#f9faff;margin-bottom:15px}
.b4-pricing .b4p-addon-details summary{list-style:none;cursor:pointer;padding:12px;display:flex;justify-content:space-between;gap:9px;align-items:center;font-weight:850;font-size:11px;color:#395372}
.b4-pricing .b4p-addon-details summary::-webkit-details-marker{display:none}
.b4-pricing .b4p-addon-summary-left{display:inline-flex;gap:8px;align-items:center}
.b4-pricing .b4p-addon-summary-left svg{width:17px;height:17px;color:#695be8}
.b4-pricing .b4p-addon-expand{transition:transform .2s}
.b4-pricing .b4p-addon-expand svg{width:15px;height:15px}
.b4-pricing .b4p-addon-details[open] .b4p-addon-expand{transform:rotate(180deg)}
.b4-pricing .b4p-addon-options{border-top:1px solid #e6ebf7;padding:12px}
.b4-pricing .b4p-addon-options>p{font-size:10px;color:#778ba4;line-height:1.85;margin:0 0 9px}
.b4-pricing .b4p-addon-option{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px!important;margin:6px 0!important;border:1px solid #e4e9f5;border-radius:11px;background:#fff;color:#47617b!important;font-weight:800;font-size:10px;cursor:pointer}
.b4-pricing .b4p-addon-option.sa-selected{background:#efedff;border-color:#bcb4ff}
.b4-pricing .b4p-addon-option input{accent-color:#6e58e8;width:16px;height:16px;vertical-align:middle;margin:0 0 0 7px}
.b4-pricing .b4p-addon-name{display:inline-flex;align-items:center;gap:5px;min-width:0;overflow-wrap:anywhere}
.b4-pricing .b4p-addon-option .sa-module-cost{color:#345876;white-space:nowrap;font-size:10px}
.b4-pricing .b4p-price-breakdown{border:1px solid #e1e7f5;border-radius:12px;overflow:hidden;background:#fff;margin-top:13px}
.b4-pricing .b4p-price-breakdown>div{padding:8px 11px;display:flex;justify-content:space-between;align-items:center;gap:8px;color:#698099;font-size:10px}
.b4-pricing .b4p-price-breakdown strong{color:#274361;font-size:11px}
.b4-pricing .b4p-price-breakdown .b4p-price-total{background:linear-gradient(95deg,#665aec,#3e82ad);color:#fff;font-size:11px;font-weight:900}
.b4-pricing .b4p-price-breakdown .b4p-price-total strong{color:#fff;font-size:13px}
.b4-pricing .b4p-addon-disclaimer{margin:9px 0 0!important;color:#7d90a9!important;font-size:9px!important}
.b4-pricing .b4p-no-filter-results{padding:30px 12px;border:1px dashed #bfcae0;background:#fff;border-radius:14px;text-align:center;font-size:12px;color:#7588a4}
.b4-pricing [hidden]{display:none!important}
.b4-pricing .b4p-empty-state{max-width:710px;margin:14px auto;text-align:center;padding:60px 25px;background:#fff;border:1px dashed #cad4e7;border-radius:23px}
.b4-pricing .b4p-empty-icon{width:72px;height:72px;background:#ebe9ff;color:#6659e5;border-radius:21px;margin:0 auto 19px;display:grid;place-items:center}
.b4-pricing .b4p-empty-icon svg{width:34px;height:34px}
.b4-pricing .b4p-empty-state h3{font-size:20px;font-weight:900;color:#27425f;margin-bottom:7px}
.b4-pricing .b4p-empty-state p{font-size:12px;color:#8293aa;margin-bottom:20px}
.b4-pricing .b4p-change-period{background:#6259e8;color:#fff;padding:11px 21px;border-radius:11px;font-weight:850;font-size:11px;border:0;display:inline-flex;align-items:center;gap:10px}
.b4-pricing .b4p-change-period svg{width:16px;height:16px}
.b4-pricing .b4p-prices-footer{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:#7d91aa;margin-top:31px;text-align:center}
.b4-pricing .b4p-prices-footer svg{width:18px;height:18px;color:#13b79a}

/* Four distinct colorful benefits */
.b4-pricing .b4p-benefits{background:#fff}
.b4-pricing .b4p-benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.b4-pricing .b4p-benefit{border:1px solid #e8edf8;background:#fff;border-radius:21px;padding:25px;position:relative;overflow:hidden;min-height:244px;transition:transform .25s,box-shadow .25s}
.b4-pricing .b4p-benefit:hover{transform:translateY(-6px);box-shadow:0 20px 45px #152b5118}
.b4-pricing .b4p-benefit-purple{--b4p-benefit:#765fea;--b4p-benefit-soft:#ece8ff}
.b4-pricing .b4p-benefit-teal{--b4p-benefit:#12b8a5;--b4p-benefit-soft:#dff7f0}
.b4-pricing .b4p-benefit-pink{--b4p-benefit:#e876a3;--b4p-benefit-soft:#ffe4ef}
.b4-pricing .b4p-benefit-orange{--b4p-benefit:#e79757;--b4p-benefit-soft:#fff0e0}
.b4-pricing .b4p-benefit-icon{display:grid;place-items:center;width:60px;height:60px;border-radius:17px;color:var(--b4p-benefit);background:var(--b4p-benefit-soft);margin-bottom:22px}
.b4-pricing .b4p-benefit-icon svg{width:27px;height:27px}
.b4-pricing .b4p-benefit-index{position:absolute;top:24px;left:24px;font-size:15px;font-weight:900;color:#d1d9e7}
.b4-pricing .b4p-benefit h3{font-size:17px;color:#2a405d;font-weight:900;margin-bottom:9px}
.b4-pricing .b4p-benefit p{font-size:11px;color:#8696ad;line-height:2;margin:0}

/* FAQ */
.b4-pricing .b4p-faq{background:#f5f8fc}
.b4-pricing .b4p-faq-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:100px;align-items:start}
.b4-pricing .b4p-faq-intro h2 em{font-style:normal}
.b4-pricing .b4p-faq-intro p{font-size:13px;line-height:2.05;color:#798ba2;margin-bottom:22px}
.b4-pricing .b4p-inline-link{color:#6155e6!important;font-size:12px;font-weight:900;border-bottom:1px solid #b3a9ee;padding-bottom:5px;display:inline-flex;gap:8px;align-items:center}
.b4-pricing .b4p-inline-link svg{width:16px;height:16px}
.b4-pricing .b4p-faq-list{display:flex;flex-direction:column;gap:10px}
.b4-pricing .b4p-faq-item{border:1px solid #e3eaf5;background:#fff;border-radius:15px;box-shadow:0 9px 23px #1734520b;overflow:hidden}
.b4-pricing .b4p-faq-item[open]{border-color:#d6d0fc}
.b4-pricing .b4p-faq-item summary{cursor:pointer;list-style:none;padding:18px 21px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#2a4260;font-size:12px;font-weight:900}
.b4-pricing .b4p-faq-item summary::-webkit-details-marker{display:none}
.b4-pricing .b4p-faq-item summary svg{width:17px;height:17px;color:#7866e4;transition:transform .2s}
.b4-pricing .b4p-faq-item[open] summary svg{transform:rotate(45deg)}
.b4-pricing .b4p-faq-item>p{font-size:12px;color:#7d8fa6;padding:0 21px 19px;line-height:2;margin:0}

/* Final CTA */
.b4-pricing .b4p-final{padding-top:24px;background:#f5f8fc}
.b4-pricing .b4p-cta{border-radius:30px;position:relative;isolation:isolate;overflow:hidden;min-height:355px;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:50px 65px;background:linear-gradient(105deg,#493fd0,#6251ec 54%,#6950df);box-shadow:0 30px 85px #4442ae38;color:#fff}
.b4-pricing .b4p-cta-glow{position:absolute;z-index:-1;left:-100px;bottom:-270px;width:620px;height:620px;background:radial-gradient(circle,#70ddf98a,transparent 65%);pointer-events:none}
.b4-pricing .b4p-cta-copy{position:relative;z-index:2}
.b4-pricing .b4p-cta-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:99px;background:#ffffff24;color:#e9f6ff;font-weight:900;font-size:10px;margin-bottom:12px}
.b4-pricing .b4p-cta-eyebrow svg{width:15px;height:15px;color:#99f9e2}
.b4-pricing .b4p-cta h2{font-size:clamp(29px,3.6vw,44px);line-height:1.5;color:#fff;font-weight:900;margin-bottom:12px}
.b4-pricing .b4p-cta h2 em{font-style:normal;color:#a5ffeb}
.b4-pricing .b4p-cta p{font-size:13px;color:#edeaff;line-height:2;margin-bottom:21px}
.b4-pricing .b4p-cta-actions{display:flex;gap:12px;flex-wrap:wrap}
.b4-pricing .b4p-btn-white{background:#fff;color:#5748db!important;box-shadow:0 11px 35px #0c0c5c30}
.b4-pricing .b4p-btn-white:hover{background:#f5f7ff;color:#5143cc!important}
.b4-pricing .b4p-btn-outline{color:#fff!important;background:#ffffff12;border:1px solid #ffffff75}
.b4-pricing .b4p-btn-outline:hover{background:#ffffff23}
.b4-pricing .b4p-cta-art{width:270px;height:230px;display:grid;place-items:center;position:relative;flex:none}
.b4-pricing .b4p-cta-art>div{width:160px;height:160px;border:1px solid #ffffff91;background:#ffffff29;border-radius:42px;display:grid;place-items:center;transform:rotate(-14deg);box-shadow:0 22px 50px #25188040}
.b4-pricing .b4p-cta-art>div svg{width:77px;height:77px;transform:rotate(14deg);stroke-width:1.4}
.b4-pricing .b4p-mini{position:absolute;width:59px;height:59px;border-radius:16px;background:#ffffff42;border:1px solid #ffffff90;display:grid;place-items:center;backdrop-filter:blur(9px)}
.b4-pricing .b4p-mini svg{width:28px;height:28px}
.b4-pricing .b4p-mini-one{right:5px;top:0}
.b4-pricing .b4p-mini-two{bottom:0;left:5px}
.b4-pricing .b4p-mini-three{top:5px;left:0}

/* Footer */
.b4-pricing .b4p-footer{background:#071527;border-top:1px solid #17314a;color:#9eafc9;padding:61px 0 22px}
.b4-pricing .b4p-footer-main{display:flex;align-items:center;gap:28px;justify-content:space-between;padding-bottom:45px;border-bottom:1px solid #ffffff18}
.b4-pricing .b4p-footer-main>p{font-size:11px;color:#91a7c2;max-width:340px;margin:0}
.b4-pricing .b4p-footer-links{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.b4-pricing .b4p-footer-links a{color:#aabbd2!important;font-size:11px;font-weight:800}
.b4-pricing .b4p-footer-links a:hover{color:#93fae0!important}
.b4-pricing .b4p-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:10px;color:#8298b4;padding-top:21px}
.b4-pricing .b4p-footer-bottom a{color:#91e7d6!important;font-weight:900}

/* Responsive layouts */
@media(max-width:1160px){
 .b4-pricing .b4p-nav-wrap{gap:21px}
 .b4-pricing .b4p-nav{gap:17px}
 .b4-pricing .b4p-hero-content{gap:14px}
 .b4-pricing .b4p-hero h1{font-size:47px}
 .b4-pricing .b4p-hero-feature{min-width:140px}
 .b4-pricing .b4p-feature-a{left:0}
 .b4-pricing .b4p-feature-c{left:0}
 .b4-pricing .b4p-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .b4-pricing .b4p-faq-layout{gap:48px}
}
@media(max-width:950px){
 .b4-pricing .b4p-nav-wrap{min-height:76px}
 .b4-pricing .b4p-menu-btn{display:grid;place-items:center;width:44px;height:44px;color:#fff;background:#ffffff0d;border:1px solid #ffffff35;border-radius:12px;margin-right:auto}
 .b4-pricing .b4p-menu-btn .b4p-close-icon{display:none}
 .b4-pricing .b4p-menu-btn[aria-expanded=true] .b4p-menu-icon{display:none}
 .b4-pricing .b4p-menu-btn[aria-expanded=true] .b4p-close-icon{display:block}
 .b4-pricing .b4p-nav{position:absolute;top:100%;left:15px;right:15px;z-index:60;display:none;flex-direction:column;align-items:stretch;gap:0;background:#0d1d38;border:1px solid #2b4165;border-radius:0 0 20px 20px;padding:17px;box-shadow:0 25px 50px #0007;max-height:calc(100dvh - 90px);overflow-y:auto}
 .b4-pricing .b4p-nav.is-open{display:flex}
 .b4-pricing .b4p-nav>a{padding:11px 12px;font-size:13px;border-radius:9px}
 .b4-pricing .b4p-nav>a:hover{background:#ffffff16}
 .b4-pricing .b4p-mobile-actions{display:flex;flex-direction:column;gap:9px;border-top:1px solid #ffffff22;margin-top:13px;padding-top:17px}
 .b4-pricing .b4p-nav-actions{display:none}
 .b4-pricing .b4p-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .b4-pricing .b4p-faq-layout{grid-template-columns:1fr;gap:32px}
 .b4-pricing .b4p-hero-content{grid-template-columns:1fr;gap:25px;text-align:center}
 .b4-pricing .b4p-hero-main>p{margin-inline:auto}
 .b4-pricing .b4p-hero-actions,.b4-pricing .b4p-trust-line{justify-content:center}
 .b4-pricing .b4p-hero-art{max-width:540px;width:100%;margin:auto}
 .b4-pricing .b4p-cta-art{display:none}
 .b4-pricing .b4p-footer-main{flex-wrap:wrap}
}
@media(max-width:620px){
 .b4-pricing .b4p-container{width:calc(100% - 34px)}
 .b4-pricing .b4p-nav-wrap{min-height:68px}
 .b4-pricing .b4p-logo{width:40px;height:40px;border-radius:11px}
 .b4-pricing .b4p-logo svg{width:23px;height:23px}
 .b4-pricing .b4p-brand-name{font-size:24px}
 .b4-pricing .b4p-hero-content{padding-block:56px 33px}
 .b4-pricing .b4p-eyebrow{padding:8px 12px;font-size:9px}
 .b4-pricing .b4p-hero h1{font-size:38px;line-height:1.46}
 .b4-pricing .b4p-hero-main>p{font-size:12px}
 .b4-pricing .b4p-hero-actions{gap:8px}
 .b4-pricing .b4p-btn-big{padding:13px 17px;font-size:11px;min-height:48px}
 .b4-pricing .b4p-trust-line{font-size:9px;gap:9px}
 .b4-pricing .b4p-hero-art{height:340px}
 .b4-pricing .b4p-art-central{width:196px;height:215px;border-radius:28px}
 .b4-pricing .b4p-art-logo{width:72px;height:72px;border-radius:21px;margin-bottom:13px}
 .b4-pricing .b4p-art-logo svg{width:39px;height:39px}
 .b4-pricing .b4p-art-central>strong{font-size:29px}
 .b4-pricing .b4p-art-ring{width:290px;height:290px}
 .b4-pricing .b4p-hero-feature{min-width:135px;padding:8px 10px;gap:5px;border-radius:11px}
 .b4-pricing .b4p-hero-feature strong{font-size:9px}
 .b4-pricing .b4p-hero-feature small{font-size:8px}
 .b4-pricing .b4p-art-icon{width:29px;height:29px;border-radius:9px}
 .b4-pricing .b4p-art-icon svg{width:15px;height:15px}
 .b4-pricing .b4p-feature-a{top:13px;left:2px}
 .b4-pricing .b4p-feature-b{right:0;bottom:13px}
 .b4-pricing .b4p-feature-c{display:none}
 .b4-pricing .b4p-hero-end>.b4p-container{min-height:54px;font-size:9px}
 .b4-pricing .b4p-section{padding:70px 0}
 .b4-pricing .b4p-section-head{margin-bottom:30px}
 .b4-pricing .b4p-section-head h2,.b4-pricing .b4p-faq-intro h2{font-size:28px}
 .b4-pricing .b4p-section-head p{font-size:12px}
 .b4-pricing .b4p-period{padding:10px 25px;font-size:12px}
 .b4-pricing .b4p-card-grid{grid-template-columns:1fr;gap:25px}
 .b4-pricing .b4p-plan-card{min-height:0}
 .b4-pricing .b4p-plan-card:hover{transform:none}
 .b4-pricing .b4p-results-top{align-items:flex-start}
 .b4-pricing .b4p-results-hint{font-size:10px}
 .b4-pricing .b4p-categories{gap:7px}
 .b4-pricing .b4p-filter{font-size:10px;padding:9px 13px;min-height:40px}
 .b4-pricing .b4p-benefit-grid{grid-template-columns:1fr;gap:12px}
 .b4-pricing .b4p-benefit{min-height:0;padding:23px}
 .b4-pricing .b4p-faq-item summary{font-size:11px}
 .b4-pricing .b4p-cta{padding:38px 25px;min-height:0;border-radius:22px}
 .b4-pricing .b4p-cta h2{font-size:31px}
 .b4-pricing .b4p-cta p{font-size:11px}
 .b4-pricing .b4p-final{padding-top:15px}
 .b4-pricing .b4p-cta-actions .b4p-btn{width:100%}
 .b4-pricing .b4p-footer-main{gap:20px;padding-bottom:32px}
 .b4-pricing .b4p-footer-bottom{flex-direction:column;text-align:center}
}
@media(max-width:360px){
 .b4-pricing .b4p-hero h1{font-size:32px}
 .b4-pricing .b4p-hero-actions{flex-direction:column}
 .b4-pricing .b4p-hero-actions .b4p-btn{width:100%}
 .b4-pricing .b4p-hero-feature{min-width:113px}
 .b4-pricing .b4p-feature-a{left:-4px}
}
@media(prefers-reduced-motion:reduce){
 .b4-pricing *, .b4-pricing *:before,.b4-pricing *:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}


/* B4POS pricing v2 — isolated, local font and scalable optional-module picker. */
/* Cairo subset font files already deployed with the ERP; no extra font
   downloads in the release archive and no Google Fonts dependency. */
@font-face{
  font-family:"B4POS Cairo";
  font-style:normal;
  font-weight:200 1000;
  font-display:swap;
  src:url("/fonts/bs-cairo/Cairo-arabic.woff2") format("woff2");
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+08A0-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FEFC;
}
@font-face{
  font-family:"B4POS Cairo";
  font-style:normal;
  font-weight:200 1000;
  font-display:swap;
  src:url("/fonts/bs-cairo/Cairo-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"B4POS Cairo";
  font-style:normal;
  font-weight:200 1000;
  font-display:swap;
  src:url("/fonts/bs-cairo/Cairo-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Force consistent typography within the pricing document only.
   Icon fonts are excluded so FontAwesome does not become squares. */
.b4-pricing,
.b4-pricing *:not(svg):not(i):not([class*="fa-"]):not([class~="fa"]),
.b4-pricing *:not(svg):not(i):not([class*="fa-"]):not([class~="fa"])::before,
.b4-pricing *:not(svg):not(i):not([class*="fa-"]):not([class~="fa"])::after{
  font-family:"B4POS Cairo","Cairo",Tahoma,Arial,sans-serif!important;
}
.b4-pricing .b4p-brand-name,
.b4-pricing .b4p-art-central>strong{
  font-weight:900!important;
  letter-spacing:-.04em;
}
/* Pricing card: fixed-size launcher replaces unbounded details list on JS
   capable browsers. Original <details> remain available when JS is off. */
.b4-pricing .b4p-addon-launcher[hidden],
.b4-pricing .b4p-addon-quick-line[hidden],
.b4-pricing .b4p-addon-dialog-pages[hidden],
.b4-pricing .b4p-addon-dialog-empty[hidden]{
  display:none!important;
}
.b4-pricing .b4p-addon-enhanced .b4p-addon-details{
  display:none!important;
}
.b4-pricing .b4p-addon-launcher{
  display:block;
  margin-bottom:17px;
}
.b4-pricing .b4p-addon-pick-btn{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  padding:13px 12px;
  min-height:73px;
  border:1.5px solid #ccd5f8;
  background:linear-gradient(105deg,#f7f5ff 0%,#f4fbff 90%);
  border-radius:14px;
  color:#253f66!important;
  box-shadow:0 8px 20px #322a990e;
  text-align:right;
  transition:transform .2s,box-shadow .2s,border-color .2s;
}
.b4-pricing .b4p-addon-pick-btn:hover{
  border-color:#7968ee;
  box-shadow:0 12px 25px #6652c62a;
  transform:translateY(-2px);
}
.b4-pricing .b4p-addon-pick-icon{
  width:42px;height:42px;
  border-radius:12px;
  background:#ebe7ff;
  color:#7664df;
  display:grid;place-items:center;
  flex:none;
}
.b4-pricing .b4p-addon-pick-icon svg{width:20px;height:20px}
.b4-pricing .b4p-addon-pick-copy{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.b4-pricing .b4p-addon-pick-copy strong{font-size:12px;font-weight:900;color:#253c66}
.b4-pricing .b4p-addon-pick-copy small{font-size:10px;color:#7286a4;font-weight:650}
.b4-pricing .b4p-addon-pick-count{
  flex:none;
  background:#6656eb;
  border-radius:8px;
  min-width:25px;
  height:25px;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:900;
}
.b4-pricing .b4p-addon-pick-chevron{display:grid;place-items:center;color:#7a71bd;transform:rotate(90deg)}
.b4-pricing .b4p-addon-pick-chevron svg{width:15px;height:15px}
.b4-pricing .b4p-addon-quick-line{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:6px;
  margin:9px 2px 0;
}
.b4-pricing .b4p-addon-quick-chip{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:70%;
  font-size:10px;
  color:#596b88;
  font-weight:800;
}
.b4-pricing .b4p-addon-quick-price{
  font-size:10px;
  color:#6653e3;
  font-weight:900;
  flex:none;
}
/* Top-layer native dialog, independent from Bootstrap's .modal/backdrop. */
.b4-pricing .b4p-addon-dialog{
  width:min(805px,calc(100vw - 30px));
  max-width:805px;
  max-height:calc(100dvh - 28px);
  height:auto;
  padding:0!important;
  margin:auto;
  color:#213955;
  background:#fff;
  border:1px solid #dce4f6;
  border-radius:24px;
  box-shadow:0 30px 100px #0008;
  overflow:hidden;
  position:fixed;
  inset:0;
  z-index:10000;
  text-align:right;
}
.b4-pricing .b4p-addon-dialog:not([open]){display:none!important}
.b4-pricing .b4p-addon-dialog::backdrop{
  background:rgba(4,12,32,.7);
  backdrop-filter:blur(5px);
}
.b4-pricing .b4p-addon-dialog-layout{
  display:flex;
  flex-direction:column;
  height:min(770px,calc(100dvh - 30px));
  min-height:0;
  background:#fff;
}
.b4-pricing .b4p-addon-dialog-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:26px 29px 16px;
  flex:none;
  background:linear-gradient(114deg,#f1f4ff,#fff 72%,#f0fffb);
}
.b4-pricing .b4p-addon-dialog-eyebrow{
  color:#6c5bef;
  font-weight:950;
  font-size:10px;
  letter-spacing:.05em;
}
.b4-pricing .b4p-addon-dialog-head h2{
  margin:4px 0 3px;
  font-size:23px;
  font-weight:950;
  color:#213959;
  line-height:1.55;
}
.b4-pricing .b4p-addon-dialog-head p{
  font-size:11px;
  font-weight:650;
  color:#798ba3;
  margin:0;
  line-height:1.8;
}
.b4-pricing .b4p-addon-dialog-x{
  width:39px;
  height:39px;
  border:1px solid #d9e0f0;
  border-radius:12px;
  background:#fff;
  color:#5f6f87;
  display:grid;
  place-items:center;
  flex:none;
  transition:background .16s;
}
.b4-pricing .b4p-addon-dialog-x:hover{background:#f2efff;color:#5347c8}
.b4-pricing .b4p-addon-dialog-x svg{width:17px;height:17px}
.b4-pricing .b4p-addon-dialog-tools{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding:16px 28px;
  border-block:1px solid #e9eef9;
  background:#fff;
  flex:none;
}
.b4-pricing .b4p-addon-search-field{
  flex:1 1 270px;
  display:flex;
  align-items:center;
  gap:9px;
  min-height:46px;
  padding:0 14px;
  border:1px solid #dbe3f4;
  border-radius:13px;
  background:#f8faff;
  color:#8775e6;
  margin:0;
}
.b4-pricing .b4p-addon-search-field:focus-within{
  border-color:#8275fa;
  box-shadow:0 0 0 3px #8072f326;
}
.b4-pricing .b4p-addon-search-field svg{width:17px;height:17px}
.b4-pricing .b4p-addon-search-field input{
  min-width:0;
  width:100%;
  height:43px;
  background:transparent;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  color:#213b58;
  text-align:right;
  font-weight:650;
  font-size:12px;
}
.b4-pricing .b4p-addon-search-field input::placeholder{color:#9ca9bc}
.b4-pricing .b4p-addon-search-field input::-webkit-search-cancel-button{cursor:pointer}
.b4-pricing .b4p-addon-segments{
  display:flex;
  gap:4px;
  flex-wrap:wrap;
  align-items:center;
  border-radius:13px;
  background:#eef2fc;
  padding:5px;
}
.b4-pricing .b4p-addon-segments button{
  border:0;
  background:transparent;
  border-radius:10px;
  color:#687895;
  font-size:11px;
  font-weight:900;
  padding:9px 12px;
  min-height:36px;
  white-space:nowrap;
}
.b4-pricing .b4p-addon-segments button.is-active{
  background:#fff;
  color:#544bd2;
  box-shadow:0 4px 14px #314c6e1a;
}
.b4-pricing .b4p-addon-segments button span{color:inherit;opacity:.65}
.b4-pricing .b4p-addon-dialog-scroll{
  min-height:0;
  flex:1 1 auto;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:19px 28px 24px;
  background:linear-gradient(180deg,#fff,#fbfcff);
  scrollbar-width:thin;
  scrollbar-color:#d9ddf4 transparent;
}
.b4-pricing .b4p-addon-dialog-meta{
  display:flex;align-items:center;justify-content:space-between;
  gap:10px;margin-bottom:13px;
  color:#465979;font-size:11px;font-weight:850;
}
.b4-pricing .b4p-addon-dialog-meta span{font-size:10px;font-weight:650;color:#96a6ba}
.b4-pricing .b4p-addon-dialog-items{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.b4-pricing .b4p-addon-modal-item{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
  padding:13px 13px;
  border:1px solid #e0e8f4;
  border-radius:15px;
  background:#fff;
  cursor:pointer;
  min-height:85px;
  box-shadow:0 5px 13px #182e5008;
  transition:background .18s,border-color .18s,transform .18s;
}
.b4-pricing .b4p-addon-modal-item:hover{
  background:#f7f8ff;
  border-color:#b1b8ee;
  transform:translateY(-1px);
}
.b4-pricing .b4p-addon-modal-item.is-checked{
  border-color:#9285f4;
  background:linear-gradient(105deg,#f3f0ff,#f8fcff);
}
.b4-pricing .b4p-addon-modal-icon{
  flex:none;
  display:grid;place-items:center;
  height:39px;width:39px;
  border-radius:12px;
  color:#7669e2;
  background:#eeeaff;
  font-size:19px;
}
.b4-pricing .b4p-addon-modal-item:nth-child(4n+2) .b4p-addon-modal-icon{color:#14ad9e;background:#e3f8f1}
.b4-pricing .b4p-addon-modal-item:nth-child(4n+3) .b4p-addon-modal-icon{color:#dc8c55;background:#fff0e1}
.b4-pricing .b4p-addon-modal-item:nth-child(4n+4) .b4p-addon-modal-icon{color:#db729e;background:#ffebf3}
.b4-pricing .b4p-addon-modal-name{
  display:flex;
  flex-direction:column;
  min-width:0;
  flex:1;
  line-height:1.7;
}
.b4-pricing .b4p-addon-modal-name strong{
  font-size:11px;
  color:#273f5d;
  font-weight:900;
  overflow-wrap:anywhere;
}
.b4-pricing .b4p-addon-modal-name small{
  color:#93a1b5;
  font-size:9px;
  font-weight:650;
}
.b4-pricing .b4p-addon-modal-price{
  flex:none;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:7px;
}
.b4-pricing .b4p-addon-modal-price b{
  color:#5146ca;
  font-size:10px;
  font-weight:900;
  white-space:nowrap;
}
.b4-pricing .b4p-addon-modal-price input{
  appearance:none;
  -webkit-appearance:none;
  height:21px;
  width:21px;
  border-radius:7px;
  border:1.5px solid #b8c5dd;
  background:white;
  display:grid;
  place-items:center;
  position:relative;
  cursor:pointer;
  margin:0;
}
.b4-pricing .b4p-addon-modal-price input:checked{
  background:#6656e7;
  border-color:#6656e7;
}
.b4-pricing .b4p-addon-modal-price input:checked:after{
  content:"";
  width:9px;height:5px;
  transform:translateY(-1px) rotate(-45deg);
  border-left:2px solid white;
  border-bottom:2px solid white;
}
.b4-pricing .b4p-addon-dialog-empty{
  background:#f9faff;
  border:1px dashed #b8c5de;
  border-radius:14px;
  padding:45px 16px;
  color:#6f829a;
  text-align:center;
  font-size:12px;
  font-weight:800;
}
.b4-pricing .b4p-addon-dialog-pages{
  margin-top:15px;
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:center;
  font-size:11px;
  color:#8292ac;
  font-weight:900;
}
.b4-pricing .b4p-addon-dialog-pages button{
  border:1px solid #d5dded;
  border-radius:10px;
  background:#fff;
  color:#5149b3;
  min-width:74px;
  min-height:38px;
  font-size:11px;
  font-weight:900;
}
.b4-pricing .b4p-addon-dialog-pages button:disabled{opacity:.4;cursor:default}
.b4-pricing .b4p-addon-dialog-pages button:hover:not(:disabled){background:#efedff}
.b4-pricing .b4p-addon-dialog-footer{
  flex:none;
  border-top:1px solid #e4eaf6;
  padding:16px 28px 19px;
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
  background:#fff;
  box-shadow:0 -9px 26px #183b6e08;
}
.b4-pricing .b4p-addon-dialog-totals{
  display:flex;
  flex-wrap:wrap;
  gap:12px 23px;
  align-items:center;
}
.b4-pricing .b4p-addon-dialog-totals>span{display:flex;flex-direction:column;gap:0}
.b4-pricing .b4p-addon-dialog-totals small{
  font-size:10px;
  color:#7f90a8;
  font-weight:750;
}
.b4-pricing .b4p-addon-dialog-totals strong{
  font-size:16px;
  font-weight:950;
  color:#4639c8;
}
.b4-pricing .b4p-addon-dialog-actions{display:flex;align-items:center;gap:9px;flex:none}
.b4-pricing .b4p-addon-dialog-actions button{
  border-radius:12px;
  min-height:45px;
  padding:11px 15px;
  font-size:11px;
  font-weight:950;
  white-space:nowrap;
}
.b4-pricing .b4p-addon-cancel{
  background:#f0f2f8;
  color:#485a72;
  border:1px solid #e0e5ef;
}
.b4-pricing .b4p-addon-confirm{
  color:#fff;
  background:#6656e7;
  border:1px solid #6656e7;
  display:inline-flex;align-items:center;gap:8px;
  box-shadow:0 8px 20px #6356d93a;
}
.b4-pricing .b4p-addon-confirm:hover{background:#5546c8}
.b4-pricing .b4p-addon-confirm svg{width:15px;height:15px}
.b4-pricing .b4p-addon-fetch-error{
  display:none;
}
@media(max-width:700px){
  .b4-pricing .b4p-addon-dialog{
    width:calc(100vw - 16px);
    max-height:calc(100dvh - 16px);
    border-radius:18px;
  }
  .b4-pricing .b4p-addon-dialog-layout{height:calc(100dvh - 18px)}
  .b4-pricing .b4p-addon-dialog-head{padding:17px 17px 12px}
  .b4-pricing .b4p-addon-dialog-head h2{font-size:19px}
  .b4-pricing .b4p-addon-dialog-head p{font-size:10px}
  .b4-pricing .b4p-addon-dialog-tools{padding:11px 15px;gap:9px}
  .b4-pricing .b4p-addon-search-field{flex-basis:100%}
  .b4-pricing .b4p-addon-segments{width:100%;justify-content:center}
  .b4-pricing .b4p-addon-segments button{flex:1;padding:8px 5px}
  .b4-pricing .b4p-addon-dialog-scroll{padding:14px 14px 20px}
  .b4-pricing .b4p-addon-dialog-items{grid-template-columns:1fr}
  .b4-pricing .b4p-addon-modal-item{min-height:75px}
  .b4-pricing .b4p-addon-dialog-footer{padding:13px 15px 14px;flex-direction:column;align-items:stretch;gap:12px}
  .b4-pricing .b4p-addon-dialog-totals{justify-content:space-between}
  .b4-pricing .b4p-addon-dialog-actions{width:100%}
  .b4-pricing .b4p-addon-dialog-actions button{flex:1}
}
@media(max-height:590px){
  .b4-pricing .b4p-addon-dialog-head p{display:none}
  .b4-pricing .b4p-addon-dialog-head{padding-top:11px;padding-bottom:9px}
  .b4-pricing .b4p-addon-dialog-tools{padding-block:8px}
  .b4-pricing .b4p-addon-dialog-footer{padding-block:10px}
}
@media(prefers-reduced-motion:reduce){
  .b4-pricing .b4p-addon-dialog *,
  .b4-pricing .b4p-addon-launcher *{
    transition:none!important;
    animation:none!important;
  }
}


/* Explicit viewport centering avoids RTL native-dialog screenshot/browser
   variations; native <dialog> still owns its top layer and backdrop. */
.b4-pricing .b4p-addon-dialog[open]{
  left:50%!important;
  top:50%!important;
  right:auto!important;
  bottom:auto!important;
  margin:0!important;
  transform:translate(-50%,-50%)!important;
}
/* Let desktop content fill naturally instead of leaving a blank footer gap. */
@media(min-width:701px){
  .b4-pricing .b4p-addon-dialog-layout{
    height:auto;
    max-height:min(790px,calc(100dvh - 30px));
  }
  .b4-pricing .b4p-addon-dialog-scroll{
    max-height:min(470px,calc(100dvh - 310px));
  }
}

/* Native top-layer RTL compositor guard: position the frame in LTR; all
   Arabic form/dialog contents remain RTL and right aligned. */
.b4-pricing .b4p-addon-dialog{direction:ltr!important}
.b4-pricing .b4p-addon-dialog-layout{direction:rtl!important}

/* Mobile variable-height dialog: no giant empty body with one add-on,
   while 8 displayed rows stay scrollable with a sticky footer. */
@media(max-width:700px){
  .b4-pricing .b4p-addon-dialog-layout{
    height:auto!important;
    max-height:calc(100dvh - 18px);
    min-height:0;
  }
  .b4-pricing .b4p-addon-dialog-scroll{
    flex:0 1 auto;
    max-height:calc(100dvh - 305px);
    min-height:0;
    overflow-y:auto;
  }
}
