/* Yaddak UI Boost v1.0.0. Scoped, RTL and IRANSans; no fonts smaller than 11px. */
.yub-categories,.yub-live,.yub-vehicle{font-family:"IRANSans","IRANSansWeb",Tahoma,sans-serif;direction:rtl;box-sizing:border-box}
.yub-categories *,.yub-live *,.yub-vehicle *{box-sizing:border-box;font-family:inherit}
.yub-categories a,.yub-live a,.yub-vehicle a{text-decoration:none}
.yub-categories--cards{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:11px;min-height:128px}
.yub-category{display:flex;align-items:center;gap:7px;color:#242424;transition:border-color .2s,transform .2s,background .2s}
.yub-categories--cards .yub-category{min-height:126px;padding:12px 5px;border:1px solid #e8e8e8;border-radius:13px;background:#fff;flex-direction:column;justify-content:center;text-align:center}
.yub-categories--cards .yub-category:hover{border-color:#f5c400;transform:translateY(-2px);box-shadow:0 7px 17px rgba(0,0,0,.04)}
.yub-category-image{width:59px;height:59px;border-radius:14px;background:#f7f7f7;display:grid;place-items:center;overflow:hidden}
.yub-category-image img{width:59px;height:59px;object-fit:contain}
.yub-category-image svg{width:27px;height:27px;fill:none;stroke:#666;stroke-width:1.65}
.yub-category-label{font-size:12px;font-weight:800;color:inherit;line-height:1.6;max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.yub-categories--links{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.yub-categories--links .yub-category{min-height:44px;border:1px solid #eee;border-radius:9px;background:#fafafa;padding:7px 10px;justify-content:space-between}
.yub-categories--links .yub-category:hover{background:#fff8d5;border-color:#f5c400}
.yub-category-chevron{color:#9f8200;font-size:19px;line-height:1}
.yub-categories--mini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.yub-categories--mini .yub-category{min-height:40px;border:1px solid #ebebeb;border-radius:9px;padding:5px 9px;justify-content:space-between;background:#fff}
.yub-categories--mini .yub-category:hover{background:#fff8d5}
.yub-note{margin:0;padding:18px;background:#fff9df;border:1px solid #eedb91;border-radius:12px;color:#383838;font-size:12px}
.yub-note a{color:#16593c;font-weight:800}
/* Vehicle card */
.yub-vehicle{position:relative;background:#fff;padding:17px 18px;border:2px solid #f5c400;box-shadow:0 6px 0 #111;border-radius:15px;color:#161616;width:100%;min-width:0}
.yub-vehicle-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
.yub-choice{position:relative;min-width:0}
.yub-choice label{display:block;margin-bottom:7px;color:#292929;font-size:12px;font-weight:900}
.yub-choice input{width:100%;height:46px;min-width:0;background:#f8f8f8;border:1px solid #dedede;border-radius:10px;padding:0 12px;color:#171717;font-size:12px;outline:none}
.yub-choice input:focus{border-color:#dfb200;box-shadow:0 0 0 3px rgba(245,196,0,.12);background:#fff}
.yub-choice input:disabled{background:#f3f3f3;color:#999;cursor:not-allowed}
.yub-choice-results{position:absolute;right:0;left:0;top:100%;margin-top:5px;z-index:100;border:1px solid #e5e5e5;box-shadow:0 12px 24px rgba(0,0,0,.13);border-radius:11px;background:#fff;overflow-y:auto;max-height:244px;padding:5px}
.yub-choice-results[hidden]{display:none!important}
.yub-choice-results button{display:block;text-align:right;width:100%;background:#fff;border:0;border-radius:8px;padding:10px 9px;color:#222;font-size:12px;cursor:pointer}
.yub-choice-results button:hover,.yub-choice-results button:focus-visible{background:#fff4bf;outline:0}
.yub-empty{font-size:12px;color:#676767;padding:11px}
.yub-vehicle-go{width:100%;min-height:46px;border:0;border-radius:10px;background:#111;color:#fff;font-size:13px;font-weight:900;cursor:pointer;padding:10px 16px;display:flex;gap:10px;justify-content:center;align-items:center}
.yub-vehicle-go:not(:disabled):hover{background:#1c6f45}
.yub-vehicle-go:disabled{opacity:.43;cursor:not-allowed}
.yub-vehicle-status{font-size:11px;line-height:1.8;color:#685b2a;margin:8px 0 0}
.yub-native{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;clip-path:inset(100%);pointer-events:none}
/* Live AJAX search with fallback full-search submission */
.yub-live{position:relative;width:100%;max-width:100%;z-index:81}
.yub-live-form{display:flex;align-items:center;height:46px;border:1px solid #e9e9e9;background:#f5f5f5;border-radius:11px;overflow:hidden;margin:0}
.yub-live-form:focus-within{background:#fff;border-color:#dfb900;box-shadow:0 0 0 2px rgba(245,196,0,.12)}
.yub-search-submit{flex:none;width:45px;height:44px;display:grid;place-items:center;background:transparent!important;color:#616161!important;border:0!important;cursor:pointer;padding:0}
.yub-search-submit svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.yub-live-form input[type="search"]{width:100%;min-width:0;height:43px;border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;padding:0 2px 0 11px;font-size:12px!important;color:#161616!important}
.yub-live-form input::placeholder{color:#909090}
.yub-live-results{position:absolute;top:calc(100% + 7px);right:0;left:0;max-height:370px;overflow-y:auto;z-index:99999;background:#fff;border:1px solid #e8e8e8;border-top:3px solid #f5c400;box-shadow:0 18px 30px rgba(0,0,0,.13);border-radius:12px;padding:5px}
.yub-live-results[hidden]{display:none!important}
.yub-product-hit{display:flex!important;align-items:center;gap:11px;padding:10px 8px;border-radius:8px;color:#222!important;text-decoration:none!important}
.yub-product-hit:hover,.yub-product-hit:focus-visible{background:#fff6d2;outline:0}
.yub-product-hit img{width:48px;height:48px;object-fit:contain;border-radius:7px;background:#fafafa;flex:none}
.yub-product-hit .yub-hit-placeholder{width:48px;height:48px;display:grid;place-items:center;background:#fafafa;border-radius:7px;flex:none}
.yub-hit-text{flex:1;min-width:0;font-size:12px}
.yub-hit-text strong{display:block;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#222}
.yub-hit-text small{display:block;font-size:11px;color:#626262;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yub-live-message{padding:13px;font-size:12px;color:#666}
.yub-live-all{display:block;text-align:center;padding:9px;font-size:12px;font-weight:850;border-radius:8px;color:#fff!important;background:#177846;text-decoration:none!important}
.yub-live-all:hover{background:#0e5731}
@media(max-width:1150px){.yub-categories--cards{grid-template-columns:repeat(4,minmax(0,1fr))}.yub-categories--links{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.yub-categories--cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.yub-categories--cards .yub-category{min-height:104px;padding:9px 3px}.yub-category-image,.yub-category-image img{width:48px;height:48px}.yub-category-label{font-size:11px}.yub-vehicle-fields{grid-template-columns:1fr;gap:12px}.yub-categories--links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){.yub-categories--cards{grid-template-columns:repeat(3,minmax(0,1fr))}.yub-vehicle{padding:13px}}
/* V4: friendly instant car search — square-rounded controls, no pill buttons */
.yub-vehicle{background:#fffdf3!important;border:2px solid #f5c400!important;border-right:5px solid #167748!important;box-shadow:0 5px 0 #111!important;padding:19px!important;max-width:100%;border-radius:14px!important}
.yub-vehicle-head{display:flex;align-items:center;gap:12px;margin-bottom:15px;color:#161616!important}
.yub-vehicle-head-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;background:#167748;color:#fff!important;font-size:31px;line-height:1;border-radius:10px}
.yub-vehicle-head h3,.yub-vehicle-head p{margin:0!important;color:#171717!important}
.yub-vehicle-head h3{font-weight:900!important;font-size:17px!important;line-height:1.55}
.yub-vehicle-head p{font-size:11px!important;color:#665d43!important;line-height:1.8}
.yub-vehicle .yub-choice label{color:#222!important}
.yub-vehicle .yub-choice--universal>input{background:#fff!important;border:2px solid #d7d0a6!important;height:50px;border-radius:10px;font-weight:700;font-size:13px!important}
.yub-vehicle .yub-choice input:focus{border-color:#167748!important;box-shadow:0 0 0 3px rgba(22,119,72,.10)!important;outline:none}
.yub-vehicle .yub-choice input::placeholder{color:#807b6d!important;opacity:1}
.yub-vehicle-chips{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:10px 0 5px}
.yub-vehicle-chip{background:#fff!important;color:#242424!important;border:1px solid #dcd1a5!important;padding:6px 11px!important;min-height:32px;border-radius:9px!important;font-size:11px!important;font-weight:800;line-height:1.7;cursor:pointer}
.yub-vehicle-chip:hover,.yub-vehicle-chip:focus-visible{background:#e7f4eb!important;color:#105a35!important;border-color:#167748!important}
.yub-or{display:flex;align-items:center;gap:12px;margin:16px 0;color:#77715f;font-size:11px;font-weight:800}
.yub-or::before,.yub-or::after{content:"";height:1px;background:#e8dfb9;flex:1}
.yub-vehicle .yub-vehicle-fields{margin-bottom:13px}
.yub-vehicle .yub-choice-results{max-height:250px;z-index:400;border-color:#dcd6c1}
.yub-result-heading{padding:7px 9px;color:#5d5e57;font-size:11px;font-weight:800;background:#f6f5ee;border-radius:8px}
.yub-vehicle .yub-result-option{color:#1a1a1a!important;font-size:12px!important;white-space:normal;line-height:1.6;background:#fff!important;border-radius:8px!important}
.yub-vehicle .yub-result-option:hover,.yub-vehicle .yub-result-option:focus-visible{background:#e8f4eb!important;color:#114f30!important}
.yub-vehicle .yub-vehicle-go{border-radius:10px!important;background:#167748!important;color:#fff!important;min-height:47px!important}
.yub-vehicle .yub-vehicle-go:not(:disabled):hover{background:#095e36!important;color:#fff!important}
.yub-vehicle .yub-vehicle-go span,.yub-vehicle .yub-vehicle-go:hover span{color:#fff!important}
.yub-vehicle .yub-vehicle-go:disabled{background:#777!important;color:#fff!important;opacity:.58!important}
.yub-vehicle .yub-vehicle-status{color:#6c5b2f!important;font-size:11px!important}
.yub-vehicle :is(button,input){font-family:"IRANSans","IRANSansWeb",Tahoma,sans-serif!important}
.yub-live-all,.yub-live-all:hover{color:#fff!important;border-radius:10px!important}
.yub-live-results a{border-radius:10px!important}
@media(max-width:720px){.yub-vehicle{padding:13px!important}.yub-vehicle-head h3{font-size:15px!important}.yub-vehicle-head-icon{width:34px;height:34px}.yub-vehicle-chips{gap:5px}.yub-vehicle-chip{padding:5px 9px!important}}

/* ===== V5: compact vehicle selector, no jumbo card; no 100% radii ===== */
.yub-vehicle--compact,.yub-vehicle--quick{padding:13px 15px!important;background:#fff!important;border:1px solid #dfe5df!important;border-right:4px solid #f5c400!important;border-radius:12px!important;box-shadow:none!important;min-height:0!important}
.yub-vehicle--compact .yub-vehicle-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(156px,.7fr);align-items:end;gap:11px}
.yub-vehicle--quick .yub-vehicle-row{display:grid;grid-template-columns:minmax(0,1fr) 185px;gap:10px;align-items:end}
.yub-vehicle--compact .yub-choice label,.yub-vehicle--quick .yub-choice label{font-size:11px!important;color:#292f2a!important;margin:0 0 5px!important;font-weight:850!important}
.yub-vehicle--compact .yub-choice input,.yub-vehicle--quick .yub-choice input{height:43px!important;background:#f7f8f7!important;border:1px solid #dce2dc!important;border-radius:9px!important;color:#171717!important;font-size:12px!important;padding:0 12px!important}
.yub-vehicle--compact .yub-choice input:focus,.yub-vehicle--quick .yub-choice input:focus{background:#fff!important;border-color:#137647!important;box-shadow:0 0 0 2px rgba(18,117,68,.11)!important}
.yub-vehicle--compact .yub-vehicle-go,.yub-vehicle--quick .yub-vehicle-go{min-height:43px!important;height:43px!important;padding:7px 9px!important;border-radius:9px!important;background:#177a4b!important;color:#fff!important;font-size:12px!important;white-space:nowrap}
.yub-vehicle--compact .yub-vehicle-go:not(:disabled):hover,.yub-vehicle--quick .yub-vehicle-go:not(:disabled):hover{background:#105732!important;color:#fff!important}
.yub-vehicle--compact .yub-vehicle-go:disabled,.yub-vehicle--quick .yub-vehicle-go:disabled{background:#929a93!important;color:#fff!important;opacity:.75!important}
.yub-vehicle--compact .yub-vehicle-status,.yub-vehicle--quick .yub-vehicle-status{margin:6px 0 0!important;font-size:11px!important;color:#647066!important;line-height:1.5!important}
.yub-quick-head{display:flex;align-items:center;gap:9px;margin-bottom:12px;color:#141414}.yub-quick-head>span{background:#167748;color:white;border-radius:9px;font-size:24px;width:36px;height:36px;display:grid;place-items:center}.yub-quick-head strong,.yub-quick-head small{display:block;color:#151515}.yub-quick-head strong{font-size:14px}.yub-quick-head small{font-size:11px;color:#777}
.yub-vehicle--compact :is(input,button),.yub-vehicle--quick :is(input,button){border-radius:9px!important;font-family:'IRANSans','IRANSansWeb',Tahoma,sans-serif!important}
.yub-vehicle--compact .yub-result-option,.yub-vehicle--quick .yub-result-option{border-radius:7px!important;min-height:36px!important;text-align:right!important}
.yub-vehicle--compact .yub-choice-results,.yub-vehicle--quick .yub-choice-results{max-height:228px;border-radius:10px;z-index:1000}
@media(max-width:760px){.yub-vehicle--compact,.yub-vehicle--quick{padding:12px!important}.yub-vehicle--compact .yub-vehicle-row{grid-template-columns:1fr 1fr;gap:9px}.yub-vehicle--compact .yub-vehicle-go{grid-column:1/-1}.yub-vehicle--compact .yub-choice input{font-size:11px!important;padding:0 8px!important}.yub-vehicle--quick .yub-vehicle-row{grid-template-columns:1fr}.yub-vehicle--compact .yub-vehicle-status{font-size:11px!important}}
@media(max-width:355px){.yub-vehicle--compact .yub-vehicle-row{grid-template-columns:1fr}}
