/* =========================================================
   ORYN SHOP — FINAL RIGHT HEADER LAYOUT v22
   Loaded AFTER /css/oryn-header-unified.css.
   Profile | Weather | HU/EN | divider | Instagram
========================================================= */

@media (min-width: 1025px) {
  html body header#main-header .social-icons-menu {
    box-sizing: border-box !important;
    position: fixed !important;
    top: 41px !important;
    right: max(18px, env(safe-area-inset-right)) !important;
    left: auto !important;

    width: 304px !important;
    min-width: 304px !important;
    max-width: 304px !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;

    padding: 5px 8px !important;
    margin: 0 !important;

    display: grid !important;
    grid-template-columns: 108px 92px 34px 1px 27px !important;
    column-gap: 6px !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;
    white-space: nowrap !important;
    transform: translateY(-50%) !important;
  }

  html body header#main-header .social-icons-menu > * {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
  }

  html body header#main-header .shop-header-profile {
    grid-column: 1 !important;
    width: 108px !important;
    min-width: 108px !important;
    max-width: 108px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 10px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !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 .74rem/1 system-ui,-apple-system,"Segoe UI",sans-serif !important;
    overflow: hidden !important;
    transform: none !important;
  }

  html body header#main-header .shop-header-profile.is-signed-in {
    justify-content: flex-start !important;
    padding-left: 5px !important;
  }

  html body header#main-header .shop-header-profile-picture {
    flex: 0 0 28px !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    border-radius: 50% !important;
  }

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

  html body header#main-header .shop-header-profile-label {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body header#main-header .shop-header-profile-divider {
    display: none !important;
  }

  html body header#main-header .weather-widget {
    grid-column: 2 !important;
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 10px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !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 .weather-widget-icon {
    flex: 0 0 auto !important;
    font-size: 1rem !important;
    line-height: 1 !important;
  }

  html body header#main-header .weather-widget-temp {
    display: inline-block !important;
    flex: 0 0 auto !important;
    font-size: .78rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  html body header#main-header .lang-toggle {
    grid-column: 3 !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;

    display: grid !important;
    place-items: center !important;

    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #17130f !important;
    font: 900 .78rem/1 system-ui,-apple-system,"Segoe UI",sans-serif !important;
    transform: none !important;
  }

  html body header#main-header .social-icons-menu > .header-divider:not(.shop-header-profile-divider) {
    grid-column: 4 !important;
    display: block !important;
    width: 1px !important;
    min-width: 1px !important;
    max-width: 1px !important;
    height: 22px !important;
    background: rgba(23,19,15,.18) !important;
  }

  html body header#main-header .icon-link {
    grid-column: 5 !important;
    width: 27px !important;
    min-width: 27px !important;
    max-width: 27px !important;
    height: 27px !important;
    min-height: 27px !important;
    padding: 0 !important;

    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    transform: none !important;
  }

  html body header#main-header .icon-link .icon {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
  }
}

/* Tablet — same structure, slightly tighter. */
@media (min-width: 621px) and (max-width: 1024px) {
  html body header#main-header .social-icons-menu {
    box-sizing: border-box !important;
    position: fixed !important;
    top: 37px !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    left: auto !important;

    width: 278px !important;
    min-width: 278px !important;
    max-width: 278px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;

    padding: 4px 7px !important;
    margin: 0 !important;

    display: grid !important;
    grid-template-columns: 98px 82px 32px 1px 25px !important;
    column-gap: 5px !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;
    white-space: nowrap !important;
    transform: translateY(-50%) !important;
  }

  html body header#main-header .shop-header-profile {
    width: 98px !important;
    min-width: 98px !important;
    max-width: 98px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 8px !important;
    gap: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: rgba(23,19,15,.08) !important;
    color: #17130f !important;
    font: 900 .70rem/1 system-ui,-apple-system,"Segoe UI",sans-serif !important;
    overflow: hidden !important;
  }

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

  html body header#main-header .shop-header-profile-picture {
    flex: 0 0 26px !important;
    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
  }

  html body header#main-header .shop-header-profile-divider {
    display: none !important;
  }

  html body header#main-header .weather-widget {
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 8px !important;
    gap: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  html body header#main-header .lang-toggle {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
  }

  html body header#main-header .social-icons-menu > .header-divider:not(.shop-header-profile-divider) {
    display: block !important;
    width: 1px !important;
    min-width: 1px !important;
    max-width: 1px !important;
    height: 20px !important;
  }

  html body header#main-header .icon-link {
    width: 25px !important;
    min-width: 25px !important;
    max-width: 25px !important;
    height: 25px !important;
    min-height: 25px !important;
  }

  html body header#main-header .icon-link .icon {
    width: 19px !important;
    height: 19px !important;
  }
}

/* Narrow tablet: keep the weather icon but hide numeric temperature. */
@media (min-width: 621px) and (max-width: 760px) {
  html body header#main-header .social-icons-menu {
    width: 246px !important;
    min-width: 246px !important;
    max-width: 246px !important;
    grid-template-columns: 94px 46px 32px 1px 25px !important;
  }

  html body header#main-header .shop-header-profile {
    width: 94px !important;
    min-width: 94px !important;
    max-width: 94px !important;
  }

  html body header#main-header .weather-widget {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    padding: 0 !important;
  }

  html body header#main-header .weather-widget-temp {
    display: none !important;
  }
}

