/* JobLik 0.33.791 — desktop business-detail cleanup, aligned/wider gallery actions, viewport-fit refinement. */
html body .j790-gallery-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important}
html body .j790-gallery-head h2{margin:0!important;white-space:nowrap!important}
html body .j790-gallery-links-mobile{display:none!important}
html body .j746-business .jbp-tools a{white-space:nowrap!important;overflow:visible!important;font-size:11px!important;line-height:1.7!important}
html body .j746-business .jbp-tools a span{white-space:nowrap!important}
html body .j789-personal-note .j714-note{display:grid!important;gap:5px!important;margin:0!important}
html body .j789-personal-note .j714-note>textarea{width:100%!important;min-height:56px!important;resize:vertical!important;box-sizing:border-box!important}
html body .j789-personal-note .j714-note>small{font-size:10px!important;color:#687b8d!important}

@media(min-width:901px){
 html body .j746-business .jbp-mobile-identity>h1{display:none!important}
 html body .j746-business .jbp-mobile-identity{padding-top:0!important;margin-top:0!important}
 html body .j746-business .jbp-mobile-identity>.j783-identity-label{margin-bottom:6px!important}
 html body .j746-business .j790-gallery-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;margin-top:8px!important}
 html body .j746-business .j790-gallery-row>.j707-gallery-link{display:block!important;flex:1 1 auto!important;margin:0!important;color:#e57000!important;text-decoration:none!important;cursor:default!important;white-space:nowrap!important}
 html body .j746-business .j790-gallery-links{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex:0 0 auto!important}
 html body .j746-business .j790-gallery-links a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:30px!important;padding:5px 12px!important;border:1px solid #e67a18!important;border-radius:7px!important;background:#fff8f1!important;color:#b75c08!important;text-decoration:none!important;font-size:11px!important;font-weight:800!important;white-space:nowrap!important}
 html body .j746-business .j790-gallery-links a:last-child:not(:only-child){background:#173d63!important;border-color:#173d63!important;color:#fff!important}
}

@media(max-width:900px){
 html body .j746-business .j790-gallery-row{display:block!important}
 html body .j746-business .j790-gallery-row>.j707-gallery-link{display:block!important}
 html body .j746-business .j790-gallery-row>.j790-gallery-links{display:none!important}
 html body .j790-gallery-links-mobile{display:flex!important;align-items:center!important;gap:7px!important;width:100%!important;margin-top:8px!important}
 html body .j790-gallery-links-mobile a{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:1!important;min-height:34px!important;padding:6px 10px!important;border:1px solid #e67a18!important;border-radius:7px!important;background:#fff8f1!important;color:#b75c08!important;text-decoration:none!important;font-size:11px!important;font-weight:800!important;white-space:nowrap!important}
 html body .j790-gallery-links-mobile a:last-child:not(:only-child){background:#173d63!important;border-color:#173d63!important;color:#fff!important}
 .j747-register-mobile{white-space:normal!important}.j747-register-desktop{display:none!important}
}


/* 0.33.791 — requested desktop-only cleanup. */
@media(min-width:901px){
 /* Remove the lower “آگهی‌های این کسب‌وکار” tab and its panel from desktop only. */
 html body .j746-business .j791-desktop-removed-gallery{display:none!important}
 html body .j746-business .j709-tabs button:nth-child(3){display:none!important}

 /* Keep the explanatory text and gallery buttons on one baseline; buttons fill the free side. */
 html body .j746-business .j790-gallery-row{
   display:flex!important;
   align-items:center!important;
   justify-content:stretch!important;
   gap:10px!important;
   width:100%!important;
   min-width:0!important;
 }
 html body .j746-business .j790-gallery-row>.j707-gallery-link{
   flex:0 0 auto!important;
   margin:0!important;
   line-height:34px!important;
   min-height:34px!important;
   white-space:nowrap!important;
 }
 html body .j746-business .j790-gallery-links{
   display:flex!important;
   align-items:center!important;
   justify-content:stretch!important;
   flex:1 1 0!important;
   min-width:0!important;
   gap:8px!important;
 }
 html body .j746-business .j790-gallery-links a{
   flex:1 1 0!important;
   width:auto!important;
   min-width:92px!important;
   min-height:34px!important;
   padding:6px 14px!important;
 }

 /* The desktop detail geometry is intended to live inside one viewport.  Hide only the tiny
    residual document overflow on normal-height desktop screens; short screens keep scrolling. */
 html body.joblik-business-detail-page{margin-bottom:0!important;padding-bottom:0!important}
}
@media(min-width:901px) and (min-height:720px){
 html body.joblik-business-detail-page{overflow-y:hidden!important}
}
