/* ==========================================================================
   LaserCart -- customer portal header  (/account/profile, /account/orders,
   /account/address)

   PASTE THIS INTO ZOHO ADMIN, NOT INTO THE THEME.
   Storefront > Settings > (custom CSS box). It is served as /zs-customcss.css,
   which is one of the four stylesheets /account/* actually loads, and it loads
   last so it wins on source order.

   WHY IT CANNOT LIVE IN THE THEME. style.css is not a theme file we own -- the
   base design ships stylesheets/style.scss and NO style.css, and Zoho compiles
   the .css from the .scss on every publish. Anything written into
   Template_download/template/stylesheets/style.css is discarded at upload
   time. Verified: after a publish at 2026-08-25 09:16 UTC the deployed
   style.css contained zero occurrences of `lc-`, `laser-`, `Space Grotesk` or
   `zpmyorder-` -- it is the stock compiled base sheet, minified.

   These selectors key on the portal's own zpmo- and zpmyorder- classes, which
   exist only inside the portal app, so nothing here can reach the storefront.
   (Written without a star-slash sequence on purpose: "zpmo-*" followed by
   "/zpmyorder" closes a CSS comment early and spills the prose into the
   stylesheet.)
   ========================================================================== */

/* --- brand row ---------------------------------------------------------- */
/* The logo ships with an inline style="height:auto;width:auto" and renders at
   its natural size, which is what makes the header band ~240px tall. An
   !important declaration outranks a non-important inline one, so this wins. */
.zpmyorder-header-section .zpmo-brand-logo img {
  height: 34px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
}

.zpmyorder-header-section .zpmo-brand-logo,
.zpmyorder-header-section .zpmo-brand-header {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 0 !important;
}

/* Brand on the left, user block on the right, on one row. */
.zpmyorder-header-section .zpmo-brand-header-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  flex-wrap: nowrap !important;
}

/* A header, not a hero. 64px matches the storefront nav. */
.zpmyorder-header-section .zpmo-brand-header-innercontainer {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  min-height: 64px !important;
  padding-block: 0.5rem !important;
}

.zpmyorder-header-section {
  background: #FFFFFF !important;
  border-bottom: 1px solid #F3F4F6 !important;
}

.zpmyorder-header-section .theme-responsive-goback svg {
  width: 20px !important;
  height: 20px !important;
  fill: #6B7280 !important;
}

/* --- "Hi, <name> / Sign Out" -------------------------------------------- */
/* The platform styles these only inside .zpmo-navbar-container, the dark tab
   bar, where they are white on black. In the brand header nothing reaches
   them, so they inherit a column direction and stack onto three lines. */
.zpmyorder-header-section .zpmo-userinfo {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.625rem !important;
  flex: 0 0 auto !important;
  width: auto !important;
  white-space: nowrap !important;
}

.zpmyorder-header-section .zpmo-portal-username {
  color: #6B7280 !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

.zpmyorder-header-section .zpmo-portal-signout {
  color: #0A0A0A !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  border-inline-start: 1px solid #E5E7EB !important;
  padding-inline-start: 0.625rem !important;
}

.zpmyorder-header-section .zpmo-portal-signout:hover {
  color: #007BFF !important;
}

@media (max-width: 640px) {
  .zpmyorder-header-section .zpmo-brand-logo img {
    height: 28px !important;
  }
  .zpmyorder-header-section .zpmo-brand-header-innercontainer {
    min-height: 56px !important;
  }
  .zpmyorder-header-section .zpmo-portal-username {
    font-size: 0.8125rem !important;
  }
}