/* Phone: no Profile in the header; existing bottom dashboard remains authoritative. */
@media (max-width: 620px) {
  html body header#main-header .shop-header-profile,
  html body header#main-header .shop-header-profile-divider {
    display: none !important;
  }
}


/* =========================================================
   ORYN SHOP — UNIFIED PROFILE DROPDOWN + HEADER CART v23
   2026-10-06
========================================================= */
html body header#main-header .social-icons-menu{
  overflow:visible!important;
}
html body header#main-header .oryn-profile-menu{
  position:relative!important;
  grid-column:1!important;
  width:108px!important;
  min-width:108px!important;
  max-width:108px!important;
  height:38px!important;
  min-height:38px!important;
  overflow:visible!important;
  z-index:2147483647!important;
}
html body header#main-header .oryn-profile-menu .shop-header-profile{
  width:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  cursor:pointer!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
html body header#main-header .oryn-profile-trigger.is-guest{
  justify-content:flex-start!important;
  padding-left:5px!important;
}
html body header#main-header .oryn-profile-chevron{
  flex:0 0 9px!important;
  width:9px!important;
  height:6px!important;
  margin-left:auto!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  transition:transform .18s ease!important;
}
html body header#main-header .oryn-profile-menu.is-open .oryn-profile-chevron{
  transform:rotate(180deg)!important;
}
html body header#main-header .oryn-profile-dropdown{
  box-sizing:border-box!important;
  position:absolute!important;
  top:calc(100% + 10px)!important;
  left:0!important;
  right:auto!important;
  width:190px!important;
  min-width:190px!important;
  padding:7px!important;
  display:grid!important;
  gap:4px!important;
  border:1px solid rgba(255,239,213,.24)!important;
  border-radius:18px!important;
  background:linear-gradient(160deg,rgba(26,23,20,.98),rgba(9,9,9,.96))!important;
  box-shadow:0 22px 54px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.06)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translateY(-7px) scale(.98)!important;
  transform-origin:top left!important;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;
  z-index:2147483647!important;
}
html body header#main-header .oryn-profile-menu.is-open .oryn-profile-dropdown{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translateY(0) scale(1)!important;
}
html body header#main-header .oryn-profile-dropdown a,
html body header#main-header .oryn-profile-dropdown button{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:38px!important;
  margin:0!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  border:0!important;
  border-radius:12px!important;
  background:transparent!important;
  color:#fff7e9!important;
  font:800 .79rem/1.2 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  text-align:left!important;
  text-decoration:none!important;
  cursor:pointer!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
html body header#main-header .oryn-profile-dropdown a:hover,
html body header#main-header .oryn-profile-dropdown a:focus-visible,
html body header#main-header .oryn-profile-dropdown button:hover,
html body header#main-header .oryn-profile-dropdown button:focus-visible{
  background:rgba(255,239,213,.12)!important;
  color:#fff!important;
  outline:none!important;
}
html body header#main-header .oryn-profile-dropdown form{
  margin:0!important;
  padding:0!important;
}

html body header#main-header .shop-header-cart-button{
  box-sizing:border-box!important;
  position:fixed!important;
  top:41px!important;
  left:max(118px,calc(env(safe-area-inset-left) + 118px))!important;
  width:46px!important;
  min-width:46px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,239,213,.48)!important;
  border-radius:999px!important;
  background:linear-gradient(145deg,rgba(255,249,237,.96),rgba(255,239,213,.92))!important;
  color:#17130f!important;
  box-shadow:0 10px 28px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.72)!important;
  text-decoration:none!important;
  transform:translateY(-50%)!important;
  z-index:2147483645!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
}
html body header#main-header .shop-header-cart-button:hover,
html body header#main-header .shop-header-cart-button:focus-visible{
  transform:translateY(calc(-50% - 1px))!important;
  box-shadow:0 14px 34px rgba(0,0,0,.29),inset 0 1px 0 rgba(255,255,255,.8)!important;
  outline:none!important;
}
html body header#main-header .shop-header-cart-button > svg{
  width:21px!important;
  height:21px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
html body header#main-header .shop-header-cart-badge{
  box-sizing:border-box!important;
  position:absolute!important;
  top:-5px!important;
  right:-5px!important;
  min-width:19px!important;
  height:19px!important;
  padding:0 5px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:2px solid #fff0d6!important;
  border-radius:999px!important;
  background:#17130f!important;
  color:#fff7e9!important;
  font:900 .62rem/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  box-shadow:0 5px 14px rgba(0,0,0,.3)!important;
}
html body header#main-header .shop-header-cart-badge.is-empty{display:none!important}

@media (min-width:621px) and (max-width:1024px){
  html body header#main-header .oryn-profile-menu{
    width:98px!important;min-width:98px!important;max-width:98px!important;
    height:36px!important;min-height:36px!important;
  }
  html body header#main-header .oryn-profile-dropdown{width:184px!important;min-width:184px!important}
  html body header#main-header .shop-header-cart-button{
    top:37px!important;
    left:max(94px,calc(env(safe-area-inset-left) + 94px))!important;
    width:43px!important;min-width:43px!important;height:38px!important;min-height:38px!important;
  }
}
@media (min-width:621px) and (max-width:760px){
  html body header#main-header .oryn-profile-menu{width:94px!important;min-width:94px!important;max-width:94px!important}
}
@media (max-width:620px){
  html body header#main-header .oryn-profile-menu,
  html body header#main-header .shop-header-cart-button{display:none!important}
}
