.portal-stock-link img { filter:brightness(0) invert(1); }
.portal-header {
  --portal-purple: #2b216a;
  font: 400 16px/1.5 "Segoe UI", serif;
  color: #212529;
}
.portal-header *, .portal-header { box-sizing: border-box; }
.portal-header a { text-decoration: none; }
.portal-main-bar, .portal-identity, .portal-brand, .portal-links, .portal-links a,
.portal-account, .portal-guest, .portal-sub-bar, .portal-home {
  display: flex;
  align-items: center;
}
.portal-main-bar {
  position: relative;
  height: 40px;
  padding: 4px 16px;
  justify-content: space-between;
  color: white;
  background: var(--portal-purple);
}
.portal-brand, .portal-phone, .portal-home { font-family: "Segoe UI Semibold", serif; white-space: nowrap; }
.portal-brand { color: white; gap: 16px; font-size: 18px; }
.portal-phone { margin-left: 26px; color: rgba(255,255,255,.7); font-size: 14px; }
.portal-links { gap: 8px; font-size: 13px; }
.portal-links a { color: white; white-space: nowrap; }
.portal-links > a { height: 28px; padding: 4px; border-radius: 10px; }
.portal-links > a span { margin: 0 8px; }
.portal-links > a:hover { background: rgba(255,255,255,.21); }
.portal-links .portal-delivery-icon { filter: brightness(0) invert(1); }
.portal-account { gap: 8px; padding-left: 10px; background: rgba(255,255,255,.21); border-radius: 10px; }
.portal-guest, .portal-signin { gap: 8px; white-space: nowrap; }
.portal-signin {
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, #5c9efa, #8735fd);
  font-size: 12px;
  font-weight: 500;
}
.portal-signin:hover { background: linear-gradient(135deg, #70b2ff, #9b49ff); }
.portal-mobile-menu { display: none; }
.portal-sub-bar { height: 45px; padding: 8px 24px; border-bottom: 1px solid #dee2e6; background: white; }
.portal-home { gap: 8px; height: 28px; padding: 0 12px; border-radius: 6px; color: #646464; font-size: 13px; }
.portal-home:hover { background: #f0f0f0; }
@media (max-width: 768px) {
  .portal-brand { font-size: 13px; }
  .portal-phone, .portal-desktop-menu, .portal-home span { display: none; }
  .portal-mobile-menu { display: block; }
  .portal-mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    list-style: none;
  }
  .portal-mobile-menu summary::-webkit-details-marker { display: none; }
  .portal-mobile-menu .portal-links {
    position: absolute;
    z-index: 1000;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 15px;
    background: var(--portal-purple);
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
  }
  .portal-links > a { height: auto; padding: 8px 12px; }
  .portal-signin { flex: 1; padding: 0 12px; font-size: 13px; }
  .portal-sub-bar { padding: 8px; }
  .portal-home { margin: 0 2px; width: 34px; justify-content: center; padding: 0; }
}
@media (max-width: 480px) {
  .portal-mobile-menu .portal-links { padding: 12px; }
  .portal-signin { height: 40px; }
}
kvad-portal-header { display: block; }
.portal-links .portal-profile {
  justify-content: center;
  height: 22px;
  min-width: 22px;
  padding: 0 4px;
  border-radius: 50%;
  font: 11px/1 "Segoe UI Semibold", serif;
  background: #553ed0;
}
.portal-actions, .portal-sub-bar a { display: flex; align-items: center; gap: 8px; }
.portal-actions { margin-left: auto; }
.portal-sub-bar a { height: 28px; padding: 0 12px; color: #646464; font: 13px "Segoe UI Semibold", serif; }
.portal-sub-bar a:hover { background: #f0f0f0; border-radius: 6px; }
@media (max-width: 768px) {
  .portal-links .portal-profile { align-self: flex-start; }
  .portal-sub-bar a { width: 34px; padding: 0; justify-content: center; }
  .portal-sub-bar a span { display: none; }
}
