body:is(#index, .bg_black) {
  --wgre-background: #111216;
  --wgre-panel: #1b1d23;
  --wgre-line: #353740;
  --wgre-text: #f5f5f7;
  --wgre-red: #b82432;
  --wgre-light-red: #ff8993;
  background: var(--wgre-background);
}

body:is(#index, .bg_black) main {
  margin-inline: auto;
  box-shadow: none;
  background: var(--wgre-background);
}

body:is(#index, .bg_black):not(#checkout) main {
  width: 100%;
  max-width: 1360px;
}

body:is(#index, .bg_black) > .row > .container,
body:is(#index, .bg_black) #header > .container,
body:is(#index, .bg_black) #header .header-top > .container,
body:is(#index, .bg_black) #header .header-nav > .container,
body:is(#index, .bg_black):not(#checkout) #wrapper > .container,
body:is(#index, .bg_black) #footer > .container,
body:is(#index, .bg_black) #footer .footer-container > .container,
body#index.slider_boxed #slider_row {
  width: 100%;
  max-width: 1360px;
}

body:is(#index, .bg_black) #wrapper,
body:is(#index, .bg_black) #header .header-top {
  background: var(--wgre-background);
}

body:is(#index, .bg_black) #header .header-nav {
  border: 0;
  box-shadow: none;
  background: transparent;
}

body:is(#index, .bg_black) #_desktop_logo img {
  max-height: 82px;
  object-fit: contain;
}

body:is(#index, .bg_black) #search_widget form input[name="s"] {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  padding: 0 60px 0 14px;
  border: 1px solid var(--wgre-line);
  border-radius: 8px;
  background: var(--wgre-panel);
  color: var(--wgre-text);
  font-size: 16px;
}

body:is(#index, .bg_black) #search_widget form button[type="submit"] {
  width: 48px;
  height: 46px;
  border-radius: 0 8px 8px 0;
  background: var(--wgre-red);
}

body:is(#index, .bg_black) #search_widget form button[type="submit"] span {
  display: none;
}

body:is(#index, .bg_black) #header #_desktop_cart .blockcart .header {
  border-radius: 8px;
  background: var(--wgre-red);
}

body:is(#index, .bg_black) #header #_desktop_cart a.cart_link {
  font-size: 13px;
}

#index #slider_row {
  margin-bottom: 14px;
}

#index #top_column .bx-viewport {
  border-radius: 12px;
}

#index .wgre-release-bar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 16px;
}

#index .wgre-release-bar a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--wgre-line);
  border-radius: 8px;
  background: var(--wgre-panel);
  color: var(--wgre-text);
  font-size: 14px;
  font-weight: 700;
}

#index .wgre-release-bar a:hover {
  border-color: var(--wgre-light-red);
}

#index .wgre-release-bar i {
  color: var(--wgre-light-red);
}

#index .page-home .index_title {
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.25;
}

body:is(#index, .bg_black) #content-wrapper :is(.page-home, #js-product-list) .products .product-miniature .thumbnail-container {
  border: 1px solid var(--wgre-line);
  border-radius: 10px;
  background: var(--wgre-panel);
}

body:is(#index, .bg_black) #content-wrapper :is(.page-home, #js-product-list) .products .product-miniature .thumbnail-container:hover {
  border-color: var(--wgre-light-red);
}

body:is(#index, .bg_black) #content-wrapper :is(.page-home, #js-product-list) .product-title {
  height: 3.75em;
  font-size: 15px;
  line-height: 1.25;
}

body:is(#index, .bg_black) #content-wrapper :is(.page-home, #js-product-list) .product-title a {
  color: var(--wgre-text);
  font-size: inherit;
  line-height: inherit;
  text-transform: none;
}

body:is(#index, .bg_black) #content-wrapper :is(.page-home, #js-product-list) .product-price-and-shipping .price {
  color: var(--wgre-light-red);
  font-size: 18px;
  font-weight: 750;
}

body:is(#index, .bg_black) :is(.product-flags-plist, #product #content .product-flags) .product-flag {
  padding: 5px 6px;
  border-radius: 4px;
  background: #414652;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 12px;
}

