/* PhotoBridge v702 — hard-linked mobile invite row + desktop store section rail.
   This file is intentionally self-contained: the standalone store page does not load v700/v701. */

@media (max-width:820px){
  /* Keep all existing mobile header controls exactly where they are; only Invite moves to line 2. */
  .photographerMain>.unifiedRoleHeader.photographerHeaderRefined>.photographerMobileHeaderQuickActions,
  #storePhotographerWorkspace>#photographerStoreRoleHeader.photographerHeaderRefined>.photographerMobileHeaderQuickActions{
    overflow:visible!important;
  }

  .photographerMain>.unifiedRoleHeader.photographerHeaderRefined>.photographerMobileHeaderQuickActions>.mobileHeaderInvite,
  #storePhotographerWorkspace>#photographerStoreRoleHeader.photographerHeaderRefined>.photographerMobileHeaderQuickActions>.mobileHeaderInvite{
    position:absolute!important;
    left:0!important;
    right:auto!important;
    top:30px!important;
    bottom:auto!important;
    width:96px!important;
    min-width:96px!important;
    max-width:96px!important;
    height:32px!important;
    min-height:32px!important;
    max-height:32px!important;
    flex:none!important;
    margin:0!important;
    padding:0 8px!important;
    border:1px solid #d8dee9!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#344054!important;
    box-shadow:0 1px 2px rgba(16,24,40,.03)!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    aspect-ratio:auto!important;
    z-index:40!important;
    font-size:0!important;
    line-height:1!important;
    transform:none!important;
  }

  .photographerMain>.unifiedRoleHeader.photographerHeaderRefined>.photographerMobileHeaderQuickActions>.mobileHeaderInvite::before,
  .photographerMain>.unifiedRoleHeader.photographerHeaderRefined>.photographerMobileHeaderQuickActions>.mobileHeaderInvite::after,
  #storePhotographerWorkspace>#photographerStoreRoleHeader.photographerHeaderRefined>.photographerMobileHeaderQuickActions>.mobileHeaderInvite::before,
  #storePhotographerWorkspace>#photographerStoreRoleHeader.photographerHeaderRefined>.photographerMobileHeaderQuickActions>.mobileHeaderInvite::after{
    content:none!important;
    display:none!important;
  }

  .mobileHeaderInvite>.pb698InviteLabel,
  .mobileHeaderInvite>.pb699InviteLabel,
  .mobileHeaderInvite>.pb700InviteLabel{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    color:#344054!important;
    font-family:inherit!important;
    font-size:10px!important;
    font-weight:900!important;
    line-height:1!important;
    letter-spacing:0!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    direction:rtl!important;
    transform:none!important;
  }

  /* Invite no longer consumes first-row width. Wallet stays on row 1. */
  .photographerMain>.unifiedRoleHeader.photographerHeaderRefined>.photographerHeaderIdentity,
  #storePhotographerWorkspace>#photographerStoreRoleHeader.photographerHeaderRefined>.photographerHeaderIdentity{
    padding-left:214px!important;
  }
}

@media (max-width:380px){
  .photographerMain>.unifiedRoleHeader.photographerHeaderRefined>.photographerMobileHeaderQuickActions>.mobileHeaderInvite,
  #storePhotographerWorkspace>#photographerStoreRoleHeader.photographerHeaderRefined>.photographerMobileHeaderQuickActions>.mobileHeaderInvite{
    width:92px!important;
    min-width:92px!important;
    max-width:92px!important;
  }
  .mobileHeaderInvite>.pb698InviteLabel,
  .mobileHeaderInvite>.pb699InviteLabel,
  .mobileHeaderInvite>.pb700InviteLabel{font-size:9.6px!important}
  .photographerMain>.unifiedRoleHeader.photographerHeaderRefined>.photographerHeaderIdentity,
  #storePhotographerWorkspace>#photographerStoreRoleHeader.photographerHeaderRefined>.photographerHeaderIdentity{padding-left:206px!important}
}

/* Desktop store: the four store destinations are a permanent rail below the blue store identity bar. */
@media (min-width:821px){
  #storePhotographerWorkspace>#storeSectionNavV673.pb673StoreSectionNav{
    position:fixed!important;
    display:flex!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    direction:rtl!important;
    top:calc(var(--pb-store-role-header-h,64px) + var(--pb-store-identity-h,42px))!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    z-index:590!important;
    margin:0!important;
    padding:0 max(14px,calc((100vw - 1120px)/2))!important;
    gap:0!important;
    background:#fff!important;
    border:0!important;
    border-bottom:1px solid #e4e7ec!important;
    border-radius:0!important;
    box-shadow:0 5px 14px rgba(15,23,42,.05)!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }

  #storePhotographerWorkspace>#storeSectionNavV673.pb673StoreSectionNav>button{
    position:relative!important;
    width:auto!important;
    min-width:72px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    margin:0!important;
    padding:0 15px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#475467!important;
    box-shadow:none!important;
    font:850 10.5px Vazirmatn,Tahoma,sans-serif!important;
    white-space:nowrap!important;
    cursor:pointer!important;
  }
  #storePhotographerWorkspace>#storeSectionNavV673.pb673StoreSectionNav>button:hover{
    background:#f8faff!important;
    color:#315efb!important;
  }
  #storePhotographerWorkspace>#storeSectionNavV673.pb673StoreSectionNav>button::after{
    content:""!important;
    position:absolute!important;
    left:12px!important;
    right:12px!important;
    bottom:0!important;
    height:3px!important;
    border-radius:3px 3px 0 0!important;
    background:transparent!important;
  }
  #storePhotographerWorkspace>#storeSectionNavV673.pb673StoreSectionNav>button.active{
    background:transparent!important;
    border:0!important;
    color:#315efb!important;
    font-weight:950!important;
  }
  #storePhotographerWorkspace>#storeSectionNavV673.pb673StoreSectionNav>button.active::after{background:#315efb!important}

  /* Existing 50px reserved the identity bar only. Reserve the new 44px rail too. */
  #storePhotographerWorkspace>.shell{
    padding-top:94px!important;
    scroll-padding-top:160px!important;
  }
  #storePhotographerWorkspace .rentalPanel{scroll-margin-top:160px!important}
}
