/* Mallris clean production header for SM Market header 36 */

@media (min-width: 768px) {
  body .header-container.header-style-36.mallris-clean-header-v1,
  body .header-container.header-style-36.mallris-clean-header-v1 * {
    box-sizing: border-box !important;
  }

  body .header-container.header-style-36.mallris-clean-header-v1 {
    background: #06172b !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    box-shadow: 0 10px 24px rgba(2,8,23,.16) !important;
  }

  body .header-container.header-style-36.mallris-clean-header-v1 ul,
  body .header-container.header-style-36.mallris-clean-header-v1 li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .header-container.header-style-36.mallris-clean-header-v1 a {
    text-decoration: none !important;
  }

  body .mallris-clean-topbar {
    background: linear-gradient(90deg, #071a33, #1f66db) !important;
    min-height: 34px !important;
  }

  body .mallris-clean-welcome {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    font-size: 14px !important;
    line-height: 18px !important;
  }

  body .mallris-clean-mainbar {
    background: #06172b !important;
    padding: 16px 0 !important;
  }

  body .mallris-clean-mainbar .container,
  body .mallris-clean-nav .container {
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body .mallris-clean-mainbar-inner {
    display: grid !important;
    grid-template-columns: 96px minmax(420px, 620px) auto !important;
    align-items: center !important;
    gap: 28px !important;
    min-height: 78px !important;
  }

  body .mallris-clean-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  body .mallris-clean-logo .logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 76px !important;
    height: 76px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin: 0 !important;
    float: none !important;
  }

  body .mallris-clean-logo .logo img {
    max-width: 66px !important;
    max-height: 66px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  body .mallris-clean-search {
    width: 100% !important;
    max-width: 620px !important;
  }

  body .mallris-clean-search .block,
  body .mallris-clean-search .block-search,
  body .mallris-clean-search .block-content {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
  }

  body .mallris-clean-search .form.minisearch {
    display: grid !important;
    grid-template-columns: 160px minmax(250px, 1fr) 58px !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    background: #ffffff !important;
    border: 1px solid #d8e4f5 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: 0 12px 28px rgba(2,8,23,.14) !important;
  }

  body .mallris-clean-search .field.search,
  body .mallris-clean-search .field.search .control {
    display: contents !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .mallris-clean-search select.cat.searchbox-cat {
    grid-column: 1 !important;
    width: 160px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    border: 0 !important;
    border-right: 1px solid #d8e4f5 !important;
    background: #ffffff !important;
    color: #102033 !important;
    font-weight: 800 !important;
    padding: 0 12px !important;
    outline: none !important;
    border-radius: 0 !important;
  }

  body .mallris-clean-search input.input-searchbox,
  body .mallris-clean-search input.input-text.input-searchbox,
  body .mallris-clean-search input[type="text"] {
    grid-column: 2 !important;
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    line-height: 52px !important;
    border: 0 !important;
    background: #ffffff !important;
    color: #334155 !important;
    padding: 0 18px !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  body .mallris-clean-search .actions {
    grid-column: 3 !important;
    width: 58px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .mallris-clean-search button.action.search {
    width: 58px !important;
    min-width: 58px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    line-height: 52px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ff7a00 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  body .mallris-clean-search .nested,
  body .mallris-clean-search .action.advanced,
  body .mallris-clean-search .search-autocomplete {
    display: none !important;
  }

  body .mallris-clean-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 24px !important;
    min-width: 330px !important;
  }

  body .mallris-clean-actions .header-block,
  body .mallris-clean-actions .minicart-header,
  body .mallris-clean-actions .minicart-wrapper {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
  }

  body .mallris-clean-actions .header-block > a,
  body .mallris-clean-actions .minicart-wrapper .action.showcart {
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 42px !important;
    white-space: nowrap !important;
  }

  body .mallris-clean-actions .header-dropdown {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    min-width: 220px !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 38px rgba(2,8,23,.2) !important;
    padding: 12px !important;
    z-index: 9999 !important;
  }

  body .mallris-clean-actions .header-block:hover .header-dropdown {
    display: block !important;
  }

  body .mallris-clean-actions .header-dropdown a,
  body .mallris-clean-actions .header-dropdown .customer-links a {
    color: #06172b !important;
    display: block !important;
    padding: 8px 10px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  body .mallris-clean-actions .price-minicart,
  body .mallris-clean-actions .price-minicart .price {
    color: #ff8a00 !important;
    font-weight: 900 !important;
  }

  body .mallris-clean-actions .counter.qty {
    background: #ff7a00 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    min-width: 22px !important;
    height: 22px !important;
    line-height: 22px !important;
    text-align: center !important;
    margin-left: 7px !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  body .mallris-clean-nav {
    background: #123463 !important;
    min-height: 50px !important;
  }

  body .mallris-clean-nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 50px !important;
    gap: 24px !important;
  }

  body .mallris-clean-nav .desktop-menu,
  body .mallris-clean-nav .horizontal-block,
  body .mallris-clean-nav .horizontal-megamenu-block,
  body .mallris-clean-nav .sm_megamenu_wrapper_horizontal_menu,
  body .mallris-clean-nav .sambar-inner,
  body .mallris-clean-nav .mega-content {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: transparent !important;
  }

  body .mallris-clean-nav ul.horizontal-type.sm_megamenu_menu {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 28px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .mallris-clean-nav li.sm_megamenu_lv1 {
    display: inline-flex !important;
    align-items: center !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .mallris-clean-nav a.sm_megamenu_head {
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 50px !important;
    line-height: 50px !important;
    white-space: nowrap !important;
  }

  body .mallris-clean-nav .sm_megamenu_title {
    color: #ffffff !important;
    white-space: nowrap !important;
  }

  body .mallris-clean-hotline,
  body .mallris-clean-hotline * {
    color: #ffffff !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  body .mallris-clean-hotline strong,
  body .mallris-clean-hotline .text-theme-color {
    color: #ff8a00 !important;
  }

  body .header-container.header-style-36 .header-top,
  body .header-container.header-style-36 .header-middle,
  body .header-container.header-style-36 .header-bottom {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body .mallris-clean-header-v1 {
    background: #06172b !important;
  }

  body .mallris-clean-topbar {
    background: linear-gradient(90deg, #071a33, #1f66db) !important;
  }

  body .mallris-clean-welcome {
    color: #ffffff !important;
    text-align: center !important;
    font-weight: 800 !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
  }

  body .mallris-clean-mainbar {
    padding: 12px !important;
  }

  body .mallris-clean-mainbar-inner {
    display: grid !important;
    grid-template-columns: 70px 1fr !important;
    gap: 12px !important;
    align-items: center !important;
  }

  body .mallris-clean-logo .logo {
    width: 62px !important;
    height: 62px !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body .mallris-clean-logo .logo img {
    max-width: 52px !important;
    max-height: 52px !important;
  }

  body .mallris-clean-search {
    width: 100% !important;
  }

  body .mallris-clean-actions {
    grid-column: 1 / -1 !important;
    display: flex !important;
    justify-content: space-around !important;
    gap: 12px !important;
    padding-top: 10px !important;
  }

  body .mallris-clean-actions a {
    color: #ffffff !important;
    font-weight: 800 !important;
  }

  body .mallris-clean-nav {
    display: none !important;
  }
}