body:is(#index, .bg_black) :is(.product-flags-plist, #product #content .product-flags) .product-flag.preorder,
body:is(#index, .bg_black) :is(.product-flags-plist, #product #content .product-flags) .product-flag.discount-percentage,
body:is(#index, .bg_black) :is(.product-flags-plist, #product #content .product-flags) .product-flag.discount,
body:is(#index, .bg_black) :is(.product-flags-plist, #product #content .product-flags) .product-flag.on-sale {
  background: var(--wgre-red);
}

body:is(#index, .bg_black) :is(.product-flags-plist, #product #content .product-flags) .product-flag.new {
  background: #245788;
}

body:is(#index, .bg_black) :is(.product-flags-plist, #product #content .product-flags) .product-flag.new,
body:is(#index, .bg_black) :is(.product-flags-plist, #product #content .product-flags) .product-flag.discount,
body:is(#index, .bg_black) :is(.product-flags-plist, #product #content .product-flags) .product-flag.on-sale {
  text-transform: uppercase;
}

body:is(#index, .bg_black) #content-wrapper :is(.page-home, #js-product-list) .button-container .btn {
  max-width: 100%;
  border-radius: 6px;
  white-space: normal;
}

#index .wgre-home-categories {
  margin-top: 26px;
}

#index #wrapper .wgre-home-categories #home_categories .cat-container {
  border-radius: 10px;
  background: var(--wgre-panel);
}

#index .wgre-home-categories #home_categories .cat-container img {
  width: auto;
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
}

body:is(#index, .bg_black) #footer .block_newsletter {
  padding: 16px;
  border: 1px solid var(--wgre-line);
  border-radius: 10px;
  background: var(--wgre-panel);
}

body:is(#index, .bg_black) #footer .footer-container a {
  font-size: 13px;
  line-height: 1.5;
}

#index :is(.wgre-release-bar a, #header a, #header input, #header button, #footer input):focus-visible {
  outline: 2px solid var(--wgre-light-red);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  body:is(#index, .bg_black) #header .header-top > .container:first-child > .row {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  body:is(#index, .bg_black) #header .header-top > .container:first-child > .row > .clearfix {
    display: none;
  }

  body:is(#index, .bg_black) #header #_desktop_logo {
    flex: 0 1 260px;
    min-width: 0;
  }

  body:is(#index, .bg_black) #header #_desktop_search_widget {
    flex: 1;
    min-width: 0;
    max-width: 640px;
    padding: 14px 0;
  }

  body:is(#index, .bg_black) #header #_desktop_cart {
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
    padding: 14px 12px 14px 0;
  }

  body:is(#index, .bg_black) #header #_desktop_top_menu .top-menu[data-depth="0"] > li > a {
    font-size: 13px;
  }
}

@media (min-width: 1200px) {
  #index #content-wrapper .page-home .products:not([style]) > .product-miniature:not([style]) {
    width: 25%;
    clear: none;
  }

  #index #content-wrapper .page-home .products:not([style]) > .product-miniature:not([style]):nth-child(4n + 1) {
    clear: both;
  }
}

@media (max-width: 767px) {
  body:is(#index, .bg_black) #header #_desktop_logo {
    width: min(210px, 65vw);
    padding: 10px 0;
  }

  body:is(#index, .bg_black) #header #rwd_menu #search-icon {
    display: none;
  }

  body:is(#index, .bg_black) #header #rwd_menu .rwd_menu_item {
    width: 33.333%;
    line-height: 44px;
  }

  body:is(#index, .bg_black) #header #mobile_search_wrapper {
    display: block !important;
    position: static;
    max-width: none;
    padding: 10px 0;
    border: 0;
    background: transparent;
  }

  body:is(#index, .bg_black) #header #mobile_search_wrapper:has(#_mobile_search_widget:empty) {
    display: none !important;
  }

  #index .wgre-release-bar {
    justify-content: flex-start;
  }

  #index #content-wrapper .page-home .products:not([style]) > .product-miniature:not([style]) {
    width: 50%;
    clear: none;
  }

  #index #content-wrapper .page-home .products:not([style]) > .product-miniature:not([style]):nth-child(odd) {
    clear: both;
  }

  body:is(#index, .bg_black) #footer .block_newsletter {
    margin-bottom: 16px;
  }
}

@media (max-width: 359px) {
  #index #content-wrapper .page-home .products:not([style]) > .product-miniature:not([style]) {
    width: 100%;
  }
}
