/* =========================================================
   ORYN SHOP — FORUM-EXACT RIGHT HEADER CONTROLS v1
   Mirrors the working Forum proportions.
   Loaded AFTER shop.css so older profile patches cannot compress it.
========================================================= */

@media (min-width:621px){
  html body header#main-header .social-icons-menu{
    box-sizing:border-box!important;
    width:286px!important;
    min-width:286px!important;
    max-width:286px!important;
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    flex:0 0 286px!important;
    padding:4px 7px 4px 5px!important;
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    overflow:visible!important;
    white-space:nowrap!important;
  }

  html body header#main-header .social-icons-menu .shop-header-profile{
    box-sizing:border-box!important;
    position:static!important;
    flex:0 0 auto!important;
    min-width:86px!important;
    width:auto!important;
    max-width:none!important;
    height:36px!important;
    min-height:36px!important;
    margin:0!important;
    padding:3px 10px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    border:1px solid rgba(23,19,15,.12)!important;
    border-radius:999px!important;
    background:rgba(23,19,15,.08)!important;
    color:#17130f!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.38)!important;
    font:900 .72rem/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    transform:none!important;
  }

  html body header#main-header .social-icons-menu .shop-header-profile.is-signed-in{
    min-width:102px!important;
    padding-left:4px!important;
    justify-content:flex-start!important;
  }

  html body header#main-header .social-icons-menu .shop-header-profile:hover,
  html body header#main-header .social-icons-menu .shop-header-profile:focus-visible{
    background:rgba(23,19,15,.15)!important;
    border-color:rgba(23,19,15,.19)!important;
    transform:translateY(-1px)!important;
  }

  html body header#main-header .social-icons-menu .shop-header-profile-picture{
    box-sizing:border-box!important;
    flex:0 0 28px!important;
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    min-height:28px!important;
    max-width:28px!important;
    max-height:28px!important;
    margin:0!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    overflow:hidden!important;
    border:1px solid rgba(23,19,15,.18)!important;
    border-radius:50%!important;
    background:#1a1713!important;
  }

  html body header#main-header .social-icons-menu .shop-header-profile-picture img{
    width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;
  }
  html body header#main-header .social-icons-menu .shop-header-profile-picture svg{
    width:17px!important;height:17px!important;display:block!important;
  }

  /* The Forum design has no extra divider between Profile and Weather. */
  html body header#main-header .social-icons-menu .shop-header-profile-divider{
    display:none!important;
  }

  html body header#main-header .social-icons-menu a.weather-widget{
    position:static!important;
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    height:36px!important;
    min-height:36px!important;
    margin:0!important;
    padding:0 8px!important;
    gap:4px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:0!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.70)!important;
    color:#17130f!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.54)!important;
    transform:none!important;
  }
  html body header#main-header .social-icons-menu .weather-widget-temp{
    display:block!important;
    font-size:.76rem!important;
    line-height:1!important;
    font-weight:900!important;
    white-space:nowrap!important;
  }
  html body header#main-header .social-icons-menu button.lang-toggle{
    position:static!important;
    flex:0 0 auto!important;
    width:31px!important;
    min-width:31px!important;
    height:36px!important;
    min-height:36px!important;
    margin:0!important;
    padding:0 3px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:0!important;
    border-radius:50%!important;
    background:transparent!important;
    color:#17130f!important;
    box-shadow:none!important;
    font:900 .76rem/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;
    letter-spacing:.03em!important;
    transform:none!important;
  }
  html body header#main-header .social-icons-menu span.header-divider:not(.shop-header-profile-divider){
    position:static!important;
    flex:0 0 1px!important;
    width:1px!important;
    min-width:1px!important;
    height:20px!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
    border:0!important;
    background:rgba(23,19,15,.18)!important;
    transform:none!important;
  }
  html body header#main-header .social-icons-menu a.icon-link{
    position:static!important;
    flex:0 0 auto!important;
    width:27px!important;
    min-width:27px!important;
    height:27px!important;
    min-height:27px!important;
    margin:0!important;
    padding:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:0!important;
    border-radius:50%!important;
    background:transparent!important;
    box-shadow:none!important;
    transform:none!important;
  }
  html body header#main-header .social-icons-menu a.icon-link .icon{
    width:20px!important;height:20px!important;display:block!important;
  }
}

@media (min-width:621px) and (max-width:1024px){
  html body header#main-header .social-icons-menu{
    width:274px!important;
    min-width:274px!important;
    max-width:274px!important;
    flex-basis:274px!important;
  }
}

/* Phone: Profile belongs to the Shop bottom dashboard, exactly as requested. */
@media (max-width:620px){
  html body header#main-header .social-icons-menu{
    width:112px!important;
    min-width:112px!important;
    max-width:112px!important;
    flex-basis:112px!important;
    padding:4px 7px 4px 5px!important;
    gap:5px!important;
  }
  html body header#main-header .social-icons-menu .shop-header-profile,
  html body header#main-header .social-icons-menu .shop-header-profile-divider{
    display:none!important;
  }
  html body header#main-header .social-icons-menu a.weather-widget{
    display:inline-flex!important;
    flex:1 1 auto!important;
    min-width:0!important;
    height:32px!important;
    min-height:32px!important;
    padding:0!important;
  }
  html body header#main-header .social-icons-menu .weather-widget-temp{display:none!important;}
  html body header#main-header .social-icons-menu button.lang-toggle{
    width:30px!important;min-width:30px!important;height:32px!important;min-height:32px!important;padding:0!important;
  }
  html body header#main-header .social-icons-menu span.header-divider:not(.shop-header-profile-divider){height:18px!important;display:block!important;}
  html body header#main-header .social-icons-menu a.icon-link{
    width:25px!important;min-width:25px!important;height:25px!important;min-height:25px!important;display:inline-flex!important;
  }
  html body header#main-header .social-icons-menu a.icon-link .icon{width:19px!important;height:19px!important;}
}
