/* Yaddak Dokan Accelerator v1.7 */
.yd-turbo,
.yd-turbo *{box-sizing:border-box}
.yd-turbo{direction:rtl;width:100%;max-width:1500px;margin:0 auto;padding:24px clamp(16px,2.5vw,34px) 46px;font-family:var(--yd-font,"IRANSans","IRANSansWeb",Tahoma,Arial,sans-serif);color:var(--yd-ink,#111)}
.yd-turbo-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 26px;margin-bottom:16px;border-radius:18px;background:#111;color:#fff;border:1px solid #242424;overflow:hidden}
.yd-turbo-hero>div:first-child{min-width:0}.yd-turbo-hero span{display:block;color:#f6c900;font-size:11px;font-weight:900;margin-bottom:4px}.yd-turbo-hero h1{margin:0!important;color:#fff!important;font-size:28px!important;line-height:1.45!important;font-weight:900!important}.yd-turbo-hero p{margin:5px 0 0!important;color:#c7c7c7!important;font-size:12px!important;line-height:1.9!important}.yd-turbo-hero>a,.yd-turbo-hero__buttons a{min-height:42px;padding:0 14px;border:1px solid #3b3b3b;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;color:#fff!important;text-decoration:none!important;font-size:11px;font-weight:900;white-space:nowrap}.yd-turbo-hero__buttons{display:flex;gap:8px;flex-wrap:wrap}.yd-turbo-hero__buttons a.is-primary{background:var(--yd-primary,#f6c900);border-color:var(--yd-primary,#f6c900);color:#111!important}
.yd-turbo-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.yd-turbo-stats>div{padding:18px;border:1px solid var(--yd-border,#e5e5e1);border-radius:15px;background:#fff;box-shadow:0 7px 18px rgba(17,17,17,.035)}.yd-turbo-stats span,.yd-turbo-stats small{display:block;color:#727272;font-size:11px}.yd-turbo-stats strong{display:block;margin:8px 0 4px;font-size:20px;font-weight:900;line-height:1.5}.yd-turbo-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.yd-turbo-actions a{min-height:110px;padding:17px;border:1px solid var(--yd-border,#e5e5e1);border-radius:15px;background:#fff;color:#111!important;text-decoration:none!important;display:flex;flex-direction:column;justify-content:flex-end;transition:.16s ease}.yd-turbo-actions a:hover{transform:translateY(-2px);border-color:#d1b000}.yd-turbo-actions b{font-size:14px}.yd-turbo-actions span{margin-top:3px;color:#777;font-size:11px}
.yd-turbo-filter{display:grid;grid-template-columns:minmax(220px,1fr) 220px auto;gap:9px;align-items:center;padding:13px;margin-bottom:12px;border:1px solid var(--yd-border,#e5e5e1);border-radius:14px;background:#fff}.yd-turbo-filter :where(input,select){height:44px!important;border:1px solid #deded8!important;border-radius:10px!important;background:#fff!important;padding:0 12px!important;font-family:inherit!important;font-size:12px!important;box-shadow:none!important}.yd-turbo-filter button{height:44px;padding:0 18px;border:0;border-radius:10px;background:#111;color:#fff;font-family:inherit;font-size:11px;font-weight:900;cursor:pointer}
.yd-turbo-table-card{border:1px solid var(--yd-border,#e5e5e1);border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 8px 22px rgba(17,17,17,.035)}
.yd-turbo-product-list{display:grid}.yd-turbo-product{display:grid;grid-template-columns:56px minmax(190px,1.3fr) minmax(120px,.7fr) minmax(120px,.7fr) minmax(100px,.55fr) auto;gap:10px;align-items:center;padding:11px 13px;border-bottom:1px solid #ecece8}.yd-turbo-product:last-child{border-bottom:0}.yd-turbo-product__media{width:48px;height:48px;border-radius:10px;background:#f4f4f1;overflow:hidden;display:grid;place-items:center;color:#777;font-size:10px}.yd-turbo-product__media img{width:100%;height:100%;object-fit:cover}.yd-turbo-product__name{min-width:0}.yd-turbo-product__name a{display:block;color:#111!important;text-decoration:none!important;font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yd-turbo-product__name small{display:block;margin-top:2px;color:#858585;font-size:10px}.yd-turbo-product label{display:grid;gap:4px}.yd-turbo-product label span{color:#777;font-size:9px;font-weight:700}.yd-turbo-product input{width:100%;height:39px!important;padding:0 9px!important;border:1px solid #e0e0dc!important;border-radius:9px!important;font-family:inherit!important;font-size:11px!important;box-shadow:none!important}.yd-turbo-row-save,.yd-turbo-order button{height:39px;padding:0 13px;border:0;border-radius:9px;background:#111;color:#fff;font-family:inherit;font-size:10px;font-weight:900;cursor:pointer}.yd-turbo-row-save.is-saving{opacity:.55;pointer-events:none}
.yd-turbo-order-head,.yd-turbo-order{display:grid;grid-template-columns:90px 150px 150px minmax(130px,1fr) minmax(130px,1fr) 80px;gap:10px;align-items:center;padding:12px 14px}.yd-turbo-order-head{background:#fafaf8;color:#666;border-bottom:1px solid #e9e9e5;font-size:10px;font-weight:900}.yd-turbo-order{border-bottom:1px solid #ededeb;font-size:11px}.yd-turbo-order:last-child{border-bottom:0}.yd-turbo-status{width:max-content;max-width:100%;padding:5px 8px;border-radius:999px;background:#fff7c8;color:#5f5000;font-size:10px;font-weight:800}.yd-turbo-empty{padding:50px 20px;text-align:center;color:#777;font-size:12px}.yd-turbo-pagination{display:flex;justify-content:center;gap:5px;margin-top:14px}.yd-turbo-pagination a{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--yd-border,#e5e5e1);border-radius:9px;background:#fff;color:#111!important;text-decoration:none!important;font-size:11px;font-weight:800}.yd-turbo-pagination a.is-current{background:#111;color:#fff!important;border-color:#111}
.yd-turbo-modal[hidden]{display:none!important}.yd-turbo-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:18px}.yd-turbo-modal__backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.58)}.yd-turbo-modal__dialog{position:relative;z-index:1;width:min(620px,100%);max-height:min(720px,90vh);overflow:auto;padding:22px;border-radius:17px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.22)}.yd-turbo-modal__close{position:absolute;left:14px;top:14px;width:34px;height:34px;border:0;border-radius:9px;background:#f1f1ef;font-size:20px;cursor:pointer}.yd-turbo-order-detail h3{margin:0 0 14px!important;font-size:19px!important;font-weight:900!important}.yd-turbo-order-detail__meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}.yd-turbo-order-detail__meta div{padding:10px;border-radius:10px;background:#f7f7f5}.yd-turbo-order-detail__meta span{display:block;color:#777;font-size:9px}.yd-turbo-order-detail__meta strong{display:block;margin-top:3px;font-size:11px}.yd-turbo-order-detail ul{margin:0;padding:0;list-style:none}.yd-turbo-order-detail li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #eee;font-size:11px}
/* Product single lightweight seller block: avoids Dokan's heavy rating scan. */
.yd-product-vendor-lite{margin-top:10px;padding:10px 12px;border:1px solid #e5e5e1;border-radius:10px;background:#fafaf8;display:flex;align-items:center;gap:7px;font-family:var(--yd-font,"IRANSans","IRANSansWeb",Tahoma,Arial,sans-serif);font-size:11px}.yd-product-vendor-lite span{color:#777}.yd-product-vendor-lite a{color:#111!important;font-weight:900;text-decoration:none!important}.yd-product-vendor-tab{display:flex;align-items:center;gap:13px;padding:8px 0;font-family:var(--yd-font,"IRANSans","IRANSansWeb",Tahoma,Arial,sans-serif)}.yd-product-vendor-tab img{width:62px;height:62px;border-radius:14px;object-fit:cover}.yd-product-vendor-tab>div{display:flex;flex-direction:column;gap:4px}.yd-product-vendor-tab strong{font-size:14px}.yd-product-vendor-tab span{color:#777;font-size:11px}.yd-product-vendor-tab a{width:max-content;padding:7px 10px;border-radius:8px;background:#111;color:#fff!important;text-decoration:none!important;font-size:10px;font-weight:800}
/* Sidebar offset lives in vendor-dashboard.css / #yaddak-sidebar-geometry.
   Do not set a second width contract here; it used to fight the real page column. */
@media (max-width:850px){.yd-turbo{padding:16px 12px 92px}.yd-turbo-hero{padding:18px;align-items:flex-start;flex-direction:column}.yd-turbo-hero h1{font-size:22px!important}.yd-turbo-hero>a,.yd-turbo-hero__buttons{width:100%}.yd-turbo-hero__buttons a{flex:1}.yd-turbo-stats{grid-template-columns:1fr}.yd-turbo-actions{grid-template-columns:1fr 1fr}.yd-turbo-filter{grid-template-columns:1fr}.yd-turbo-product{grid-template-columns:48px minmax(0,1fr) auto;gap:8px}.yd-turbo-product label{grid-column:span 1}.yd-turbo-product__name{grid-column:auto}.yd-turbo-product .yd-turbo-row-save{grid-column:1/-1;width:100%}.yd-turbo-product label:nth-of-type(1),.yd-turbo-product label:nth-of-type(2),.yd-turbo-product label:nth-of-type(3){grid-column:span 1}.yd-turbo-order-head{display:none}.yd-turbo-order{grid-template-columns:1fr 1fr;gap:8px;padding:13px}.yd-turbo-order strong{font-size:13px}.yd-turbo-order button{grid-column:1/-1;width:100%}.yd-turbo-order-detail__meta{grid-template-columns:1fr}}
@media (max-width:520px){.yd-turbo-actions{grid-template-columns:1fr}.yd-turbo-product{grid-template-columns:44px minmax(0,1fr)}.yd-turbo-product label,.yd-turbo-product .yd-turbo-row-save,.yd-turbo-product__actions{grid-column:1/-1}.yd-turbo-product__media{width:42px;height:42px}}

.yd-turbo-product__actions{display:flex;gap:6px;align-items:center}
.yd-turbo-row-edit,.yd-turbo-product__actions .yd-turbo-row-save{height:36px;padding:0 12px;border-radius:10px;border:1px solid #111;font-size:11px;font-weight:800;cursor:pointer}
.yd-turbo-row-edit{background:#fff;color:#111}
.yd-turbo-product__actions .yd-turbo-row-save{background:#111;color:#fff}
.yd-turbo-modal__dialog--editor{width:min(760px,100%)}
.yd-turbo-editor{display:grid;gap:12px}
.yd-turbo-editor h3{margin:0 28px 0 0;font-size:18px;font-weight:900}
.yd-turbo-editor label{display:grid;gap:5px}
.yd-turbo-editor label span{font-size:11px;font-weight:800;color:#444}
.yd-turbo-editor input,.yd-turbo-editor select,.yd-turbo-editor textarea{width:100%;border:1px solid #e4e4e0;border-radius:10px;padding:9px 11px;background:#fff;color:#111;font:inherit}
.yd-turbo-editor__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.yd-turbo-editor__image{display:flex;gap:12px;align-items:center}
.yd-turbo-editor__thumb{width:72px;height:72px;border-radius:12px;overflow:hidden;background:#f4f4f1;display:grid;place-items:center;color:#888;font-size:10px;flex:0 0 72px}
.yd-turbo-editor__thumb img{width:100%;height:100%;object-fit:cover}
.yd-turbo-editor__error{margin:0;color:#a1261c;font-size:12px;font-weight:700}
.yd-turbo-status.is-completed{background:#e7f7ee;color:#0e6a38}
.yd-turbo-status.is-processing,.yd-turbo-status.is-on-hold{background:#fff4cc;color:#6a5600}
.yd-turbo-status.is-cancelled,.yd-turbo-status.is-failed,.yd-turbo-status.is-refunded{background:#fdeceb;color:#9d2b22}
.yd-more-products{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.yd-more-products a{color:#111;font-weight:700;text-decoration:none}
@media (max-width:700px){.yd-turbo-editor__grid{grid-template-columns:1fr}.yd-turbo-product__actions{grid-column:1/-1;width:100%}.yd-turbo-product__actions button{flex:1}}
.yd-turbo-editor__hint{margin:0;color:#666;font-size:12px;line-height:1.8}
.yd-turbo-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
.yd-turbo-image{display:grid;gap:6px;padding:8px;border:1px solid #e6e6e1;border-radius:12px;background:#fafaf8}
.yd-turbo-image.is-featured{border-color:#111;background:#fffdf3}
.yd-turbo-image img{width:100%;height:92px;object-fit:cover;border-radius:8px;background:#eee}
.yd-turbo-image b{font-size:11px}
.yd-turbo-image span{display:flex;gap:4px}
.yd-turbo-image button{flex:1;min-height:30px;border:0;border-radius:8px;background:#111;color:#fff;font:inherit;font-size:10px;font-weight:800;cursor:pointer}
.yd-turbo-image button[disabled]{opacity:.4;cursor:default}
.yd-ai-reason{display:block;margin-top:4px;color:#a62a1f;font-size:12px;line-height:1.7}

