/* Royasbaft artists: directory, profile, onboarding, dashboard */
:root{--ar-ink:var(--rb-ink,#24221f);--ar-muted:var(--rb-muted,#77736c);--ar-line:var(--rb-line,#e9e1d3);--ar-card:var(--rb-card,#fffdf8);--ar-teal:var(--rb-indigo-dark,#023b4c);--ar-teal2:var(--rb-indigo,#0b4659);--ar-peach:var(--rb-peach,#f5b6a2);--ar-peach-soft:var(--rb-peach-soft,#fbe3da);--ar-red:var(--rb-coral,#b84b3d);
--ar-pattern:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='16' viewBox='0 0 28 16'%3E%3Cpath d='M2 2l6 6 6-6M14 2l6 6 6-6M2 9l6 6 6-6M14 9l6 6 6-6' fill='none' stroke='%23f5b6a2' stroke-opacity='.55' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")}
.rb-ar,.rb-jn,.rb-pf{--wrap:min(1180px,calc(100% - 40px))}
.rb-ar svg,.rb-pf svg,.rb-jn svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rb-ar-kicker{display:inline-block;font-size:12.5px;font-weight:800;color:var(--ar-red);letter-spacing:.2px;margin-bottom:6px}
.rb-ar-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 28px;border:0;border-radius:99px;background:var(--ar-teal);color:#fff!important;font:inherit;font-size:15px;font-weight:800;text-decoration:none!important;cursor:pointer;transition:background .2s,transform .15s}
.rb-ar-btn:hover{background:var(--ar-teal2)}
.rb-ar-btn:active{transform:scale(.98)}
.rb-ar-btn.is-ghost{background:#fff;color:var(--ar-teal)!important;border:1.5px solid var(--ar-line)}
.rb-ar-badge{display:inline-flex;align-items:center;padding:1px 10px;border-radius:99px;background:var(--ar-peach-soft);color:#8a4a36;font-style:normal;font-size:11px;font-weight:800;vertical-align:middle;white-space:nowrap}
.rb-ar-chips{display:flex;flex-wrap:wrap;gap:6px}
.rb-ar-chip{display:inline-flex;padding:2px 10px;border-radius:99px;background:#efe8db;color:#5e5544;font-size:11.5px;font-weight:700}
.rb-ar-avatar{display:grid;place-items:center;border-radius:50%;background:var(--ar-teal);color:var(--ar-peach);overflow:hidden;font-weight:800}
.rb-ar-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.rb-ar-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:46px 20px;border:1.5px dashed #d8cfbe;border-radius:22px;text-align:center;background:#fbf8f1}
.rb-ar-empty svg{width:44px;height:44px;color:var(--ar-teal)}
.rb-ar-empty strong{font-size:16px}
.rb-ar-empty span,.rb-ar-empty a{font-size:13px;color:var(--ar-muted)}
.rb-ar-empty a{color:var(--ar-teal2);font-weight:700}

/* Page shell: these pages draw their own header */
body.rb-ar-directory .rb-page-head{display:none}
body.rb-ar-directory .rb-page{max-width:none}
body.rb-ar-directory .rb-page-body{padding:0!important;font-size:inherit;line-height:1.8}
body.rb-ar-directory .rb-wrap>.woocommerce>article>h1{display:none}

/* Directory */
.rb-ar{width:var(--wrap);margin:26px auto 60px}
.rb-ar-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:end;padding:38px 40px;border-radius:30px;background:var(--ar-teal);color:#fff;overflow:hidden}
.rb-ar-hero::before{content:"";position:absolute;inset:0;background:var(--ar-pattern) repeat;opacity:.18;pointer-events:none}
.rb-ar-hero>*{position:relative}
.rb-ar-hero .rb-ar-kicker{color:var(--ar-peach)}
.rb-ar-hero h1{margin:0 0 10px;font-size:clamp(26px,3.4vw,40px);line-height:1.4;color:#fff}
.rb-ar-hero p{margin:0;max-width:620px;color:#d7e5e8;font-size:15px;line-height:2.05}
.rb-ar-hero-stats{display:flex;gap:28px;margin:22px 0 0;padding:0;list-style:none}
.rb-ar-hero-stats li{display:flex;flex-direction:column;line-height:1.5}
.rb-ar-hero-stats b{font-size:28px;color:var(--ar-peach)}
.rb-ar-hero-stats span{font-size:12.5px;color:#cfe0e3}
.rb-ar-hero-join{display:flex;align-items:center;gap:14px;padding:18px;border-radius:22px;background:#fffdf8;color:var(--ar-ink)!important;text-decoration:none!important;box-shadow:0 18px 40px rgba(0,0,0,.18);transition:transform .2s}
.rb-ar-hero-join:hover{transform:translateY(-3px)}
.rb-ar-hero-join svg{flex:none;width:46px;height:46px;padding:9px;border-radius:50%;background:var(--ar-peach-soft);color:var(--ar-teal)}
.rb-ar-hero-join span{display:flex;flex-direction:column;line-height:1.7}
.rb-ar-hero-join strong{font-size:16px}
.rb-ar-hero-join small{font-size:12.5px;color:var(--ar-muted)}

.rb-ar-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin:24px 0 20px}
.rb-ar-search{position:relative;flex:0 1 360px;margin:0}
.rb-ar-search input{width:100%;height:50px;padding:0 18px 0 50px;border:1.5px solid var(--ar-line);border-radius:99px;background:#fff;font:inherit;font-size:14px}
.rb-ar-search input:focus{outline:none;border-color:var(--ar-teal);box-shadow:0 0 0 4px rgba(2,59,76,.1)}
.rb-ar-search button{position:absolute;left:5px;top:5px;width:40px;height:40px;border:0;border-radius:50%;background:var(--ar-teal);color:#fff;display:grid;place-items:center;cursor:pointer}
.rb-ar-search button svg{width:18px;height:18px;stroke:#fff}
.rb-ar-filters{display:flex;gap:8px;flex:1;overflow-x:auto;scrollbar-width:none;padding:2px}
.rb-ar-filters::-webkit-scrollbar{display:none}
.rb-ar-filters a{flex:none;padding:8px 16px;border:1.5px solid var(--ar-line);border-radius:99px;background:#fff;font-size:13px;font-weight:700;color:#5e5544;text-decoration:none!important;transition:all .15s}
.rb-ar-filters a:hover{border-color:#cdbfa6}
.rb-ar-filters a.is-active{background:var(--ar-teal);border-color:var(--ar-teal);color:#fff}

.rb-ar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}
.rb-ar-card{position:relative;display:flex;flex-direction:column;background:var(--ar-card);border:1px solid var(--ar-line);border-radius:24px;overflow:hidden;color:var(--ar-ink)!important;text-decoration:none!important;transition:transform .25s,box-shadow .25s,border-color .25s}
.rb-ar-card:hover{transform:translateY(-4px);border-color:#dccfb8;box-shadow:0 18px 40px rgba(2,59,76,.09)}
.rb-ar-cover{display:block;height:112px;background:var(--ar-teal) center/cover no-repeat}
.rb-ar-cover.is-pattern{background:var(--ar-teal) var(--ar-pattern) repeat}
.rb-ar-card>.rb-ar-avatar{width:76px;height:76px;margin:-38px 20px 0 auto;border:4px solid var(--ar-card);font-size:28px;box-shadow:0 6px 16px rgba(2,59,76,.12);position:relative}
.rb-ar-card-body{display:flex;flex-direction:column;gap:6px;padding:10px 20px 18px;flex:1}
.rb-ar-card-body>strong{font-size:17px;line-height:1.6}
.rb-ar-place{display:flex;align-items:center;gap:4px;font-size:12.5px;color:var(--ar-muted)}
.rb-ar-place svg{width:15px;height:15px}
.rb-ar-tagline{font-size:13.5px;line-height:1.9;color:#4c4740}
.rb-ar-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:6px}
.rb-ar-thumbs img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;display:block}
.rb-ar-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:12px;border-top:1px dashed var(--ar-line);font-size:12.5px;color:var(--ar-muted)}
.rb-ar-foot>span{display:flex;align-items:center;gap:4px}
.rb-ar-foot svg{width:14px;height:14px;fill:#d6a23b;stroke:#d6a23b}
.rb-ar-foot b{color:var(--ar-teal2);font-size:13px}
.rb-ar-foot b::after{content:" ←"}

.rb-ar-join{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) auto;gap:24px;align-items:center;margin-top:40px;padding:30px 34px;border-radius:28px;background:var(--ar-peach-soft);border:1px solid #f1cfc1}
.rb-ar-join h2{margin:0 0 6px;font-size:22px;line-height:1.6}
.rb-ar-join p{margin:0;font-size:14px;color:#5e5544;line-height:2}
.rb-ar-join ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.rb-ar-join li{display:flex;align-items:center;gap:10px;font-size:13.5px;font-weight:700}
.rb-ar-join li b{width:28px;height:28px;flex:none;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--ar-teal);font-size:13px}

/* Profile */
body.rb-ar-profile .dokan-store-wrap{display:none}
.rb-pf{padding-bottom:60px}
.rb-pf-pending,.rb-pf-missing{width:var(--wrap,min(1180px,calc(100% - 40px)));margin:16px auto 0;padding:12px 16px;border-radius:14px;background:#fbf3e4;color:#7a5b1f;font-size:13.5px;font-weight:700}
.rb-pf-missing{display:flex;flex-direction:column;align-items:center;gap:10px;margin:60px auto;padding:40px 20px;text-align:center;background:none}
.rb-pf-missing svg{width:50px;height:50px;fill:none;stroke:var(--ar-teal);stroke-width:1.6}
.rb-pf-missing h1{margin:0;font-size:22px}
.rb-pf-missing p{margin:0;color:var(--ar-muted)}
.rb-pf-cover{width:var(--wrap);height:clamp(150px,22vw,260px);margin:20px auto 0;border-radius:28px;background:var(--ar-teal) center/cover no-repeat}
.rb-pf-cover.is-pattern{background:var(--ar-teal) var(--ar-pattern) repeat}
.rb-pf-head{width:var(--wrap);margin:0 auto;display:flex;align-items:flex-end;gap:20px;padding:0 28px}
.rb-pf-avatar{flex:none;width:132px;height:132px;margin-top:-66px;border:6px solid var(--rb-paper,#fbf8f1);font-size:46px;box-shadow:0 10px 30px rgba(2,59,76,.14)}
.rb-pf-id{flex:1;min-width:0;padding-top:14px}
.rb-pf-id h1{margin:0;font-size:clamp(23px,2.6vw,30px);line-height:1.5}
.rb-pf-tagline{margin:2px 0 0;font-size:15px;color:#4c4740}
.rb-pf-meta{display:flex;flex-wrap:wrap;gap:6px 18px;margin:8px 0 0;padding:0;list-style:none;font-size:13px;color:var(--ar-muted)}
.rb-pf-meta li{display:flex;align-items:center;gap:5px}
.rb-pf-meta svg{width:16px;height:16px}
.rb-pf-actions{display:flex;align-items:center;gap:8px;padding-bottom:6px}
.rb-pf-icon,.rb-pf-share,.rb-pf-edit{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:44px;min-width:44px;padding:0 12px;border:1.5px solid var(--ar-line);border-radius:99px;background:#fff;color:var(--ar-teal)!important;font:inherit;font-size:13px;font-weight:700;text-decoration:none!important;cursor:pointer;transition:border-color .2s}
.rb-pf-icon{padding:0}
.rb-pf-icon:hover,.rb-pf-share:hover,.rb-pf-edit:hover{border-color:var(--ar-teal2)}
.rb-pf-icon svg,.rb-pf-share svg{width:19px;height:19px}
.rb-pf-share.is-done{background:#2f6b4f;border-color:#2f6b4f;color:#fff!important}
.rb-pf-edit{background:var(--ar-teal);border-color:var(--ar-teal);color:#fff!important;padding:0 18px}
.rb-pf-stats{width:var(--wrap);margin:22px auto 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:10px}
.rb-pf-stats li{display:flex;flex-direction:column;justify-content:center;min-width:120px;padding:12px 18px;border:1px solid var(--ar-line);border-radius:18px;background:var(--ar-card);line-height:1.6}
.rb-pf-stats b{display:flex;align-items:center;gap:5px;font-size:21px;color:var(--ar-teal)}
.rb-pf-stats b svg{width:18px;height:18px;fill:#d6a23b;stroke:#d6a23b}
.rb-pf-stats span{font-size:12px;color:var(--ar-muted)}
.rb-pf-stats .rb-pf-stat-crafts{flex:1;min-width:200px}
.rb-pf-tabs{position:sticky;top:var(--rb-header-h,72px);z-index:5;width:var(--wrap);margin:26px auto 0;display:flex;gap:4px;padding:6px;border-radius:99px;background:rgba(255,253,248,.95);border:1px solid var(--ar-line);backdrop-filter:blur(10px);overflow-x:auto;scrollbar-width:none}
.rb-pf-tabs::-webkit-scrollbar{display:none}
.rb-pf-tabs a{flex:none;padding:9px 20px;border-radius:99px;font-size:14px;font-weight:700;color:#5e5544;text-decoration:none!important;transition:background .2s,color .2s}
.rb-pf-tabs a small{font-size:11.5px;opacity:.75}
.rb-pf-tabs a.is-active{background:var(--ar-teal);color:#fff}
.rb-pf-works,.rb-pf-story,.rb-pf-buy{width:var(--wrap);margin:26px auto 0;scroll-margin-top:150px}
.rb-pf-cats{display:flex;gap:8px;margin-bottom:16px;overflow-x:auto;scrollbar-width:none}
.rb-pf-cats::-webkit-scrollbar{display:none}
.rb-pf-cats a{flex:none;padding:7px 16px;border:1.5px solid var(--ar-line);border-radius:99px;background:#fff;font-size:13px;font-weight:700;color:#5e5544;text-decoration:none!important}
.rb-pf-cats a.is-active{background:var(--ar-peach-soft);border-color:var(--ar-peach);color:#8a4a36}
.rb-pf-products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0!important}
.rb-pf-products ul.products::before,.rb-pf-products ul.products::after{display:none!important}
.rb-pf-products ul.products li.product{width:auto!important;margin:0!important;float:none!important}
.rb-pf-pages{display:flex;justify-content:center;gap:6px;margin-top:22px}
.rb-pf-pages a,.rb-pf-pages span{display:grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border:1.5px solid var(--ar-line);border-radius:99px;background:#fff;font-weight:700;text-decoration:none!important;color:var(--ar-ink)}
.rb-pf-pages .current{background:var(--ar-teal);border-color:var(--ar-teal);color:#fff}
.rb-pf-story{padding:30px 34px;border-radius:26px;background:var(--ar-card);border:1px solid var(--ar-line)}
.rb-pf-story h2{margin:0 0 12px;font-size:22px}
.rb-pf-bio{max-width:760px;font-size:15px;line-height:2.15;color:#3a3732}
.rb-pf-bio p{margin:0 0 12px}
.rb-pf-buy h2{margin:0 0 14px;font-size:19px}
.rb-pf-buy ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.rb-pf-buy li{display:flex;flex-direction:column;gap:4px;padding:18px;border-radius:20px;background:#f4efe5;line-height:1.9}
.rb-pf-buy b{font-size:15px;color:var(--ar-teal)}
.rb-pf-buy span{font-size:13px;color:#5e5544}
.rb-pf-buy a{color:var(--ar-teal2);font-weight:700}

/* Product page maker card */
.rb-maker-card .rb-maker-avatar{flex:none;width:46px;height:46px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--ar-teal);color:var(--ar-peach);font-weight:800}
.rb-maker-card .rb-maker-avatar img{width:100%;height:100%;object-fit:cover}
.rb-maker-card .rb-maker-tag{font-style:normal;font-size:12px;color:var(--ar-muted);line-height:1.7}
.rb-maker-card>span:nth-child(2){flex:1;min-width:0}

/* Onboarding */
body.rb-ar-directory .rb-jn{width:min(860px,calc(100% - 32px));margin:24px auto 60px}
.rb-jn-hero{padding:34px 36px;border-radius:28px;background:var(--ar-teal);color:#fff;position:relative;overflow:hidden}
.rb-jn-hero::before{content:"";position:absolute;inset:0;background:var(--ar-pattern);opacity:.18}
.rb-jn-hero>*{position:relative}
.rb-jn-hero .rb-ar-kicker{color:var(--ar-peach)}
.rb-jn-hero h1{margin:0 0 8px;font-size:clamp(25px,3.2vw,34px);color:#fff;line-height:1.5}
.rb-jn-hero p{margin:0;color:#d7e5e8;font-size:15px;line-height:2.05}
.rb-jn-perks{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.rb-jn-perks li{display:flex;flex-direction:column;gap:3px;padding:16px;border-radius:20px;background:var(--ar-card);border:1px solid var(--ar-line);line-height:1.8}
.rb-jn-perks svg{width:36px;height:36px;padding:7px;border-radius:12px;background:var(--ar-peach-soft);color:var(--ar-teal);margin-bottom:4px}
.rb-jn-perks b{font-size:14px}
.rb-jn-perks span{font-size:12.5px;color:var(--ar-muted)}
.rb-jn-steps{display:flex;list-style:none;margin:0 0 18px;padding:0;gap:6px}
.rb-jn-steps li{flex:1;display:flex;align-items:center;gap:7px;font-size:12.5px;color:var(--ar-muted);font-weight:700}
.rb-jn-steps b{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#efe8db;color:#5e5544;font-size:12px}
.rb-jn-steps .is-done b{background:#2f6b4f;color:#fff}
.rb-jn-steps .is-current{color:var(--ar-teal)}
.rb-jn-steps .is-current b{background:var(--ar-teal);color:#fff;box-shadow:0 0 0 4px rgba(2,59,76,.12)}
.rb-jn-start,.rb-jn-done,.rb-jn-form{margin-top:18px;padding:28px;border-radius:26px;background:var(--ar-card);border:1px solid var(--ar-line)}
.rb-jn-start h2,.rb-jn-done h2{margin:0 0 6px;font-size:21px}
.rb-jn-start p,.rb-jn-done p{margin:0 0 18px;color:#5e5544;font-size:14px;line-height:2}
.rb-jn-done{text-align:center;display:flex;flex-direction:column;align-items:center}
.rb-jn-done-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#e5f0ec;color:#2f6b4f;margin-bottom:10px}
.rb-jn-done-icon svg{width:32px;height:32px;stroke-width:2.2}
.rb-jn-done.is-pending .rb-jn-done-icon{background:#fbf3e4;color:#a87a1f}
.rb-jn-done-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.rb-jn-form{display:grid;gap:16px;background:none;border:0;padding:0}
.rb-jn-form>.rb-jn-steps{padding:16px 18px;border-radius:20px;background:var(--ar-card);border:1px solid var(--ar-line);margin:0}
.rb-jn-alert{padding:12px 16px;border-radius:14px;background:#fcebe7;color:var(--ar-red);font-size:13.5px;font-weight:700}
.rb-jn-card{margin:0;padding:22px;border:1px solid var(--ar-line);border-radius:24px;background:var(--ar-card);display:grid;gap:14px;min-width:0}
.rb-jn-card legend{float:left;width:100%;margin:0 0 2px;padding:0;font-size:16px;font-weight:800;color:var(--ar-ink)}
.rb-jn-media{position:relative;padding-bottom:44px}
.rb-jn-banner,.rb-jn-avatar{position:relative;display:grid;place-items:center;margin:0;border:1.5px dashed #c9bba3;background:#f8f4ec center/cover no-repeat;cursor:pointer;text-align:center;color:var(--ar-teal2);font-size:13px;font-weight:800;transition:border-color .2s}
.rb-jn-banner{height:150px;border-radius:20px}
.rb-jn-avatar{position:absolute;bottom:0;right:22px;width:96px;height:96px;border-radius:50%;border-width:4px;border-style:solid;border-color:var(--ar-card);background-color:var(--ar-peach-soft);box-shadow:0 6px 18px rgba(2,59,76,.12);line-height:1.6}
.rb-jn-banner small{font-weight:500;color:var(--ar-muted)}
.rb-jn-banner input,.rb-jn-avatar input{position:absolute;inset:0;opacity:0;cursor:pointer}
.rb-jn-banner:hover{border-color:var(--ar-teal2)}
.rb-jn-banner.has-image span,.rb-jn-avatar.has-image span{opacity:0}
.rb-jn-banner.has-image{border-style:solid;border-color:transparent}
.rb-jn-hint{margin:0;font-size:12px;color:var(--ar-muted)}
.rb-jn-field{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0}
.rb-jn-field>span{font-size:13.5px;font-weight:700;color:var(--ar-ink)}
.rb-jn-field em{font-style:normal;font-weight:500;color:var(--ar-muted);font-size:12px}
.rb-jn-field small{font-size:12px;color:var(--ar-muted)}
.rb-jn-field input,.rb-jn-field select,.rb-jn-field textarea{width:100%;min-height:50px;padding:11px 14px;border:1.5px solid var(--ar-line);border-radius:14px;background:#fff;font:inherit;font-size:15px;color:var(--ar-ink);-webkit-appearance:none;appearance:none;transition:border-color .2s,box-shadow .2s}
.rb-jn-field select{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23023b4c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 12px center/16px;padding-left:36px}
.rb-jn-field textarea{min-height:120px;line-height:1.95;resize:vertical}
.rb-jn-field input[readonly]{background:#f4efe5;color:var(--ar-muted)}
.rb-jn-field input:focus,.rb-jn-field select:focus,.rb-jn-field textarea:focus{outline:none;border-color:var(--ar-teal);box-shadow:0 0 0 4px rgba(2,59,76,.1)}
.rb-jn-field.is-invalid input,.rb-jn-field.is-invalid select,.rb-jn-field.is-invalid textarea,.rb-jn-field.is-invalid .rb-jn-url{border-color:var(--ar-red);background-color:#fffaf8}
.rb-jn-err{font-size:12.5px;font-weight:700;color:var(--ar-red)}
.rb-jn-url{display:flex;align-items:center;border:1.5px solid var(--ar-line);border-radius:14px;background:#fff;overflow:hidden}
.rb-jn-url:focus-within{border-color:var(--ar-teal);box-shadow:0 0 0 4px rgba(2,59,76,.1)}
.rb-jn-url em{flex:none;padding:0 4px 0 14px;font-style:normal;font-size:13px;color:var(--ar-muted)}
.rb-jn-url input{border:0!important;box-shadow:none!important;padding-left:2px;min-width:0}
.rb-jn-slug-status.is-ok{color:#2f6b4f;font-weight:700}
.rb-jn-slug-status.is-bad{color:var(--ar-red);font-weight:700}
.rb-jn-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rb-jn-crafts,.rb-dash-crafts{display:flex;flex-wrap:wrap;gap:8px}
.rb-jn-crafts label,.rb-dash-crafts label{position:relative;margin:0;cursor:pointer}
.rb-jn-crafts input,.rb-dash-crafts input{position:absolute;opacity:0}
.rb-jn-crafts span,.rb-dash-crafts span{display:inline-flex;padding:8px 16px;border:1.5px solid var(--ar-line);border-radius:99px;background:#fff;font-size:13px;font-weight:700;color:#5e5544;transition:all .15s}
.rb-jn-crafts input:checked+span,.rb-dash-crafts input:checked+span{background:var(--ar-teal);border-color:var(--ar-teal);color:#fff}
.rb-jn-crafts input:checked+span::before,.rb-dash-crafts input:checked+span::before{content:"✓ "}
.rb-jn-crafts input:focus-visible+span{outline:2px solid var(--ar-teal);outline-offset:2px}
.rb-jn-terms{display:flex;align-items:flex-start;gap:10px;margin:0;padding:16px 18px;border-radius:18px;background:#f8f4ec;font-size:13.5px;line-height:1.9;cursor:pointer}
.rb-jn-terms input{flex:none;width:20px;height:20px;margin-top:4px;accent-color:var(--ar-teal)}
.rb-jn-terms a{color:var(--ar-teal2);font-weight:700}
.rb-jn-terms.is-invalid{background:#fcebe7}
.rb-jn-submit{width:100%;min-height:56px;font-size:16px}
.rb-jn-submit.is-busy{opacity:.7;pointer-events:none}
.rb-jn-faq{margin-top:30px}
.rb-jn-faq h2{font-size:20px;margin:0 0 12px}
.rb-jn-faq details{border:1px solid var(--ar-line);border-radius:16px;background:var(--ar-card);margin-bottom:8px}
.rb-jn-faq summary{padding:14px 18px;font-size:14.5px;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:10px}
.rb-jn-faq summary::-webkit-details-marker{display:none}
.rb-jn-faq summary::after{content:"+";font-size:20px;line-height:1;color:var(--ar-teal2)}
.rb-jn-faq details[open] summary::after{content:"−"}
.rb-jn-faq p{margin:0;padding:0 18px 16px;font-size:13.5px;line-height:2.05;color:#5e5544}

/* My Account CTA */
.rb-ar-account-cta{display:flex;flex-direction:column;gap:2px;margin:18px 0 0;padding:16px 18px;border-radius:18px;background:var(--ar-peach-soft);color:var(--ar-ink)!important;text-decoration:none!important}
.rb-ar-account-cta strong{font-size:15px}
.rb-ar-account-cta span{font-size:13px;color:#8a4a36;font-weight:700}
body.rb-ar-account .dokan-account-migration-lists,body.rb-ar-account .dokan-become-a-vendor,body.rb-ar-account ul.dokan-account-migration-lists{display:none!important}

/* Vendor dashboard: brand colours and type */
body.rb-ar-dashboard{--dokan-button-background-color:#023b4c;--dokan-button-border-color:#023b4c;--dokan-button-hover-background-color:#0b4659;--dokan-button-hover-color:#fff;--dokan-sidebar-background-color:#023b4c;--dokan-sidebar-hover-background-color:#0b4659;--dokan-link-color:#0b4659;--dokan-link-hover-color:#023b4c;--dokan-toggle-active-color:#023b4c;--dokan-toggle-color:#023b4c}
body.rb-ar-dashboard .dokan-dashboard-wrap,body.rb-ar-dashboard .dokan-dashboard-wrap *:not(i):not([class*="fa-"]):not([class*="dashicons"]){font-family:Tahoma,"Vazirmatn",sans-serif}
.rb-dash-profile{margin:22px 0;padding:20px;border:1px solid var(--ar-line);border-radius:18px;background:var(--ar-card);display:grid;gap:12px}
.rb-dash-profile h3{margin:0;font-size:17px}
.rb-dash-profile>p{margin:0;font-size:13px;color:var(--ar-muted)}
.rb-dash-profile label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;margin:0}
.rb-dash-profile input[type=text],.rb-dash-profile textarea{width:100%;min-height:44px;padding:10px 12px;border:1.5px solid var(--ar-line);border-radius:12px;background:#fff;font:inherit;font-weight:400}
.rb-dash-profile fieldset{margin:0;padding:0;border:0}
.rb-dash-profile legend{font-size:13px;font-weight:700;margin-bottom:6px}
.rb-dash-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}

/* Responsive */
@media(max-width:1020px){
.rb-pf-products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
.rb-ar-join{grid-template-columns:1fr 1fr}
.rb-ar-join .rb-ar-btn{grid-column:1/-1}
.rb-jn-perks{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
.rb-ar,.rb-jn,.rb-pf{--wrap:calc(100% - 28px)}
.rb-ar{margin:14px auto 40px}
.rb-ar-hero{grid-template-columns:1fr;gap:18px;padding:26px 20px 20px;border-radius:24px}
.rb-ar-hero p{font-size:14px}
.rb-ar-hero-stats{margin-top:16px}
.rb-ar-hero-stats b{font-size:24px}
.rb-ar-hero-join{padding:14px;border-radius:18px}
.rb-ar-tools{flex-direction:column;align-items:stretch;margin:16px 0 14px}
.rb-ar-search{flex:none}
.rb-ar-filters{flex:none;max-width:none;width:auto;margin:0 -14px;padding:2px 14px}
.rb-ar-grid{grid-template-columns:1fr;gap:14px}
.rb-ar-cover{height:96px}
.rb-ar-card>.rb-ar-avatar{width:68px;height:68px;margin-top:-34px;margin-right:16px}
.rb-ar-card-body{padding:8px 16px 16px}
.rb-ar-join{grid-template-columns:1fr;padding:22px 18px;border-radius:22px;gap:16px}
.rb-ar-join h2{font-size:19px}
.rb-pf-cover{margin-top:12px;border-radius:20px;height:140px}
.rb-pf-head{flex-direction:column;align-items:center;text-align:center;gap:6px;padding:0}
.rb-pf-avatar{width:104px;height:104px;margin-top:-52px;font-size:38px;border-width:5px}
.rb-pf-id{padding-top:4px}
.rb-pf-meta{justify-content:center}
.rb-pf-actions{padding:6px 0 0;flex-wrap:wrap;justify-content:center}
.rb-pf-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.rb-pf-stats li{flex:1 1 0;min-width:0;padding:10px;text-align:center;align-items:center;border-radius:16px}
.rb-pf-stats b{font-size:18px}
.rb-pf-stats .rb-pf-stat-crafts{flex:1 1 100%;align-items:center}
.rb-pf-stats .rb-pf-stat-crafts .rb-ar-chips{justify-content:center}
.rb-pf-tabs{margin-top:18px;top:var(--rb-header-h,62px)}
.rb-pf-tabs a{flex:1;text-align:center;padding:9px 12px;font-size:13px}
.rb-pf-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 9px}
.rb-pf-story{padding:22px 18px;border-radius:22px}
.rb-pf-story h2{font-size:19px}
.rb-pf-bio{font-size:14.5px}
.rb-pf-buy ul{grid-template-columns:1fr}
.rb-pf-cats{margin:0 -14px 14px;padding:0 14px}
body.rb-ar-directory .rb-jn{margin:14px auto 40px}
.rb-jn-hero{padding:24px 20px;border-radius:22px}
.rb-jn-hero p{font-size:14px}
.rb-jn-perks{gap:8px}
.rb-jn-perks li{padding:12px;border-radius:16px}
.rb-jn-start,.rb-jn-done{padding:22px 18px;border-radius:22px}
.rb-jn-card{padding:18px 16px;border-radius:20px}
.rb-jn-steps li{flex-direction:column;text-align:center;font-size:11.5px;gap:4px}
.rb-jn-banner{height:120px}
.rb-jn-avatar{width:84px;height:84px;right:16px;font-size:12px}
.rb-jn-row,.rb-dash-row{grid-template-columns:1fr}
.rb-jn-url em{font-size:12px;padding-left:10px}
.rb-jn-done-actions{flex-direction:column;width:100%}
}
@media(prefers-reduced-motion:reduce){.rb-ar-card,.rb-ar-hero-join{transition:none}}
.rb-ar .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rb-ar-search{display:block;width:100%}
.rb-ar-search input{display:block;box-sizing:border-box}
@media(max-width:760px){.rb-ar-tools{display:block}.rb-ar-filters{display:flex;margin:12px -14px 0;min-width:0}}

/* Dashboard: Dokan's hard-coded purple */
body.rb-ar-dashboard .dokan-dashboard-wrap .dokan-dash-sidebar ul.dokan-dashboard-menu li.active,body.rb-ar-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active{background:#023b4c!important}
body.rb-ar-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover{background:#0b4659!important}
body.rb-ar-dashboard .text-dokan-primary,body.rb-ar-dashboard .text-dokan-primary *{color:#023b4c!important}
body.rb-ar-dashboard .dokan-btn-theme,body.rb-ar-dashboard input[type=submit].dokan-btn-theme,body.rb-ar-dashboard a.dokan-btn-theme{background:#023b4c!important;border-color:#023b4c!important;color:#fff!important;border-radius:99px}
body.rb-ar-dashboard .dokan-btn-theme:hover,body.rb-ar-dashboard .dokan-btn-theme:focus{background:#0b4659!important;border-color:#0b4659!important}
body.rb-ar-dashboard .dokan-dashboard-content{border-radius:18px}
/* Bank form: fields that do not apply in Iran */
body.rb-ar-dashboard .dokan-bank-settings-template>.dokan-form-group:has([name="settings[bank][ac_type]"]),body.rb-ar-dashboard .dokan-bank-settings-template>.dokan-form-group:has([name="settings[bank][routing_number]"]),body.rb-ar-dashboard .dokan-bank-settings-template>.dokan-form-group:has([name="settings[bank][bank_addr]"]),body.rb-ar-dashboard .dokan-bank-settings-template>.dokan-form-group:has([name="settings[bank][swift]"]){display:none!important}
body.rb-ar-dashboard [name="settings[bank][iban]"]{direction:ltr;text-align:left}
body.rb-ar-dashboard .dokan-dashboard-content .entry-title{font-size:22px;line-height:1.6}
body.rb-ar-dashboard .dokan-dashboard-content .entry-title small{display:block;font-size:13px;font-weight:600;margin-top:2px}
body.rb-ar-dashboard .dokan-bank-settings-template input.dokan-form-control{min-height:46px;border-radius:12px}
@media(max-width:760px){body.rb-ar-dashboard .dokan-dashboard-content{padding:0!important}body.rb-ar-dashboard .dokan-dashboard-content .entry-title{font-size:19px}}
body.rb-ar-dashboard .dokan-bank-settings-template img{display:none!important}

/* Dashboard overview */
body.rb-ar-dashboard .rb-wrap>.woocommerce>article>h1{display:none}
body.rb-ar-dashboard .rb-wrap{padding-top:18px}
.rb-dash-tabs{display:none}
.rb-dash{display:grid;gap:16px;padding-inline-start:24px!important}
.rb-dash svg{fill:none;stroke:currentColor}
.rb-dash-hello{display:flex;align-items:center;gap:14px}
.rb-dash-avatar{flex:none;width:58px;height:58px;font-size:22px;box-shadow:0 6px 16px rgba(2,59,76,.12)}
.rb-dash-hello h2{margin:0;font-size:22px;line-height:1.6}
.rb-dash-hello p{margin:0;font-size:13px;color:var(--ar-muted)}
.rb-dash-hello a{color:var(--ar-teal2);font-weight:700}
.rb-dash-dot{display:inline-block;width:8px;height:8px;margin-inline-end:6px;border-radius:50%;background:#d6a23b;vertical-align:1px}
.rb-dash-dot.is-on{background:#2f9a6a;box-shadow:0 0 0 3px rgba(47,154,106,.18)}
.rb-dash-note{padding:12px 16px;border-radius:14px;background:#fbf3e4;color:#7a5b1f;font-size:13.5px;line-height:2}
.rb-dash-actions{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px}
.rb-dash-actions::-webkit-scrollbar{display:none}
.rb-dash-actions a{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 18px;border:1.5px solid var(--ar-line);border-radius:99px;background:#fff;font-size:13.5px;font-weight:700;color:var(--ar-teal)!important;text-decoration:none!important;transition:border-color .2s}
.rb-dash-actions a:hover{border-color:var(--ar-teal2)}
.rb-dash-actions a.is-primary{background:var(--ar-teal);border-color:var(--ar-teal);color:#fff!important}
.rb-dash-actions a b{font-size:18px;line-height:1}
.rb-dash-actions em{min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:var(--ar-red);color:#fff;font-style:normal;font-size:11px;display:grid;place-items:center}
.rb-dash-kpis{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.rb-dash-kpis li{display:flex;flex-direction:column;gap:3px;padding:16px;border:1px solid var(--ar-line);border-radius:20px;background:var(--ar-card);min-width:0}
.rb-dash-kpis span{font-size:12.5px;color:var(--ar-muted);font-weight:700}
.rb-dash-kpis b{font-size:22px;line-height:1.5;color:var(--ar-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rb-dash-kpis b small{font-size:12px;font-weight:600;color:var(--ar-muted)}
.rb-dash-kpis li>small,.rb-dash-kpis li>a{font-size:12px;color:var(--ar-muted)}
.rb-dash-kpis li>a{color:var(--ar-teal2);font-weight:700;text-decoration:none}
.rb-dash-kpis .is-money{background:var(--ar-teal);border-color:var(--ar-teal)}
.rb-dash-kpis .is-money span,.rb-dash-kpis .is-money b small{color:#cfe0e3}
.rb-dash-kpis .is-money b{color:#fff}
.rb-dash-kpis .is-money a{color:var(--ar-peach)}
.rb-dash-kpis .is-alert{border-color:#f1cfc1;background:#fff7f3}
.rb-dash-kpis .is-alert b{color:var(--ar-red)}
.rb-dash-kpis i{font-style:normal;font-weight:800}
.rb-dash-kpis i.is-up{color:#2f9a6a}
.rb-dash-kpis i.is-down{color:var(--ar-red)}
.rb-dash-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:12px;align-items:start}
.rb-dash-card{padding:18px;border:1px solid var(--ar-line);border-radius:22px;background:var(--ar-card);min-width:0}
.rb-dash-card>header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px}
.rb-dash-card h3{margin:0;font-size:16px}
.rb-dash-card>header small{font-size:12px;color:var(--ar-muted)}
.rb-dash-card>header a{font-size:13px;font-weight:700;color:var(--ar-teal2);text-decoration:none}
.rb-chart{position:relative}
.rb-chart svg{display:block;width:100%;height:150px;transform:scaleX(-1)}
.rb-chart rect{fill:#efe8db}
.rb-chart rect.has{fill:var(--ar-teal)}
.rb-chart rect.has:hover{fill:var(--ar-peach)}
.rb-chart-axis{display:flex;justify-content:space-between;margin-top:6px;font-size:11.5px;color:var(--ar-muted)}
.rb-chart-empty{position:absolute;inset:0 0 24px;display:grid;place-items:center;margin:0;padding:0 20px;text-align:center;font-size:13px;line-height:2;color:#5e5544}
.rb-chart.is-empty svg{opacity:.5}
.rb-dash-chart{grid-row:span 2}
.rb-dash-progress{height:8px;border-radius:99px;background:#efe8db;overflow:hidden;margin-bottom:10px}
.rb-dash-progress span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--ar-peach),var(--ar-teal))}
.rb-dash-check ul,.rb-dash-orders ul,.rb-dash-top ul{list-style:none;margin:0;padding:0}
.rb-dash-check li{border-top:1px dashed var(--ar-line)}
.rb-dash-check li>span,.rb-dash-check li>a{display:flex;align-items:center;gap:8px;padding:9px 0;font-size:13.5px;color:var(--ar-ink);text-decoration:none}
.rb-dash-check li>*::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;border:2px solid #cfc4b1}
.rb-dash-check li.is-done>span{color:var(--ar-muted);text-decoration:line-through}
.rb-dash-check li.is-done>span::before{border-color:#2f9a6a;background:#2f9a6a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat}
.rb-dash-check li>a b{margin-inline-start:auto;font-size:12px;color:var(--ar-teal2)}
.rb-dash-orders li+li,.rb-dash-top li+li{border-top:1px dashed var(--ar-line)}
.rb-dash-orders a,.rb-dash-top a{display:flex;align-items:center;gap:12px;padding:10px 0;color:var(--ar-ink)!important;text-decoration:none!important}
.rb-dash-onum{flex:none;min-width:52px;padding:6px 8px;border-radius:12px;background:#f4efe5;text-align:center;font-size:12.5px;font-weight:800;color:var(--ar-teal)}
.rb-dash-oinfo,.rb-dash-top a>span{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.7}
.rb-dash-oinfo strong,.rb-dash-top strong{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rb-dash-oinfo small,.rb-dash-top small{font-size:12px;color:var(--ar-muted)}
.rb-dash-top small em{font-style:normal;color:var(--ar-red);font-weight:700}
.rb-dash-oside{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.rb-dash-oside b,.rb-dash-top a>b{font-size:13.5px;white-space:nowrap}
.rb-dash-oside b small,.rb-dash-top a>b small{font-size:11px;color:var(--ar-muted);font-weight:600}
.rb-pill{display:inline-flex;padding:1px 10px;border-radius:99px;font-style:normal;font-size:11px;font-weight:800;background:#efe8db;color:#5e5544;white-space:nowrap}
.rb-pill-processing{background:#fff1e2;color:#a3570f}
.rb-pill-on-hold,.rb-pill-pending{background:#fbf3e4;color:#8a6a1f}
.rb-pill-completed{background:#e5f0ec;color:#2f6b4f}
.rb-pill-cancelled,.rb-pill-failed,.rb-pill-refunded{background:#fcebe7;color:var(--ar-red)}
.rb-dash-top img{flex:none;width:52px!important;height:52px!important;object-fit:cover;border-radius:12px;margin:0!important}
.rb-dash-empty{margin:0;padding:18px;border-radius:16px;background:#fbf8f1;font-size:13px;line-height:2;color:#5e5544;text-align:center}
.rb-dash-empty a{color:var(--ar-teal2);font-weight:700}
@media(max-width:1020px){.rb-dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-dash-grid{grid-template-columns:1fr}.rb-dash-chart{grid-row:auto}}
@media(max-width:760px){
body.rb-ar-dashboard .dokan-dash-sidebar{display:none!important}
.rb-dash-tabs{position:sticky;top:var(--rb-header-h,62px);z-index:8;display:flex;gap:6px;margin:0 -14px 14px;padding:8px 14px;overflow-x:auto;scrollbar-width:none;background:rgba(251,248,241,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--ar-line)}
.rb-dash-tabs::-webkit-scrollbar{display:none}
.rb-dash-tabs a{flex:none;padding:8px 16px;border-radius:99px;border:1.5px solid var(--ar-line);background:#fff;font-size:13px;font-weight:700;color:#5e5544!important;text-decoration:none!important}
.rb-dash-tabs a.is-active{background:var(--ar-teal);border-color:var(--ar-teal);color:#fff!important}
.rb-dash{padding:0!important;gap:12px}
.rb-dash-hello h2{font-size:18px}
.rb-dash-avatar{width:50px;height:50px}
.rb-dash-actions{margin:0 -14px;padding:2px 14px}
.rb-dash-kpis{gap:8px}
.rb-dash-kpis li{padding:13px;border-radius:18px}
.rb-dash-kpis b{font-size:18px}
.rb-dash-card{padding:15px;border-radius:20px}
.rb-chart svg{height:120px}
}
.rb-dash .rb-dash-kpis li{padding:16px!important;margin:0!important;list-style:none}
.rb-dash .rb-dash-check li,.rb-dash .rb-dash-orders li,.rb-dash .rb-dash-top li{padding:0!important;margin:0!important;list-style:none}
.rb-dash .rb-dash-grid{display:block;columns:2;column-gap:12px}
.rb-dash .rb-dash-card{break-inside:avoid;margin:0 0 12px;display:block}
.rb-dash .rb-dash-chart{grid-row:auto}
@media(max-width:1020px){.rb-dash .rb-dash-grid{columns:1}}
@media(max-width:760px){.rb-dash .rb-dash-kpis li{padding:13px!important}}
.rb-dash.rb-dash{grid-template-columns:minmax(0,1fr)}.rb-dash>*{min-width:0}
/* Dokan React screens use Tailwind purple classes */
body.rb-ar-dashboard [class*="bg-purple-"]{background-color:#023b4c!important}
body.rb-ar-dashboard [class*="hover:bg-purple-"]:hover{background-color:#0b4659!important}
body.rb-ar-dashboard [class*="text-purple-"],body.rb-ar-dashboard .text-dokan-link{color:#023b4c!important}
body.rb-ar-dashboard [class*="border-purple-"]{border-color:#023b4c!important}
body.rb-ar-dashboard [class*="ring-purple-"]{--tw-ring-color:rgba(2,59,76,.4)!important}
body.rb-ar-dashboard .dokan-withdraw-wrapper a.dokan-btn,body.rb-ar-dashboard .dokan-layout a.dokan-btn[class*="rounded"]{background:#023b4c!important;border-color:#023b4c!important;color:#fff!important}
body.rb-ar-dashboard .dokan-layout button,body.rb-ar-dashboard .dokan-layout .dokan-btn{border-radius:99px!important}
body.rb-ar-dashboard .dokan-btn-secondary,body.rb-ar-dashboard .dokan-btn-secondary *{color:#023b4c!important;border-color:#023b4c!important}
body.rb-ar-dashboard .dokan-btn-secondary{background:#fff!important}
body.rb-ar-dashboard li:has(>a[href*="tools.keycdn.com"]){display:none!important}
