/* OOC blog header auth/cart (preview + proposed live CSS).
   Does not change cached HTML. Client-side only.
   t583u: Hi pill is vertically centered in the black bar, matching www.
   Rollback: restore the previous blog-chrome-auth.css from backup. */


.topbar-login[hidden],
.topbar-account[hidden],
.cart-lines[hidden],
.cart-empty[hidden],
.cart-checkout[hidden],
.topbar-dropdown[hidden]{
  display:none !important;
}

.topbar-account-wrap,
.topbar-account{
  display:flex;
  align-items:center;
  align-self:stretch;
  position:relative;
  min-height:100%;
}
.topbar-hello{
  -webkit-appearance:none;
  appearance:none;
  box-sizing:border-box;
  background:var(--orange,#F15800);
  color:#fff;
  margin:0 8px;
  border:0;
  border-radius:6px;
  box-shadow:0 1px 2px rgba(0,0,0,.05);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:center;
  gap:4px;
  height:auto;
  min-height:0;
  min-width:0;
  padding:8px 16px;
  font-family:"Gilroy-Bold",Gilroy,sans-serif;
  font-size:14px;
  font-weight:700;
  letter-spacing:.02em;
  line-height:1.25;
  vertical-align:middle;
}
.topbar-hello:hover,
.topbar-hello[aria-expanded="true"]{
  background:#d84800;
  color:#fff;
}
.topbar-hello-label{white-space:nowrap}
.topbar-hello-icon{
  display:none;
  width:16px;
  height:16px;
  fill:none;
  stroke:#fff;
  stroke-width:1.8;
}
.topbar-hello-caret{
  width:16px;
  height:16px;
  margin-left:2px;
  fill:#fff;
}
.topbar-dropdown{
  display:none;
  position:absolute;
  right:0;
  top:100%;
  z-index:60;
  width:224px;
  margin-top:8px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:6px;
  box-shadow:0 10px 15px -3px rgba(0,0,0,.12),0 4px 6px -2px rgba(0,0,0,.08);
  overflow:hidden;
}
.topbar-account-wrap.is-open .topbar-dropdown,
.topbar-account-wrap:hover .topbar-dropdown{
  display:block;
}
.topbar-drop-signed{
  padding:12px 16px;
  border-bottom:1px solid #f3f4f6;
}
.topbar-drop-signed p{
  margin:0;
  color:#4b5563;
  font-size:14px;
  line-height:1.4;
  font-family:"Gilroy-Regular",Gilroy,sans-serif;
}
.topbar-drop-name{
  color:#111827;
  font-family:"Gilroy-Bold",Gilroy,sans-serif;
  font-weight:700;
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.topbar-dropdown a{
  display:block;
  padding:8px 16px;
  color:#374151;
  text-decoration:none;
  font-size:14px;
  line-height:1.4;
  font-family:"Gilroy-Regular",Gilroy,sans-serif;
  text-align:left;
}
.topbar-dropdown a:hover{
  background:#f9fafb;
  color:#111827;
}
.topbar-drop-signout{border-top:1px solid #f3f4f6}

.cart-badge.is-wide{
  width:auto;
  min-width:18px;
  padding:0 5px;
}
.cart-lines{clear:both;margin:20px 0 16px;padding:0;list-style:none}
.cart-line{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid #eee;
  font-family:"Gilroy-Medium",Gilroy,sans-serif;
  font-size:14px;
  color:#001741;
}
.cart-line-title{flex:1}
.cart-line-qty{color:#6b7280;font-size:12px}
.cart-line-price{font-family:"Gilroy-Bold",Gilroy,sans-serif;white-space:nowrap}
.cart-checkout{
  display:block;
  width:100%;
  margin:0 0 10px;
  padding:12px;
  text-align:center;
  background:#1a73e8;
  color:#fff !important;
  border:0;
  font-family:"Gilroy-Heavy",sans-serif;
  font-size:16px;
  letter-spacing:.04em;
  text-decoration:none;
  text-transform:uppercase;
}
.cart-checkout:hover{background:#1558b0;color:#fff}

@media (max-width:1023px){
  .topbar-hello{min-width:0;margin:0 6px;padding:8px 12px}
  .topbar-hello-label{display:none}
  .topbar-hello-icon{display:block}
  .topbar-account-wrap:hover .topbar-dropdown{display:none}
  .topbar-account-wrap.is-open .topbar-dropdown{display:block}
}
