/* Layer the brand rules so legacy unlayered theme overrides cannot restore old artwork. */
@layer shift-brand {
  .site-header[data-header-v2] {
    --shift-logo-width: clamp(230px, 20vw, 344px) !important;
    --shift-logo-height: auto !important;
    background: #050505 !important;
    color: #E7E3DA !important;
    border-bottom: 1px solid #E7E3DA !important;
  }
  .site-header .site-logo {
    width: var(--shift-logo-width) !important;
    display: flex !important; align-items: center !important;
    min-width: 0 !important;
    flex: 0 1 var(--shift-logo-width) !important;
  }
  .site-header .site-logo img, .site-drawer .drawer-head img, .site-footer .footer-brand > img {
    width: 100% !important; height: auto !important; max-height: none !important;
    object-fit: contain !important; clip-path: none !important; filter: none !important;
    content: normal !important;
  }
  .site-header .site-logo img { width: var(--shift-logo-width) !important; max-width: 100% !important; transform: translateY(14%) !important; }
  .site-header .site-logo::after, .site-drawer .sst-drawer-logo::after { content: none !important; }
  .site-header .desktop-nav a, .site-header .menu-trigger, .site-header .basket-link { color: #E7E3DA !important; }
  .site-header .menu-trigger { background: #050505 !important; border-color: #707762 !important; }
  .site-header .desktop-nav a:is(:hover,:focus-visible) { text-decoration: underline !important; }
  .site-drawer .drawer-head img { max-width: min(240px,55vw) !important; }
  .site-footer, .site-footer .fc-main, .site-footer .fc-main > section, .site-footer .fc-legal,
  .site-footer .my-timber-app-footer { color: #E7E3DA !important; background: #050505 !important; }
  .site-footer { border-top: 1px solid #E7E3DA !important; }
  .site-footer .fc-main > section { border-left: 0 !important; }
  .site-footer .footer-brand { justify-content: flex-start !important; }
  .site-footer .footer-brand > img { max-width: 344px !important; }
  .site-footer :is(h2,a,p,strong,span,button) { color: #E7E3DA !important; }
  .site-footer button { background: #050505 !important; border-color: #707762 !important; }
  .site-footer .fc-legal { border-top: 1px solid #707762 !important; }
  @media (max-width:979px) {
    .site-header[data-header-v2] { --shift-logo-width: clamp(145px,44vw,220px) !important; }
  }
}
