/* Clasitrónicos Revamp 3 / branding 3A — 2026-09-15.
   Loaded ONLY by the patched inner pages; index.htm and its assets are untouched.
   The approved full PNG already contains the four category icons.
   Keep this stylesheet after existing page styles. No application JavaScript. */

/* Explicit dimensions in markup reserve the original 2048:1189 aspect ratio. */
html body img.clasi-logo-novo,
html body .menu a.logo > img[src*="/assets/logonovo.png"],
html body .site-header .logo > img[src*="/assets/logonovo.png"] {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}
a.clasi-brand-novo {
  display: block;
  width: 232px;
  max-width: 100%;
  min-width: 0;
  line-height: 0;
  text-decoration: none;
}
a.clasi-brand-novo:focus-visible {
  outline: 3px solid #336688;
  outline-offset: 4px;
}
/* Account, recovery, posting and payment headers. */
.header-inner > a.brand.clasi-brand-novo,
.rf-header-inner > a.rf-brand.clasi-brand-novo,
.form-header-original .wordmark-original.clasi-brand-novo {
  display: block;
  flex: 0 1 232px;
  width: 232px;
  gap: 0;
}
.header-main > a.brand.clasi-brand-novo {
  width: 220px;
  flex: 0 0 220px;
}
/* Preserve the established detail/Premium search and navigation columns. */
a.detail-logo.clasi-brand-novo,
a.premium-brand.clasi-brand-novo {
  width: 100%;
}
.detail-header-inner,
.premium-header-inner {
  padding-top: 8px;
  padding-bottom: 8px;
}
a.premium-footer-brand.clasi-brand-novo {
  width: 160px;
}
/* Existing category header: remove its CSS-generated duplicate icon row. */
html body .menu a.logo::after,
html body .site-header a.logo::after {
  content: none !important;
  display: none !important;
}
html body .menu a.logo {
  height: auto !important;
  line-height: 0;
}
html body .menu a.logo > img[src*="icon-strip"],
html body .menu a.logo > img[src*="icon-bar"] {
  display: none !important;
}
/* The legacy fallback has a fixed-height grid. Keep the full PNG inside
   that existing row rather than enlarging/rebuilding its navigation layout. */
@media (min-width: 700px) {
  html body .menu:not(.site-header) a.logo > img[src*="/assets/logonovo.png"] {
    width: 120px !important;
    max-width: 100% !important;
    margin-inline: auto;
  }
}
/* Only the modern category header has site-header-inner. */
:root { --clx-header-height: 118px; }
.site-header-inner {
  padding-top: 7px;
  padding-bottom: 7px;
}
@media (max-width: 699px) {
  :root { --clx-header-height: 108px; }
  .site-header-inner .logo-publish-container .logo {
    max-width: 158px;
    margin-inline: auto;
  }
}
@media (max-width: 560px) {
  a.clasi-brand-novo {
    width: 188px;
    max-width: 62vw;
  }
  .header-inner > a.brand.clasi-brand-novo,
  .rf-header-inner > a.rf-brand.clasi-brand-novo,
  .form-header-original .wordmark-original.clasi-brand-novo {
    flex-basis: 188px;
    width: 188px;
    max-width: 62vw;
  }
  .header-main > a.brand.clasi-brand-novo {
    flex: 0 1 188px;
    width: 188px;
  }
  a.detail-logo.clasi-brand-novo {
    width: 172px;
  }
  a.premium-brand.clasi-brand-novo {
    width: 100%;
  }
  a.premium-footer-brand.clasi-brand-novo {
    width: 145px;
  }
}
