/* Soberger mobile masthead: clean editorial retail header, close to END. layout. */
@media screen and (max-width:1023px) {
  html body #d-header {
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
    border-bottom:1px solid #e9e9e9 !important;
    box-sizing:border-box !important;
  }
  html body #d-header > .d-grid {
    width:100% !important;
    max-width:none !important;
    margin:0 auto !important;
    padding:0 16px !important;
    box-sizing:border-box !important;
  }
  html body #d-header > .d-grid > .d-row {
    position:relative !important;
    display:grid !important;
    grid-template-columns:44px minmax(0,1fr) 44px !important;
    grid-template-rows:56px !important;
    align-items:center !important;
    justify-items:center !important;
    width:100% !important;
    min-height:56px !important;
    height:56px !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }
  html body #d-header > .d-grid > .d-row > .d-col:first-child {
    display:contents !important;
  }
  html body #d-header .d-burger__toggle.js-soberger-burger-open {
    grid-column:1 !important;
    grid-row:1 !important;
    position:relative !important;
    inset:auto !important;
    transform:none !important;
    display:block !important;
    width:42px !important;
    min-width:42px !important;
    height:42px !important;
    min-height:42px !important;
    margin:0 !important;
    justify-self:start !important;
    align-self:center !important;
    border:0 !important;
    background:linear-gradient(#111,#111) 10px 13px/21px 1.5px no-repeat,
               linear-gradient(#111,#111) 10px 20px/21px 1.5px no-repeat,
               linear-gradient(#111,#111) 10px 27px/21px 1.5px no-repeat !important;
    z-index:5 !important;
  }
  html body #d-header .d-burger__toggle.js-soberger-burger-open:before,
  html body #d-header .d-burger__toggle.js-soberger-burger-open:after {
    display:none !important;
    content:none !important;
  }
  html body #d-header .d-logo {
    grid-column:2 !important;
    grid-row:1 !important;
    position:relative !important;
    inset:auto !important;
    transform:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:max-content !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    justify-self:center !important;
    align-self:center !important;
    color:#080808 !important;
    text-decoration:none !important;
    white-space:nowrap !important;
  }
  html body #d-header .d-logo img,
  html body #d-header .d-logo span {
    display:none !important;
  }
  html body #d-header .d-logo:after {
    content:"СОБЕРГЕР";
    display:block;
    color:#080808;
    font-family:'ALSStory',Arial,sans-serif;
    font-size:clamp(22px,5.8vw,27px);
    font-weight:900;
    line-height:1;
    letter-spacing:-.045em;
    white-space:nowrap;
  }
  html body #d-header > .d-grid > .d-row > .d-col:nth-child(2) {
    grid-column:3 !important;
    grid-row:1 !important;
    position:relative !important;
    inset:auto !important;
    transform:none !important;
    display:block !important;
    width:44px !important;
    max-width:44px !important;
    margin:0 !important;
    padding:0 !important;
    justify-self:end !important;
    align-self:center !important;
    text-align:right !important;
  }
  html body #d-header .d-header__search {
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    float:none !important;
    width:44px !important;
    margin:0 !important;
    padding:0 !important;
  }
  html body #d-header .d-header__search .widget-title {
    display:none !important;
  }
  html body #d-header .d-header__search__toggle {
    position:relative !important;
    inset:auto !important;
    display:block !important;
    flex:0 0 36px !important;
    width:36px !important;
    height:36px !important;
    margin:0 !important;
    background-size:25px 25px !important;
    transform:translateY(-3px) !important;
  }
  html body #d-header .d-header__search .widget {
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    width:100% !important;
    margin:0 !important;
  }
}
@media screen and (max-width:360px) {
  html body #d-header > .d-grid { padding-right:12px !important; padding-left:12px !important; }
  html body #d-header .d-logo:after { font-size:20px !important; }
}
