:root {
  /* Primary brand red taken from 4X4PRO logo */
  --brand-red: #e30613;
  --brand-dark: #111111;
}

a,
a:active,
a:hover {
  color: var(--brand-red);
}

/* Top bar and header background */
#top,
.header-inner,
.hd3 .top-menu,
.hd3 .fix-header,
.static-bottom-autima1 .text a,
.static-bottom-autima2 .text a,
.static-top-autima3 .text a,
.static-middle-autima4 .text a {
  background-color: var(--brand-red) !important;
  color: #ffffff !important;
  font-weight: 600;
}

/* Remove the standalone "Follow Us" strip while keeping account/currency */
.follow {
  display: none !important;
}

/* Hide the old red top bar entirely now that account/currency lives in navbar */
#top {
  display: none !important;
}

#top a,
#top .btn-group > .btn-link,
#top .btn-group > .btn-link span,
#top .btn-group > .btn-link i,
.social-top .follow label,
.social-top ul.link-follow li a,
.header-inner a,
.header-inner span,
.header-inner label,
.header-inner .header-phone .text label,
.header-inner .header-phone .text p {
  color: #ffffff !important;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.35);
}

/* Header search bar: ensure strong white text and placeholder on red background */
.top-search #search-by-category #text-search,
.header-inner #search-by-category .search-content .search-container #text-search {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
}

.top-search #search-by-category #text-search::placeholder,
.top-search #search-by-category #text-search::-webkit-input-placeholder,
.top-search #search-by-category #text-search:-ms-input-placeholder,
.top-search #search-by-category #text-search::-moz-placeholder,
.top-search #search-by-category #text-search:-moz-placeholder,
.header-inner #search-by-category .search-content .search-container #text-search::placeholder,
.header-inner #search-by-category .search-content .search-container #text-search::-webkit-input-placeholder,
.header-inner #search-by-category .search-content .search-container #text-search:-ms-input-placeholder,
.header-inner #search-by-category .search-content .search-container #text-search::-moz-placeholder,
.header-inner #search-by-category .search-content .search-container #text-search:-moz-placeholder {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Hero search bar on red banner (generic search-container on shop/search pages) */
.banner7 .search-container #text-search,
.search-container #text-search {
  color: #ffffff !important;
}

.banner7 .search-container #text-search::placeholder,
.banner7 .search-container #text-search::-webkit-input-placeholder,
.banner7 .search-container #text-search:-ms-input-placeholder,
.banner7 .search-container #text-search::-moz-placeholder,
.banner7 .search-container #text-search:-moz-placeholder,
.search-container #text-search::placeholder,
.search-container #text-search::-webkit-input-placeholder,
.search-container #text-search:-ms-input-placeholder,
.search-container #text-search::-moz-placeholder,
.search-container #text-search:-moz-placeholder {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Search button: remove broken icon glyphs and use clear text label */
#btn-search-category {
  background-color: #333333 !important;
  border-color: #333333 !important;
  color: #ffffff !important;
}

#btn-search-category i,
#btn-search-category:before,
#btn-search-category:after {
  display: none !important;
}

#btn-search-category span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Main CTAs and sale labels */
#button-guest,
#button-search,
#button-review,
#button-account,
#button-login,
#button-confirm,
#button-payment-method,
#button-shipping-method,
#button-quote,
#button-coupon,
#button-register,
.form-horizontal input.btn,
a.btn,
input[type='submit'],
.button,
.label_sale,
#cart p.cart-button a,
.hd2 #btn-search-category,
.static-policy .col:hover .text-content h2,
.static-policy .col:hover .col-img .hover,
.item-inner .images-container .quickview button,
.item-inner .action-links button:hover {
  background-color: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  color: #ffffff !important;
}

/* Hover accents, small text highlights */
#search .search-content .button-close:hover,
.search-content .button-close:hover,
.cate-items li:hover,
.hd2 .box-cart .wishlist a:hover > span,
.hd2 #cart > button:hover #cart-total,
#cart .cart-close button:hover,
#cart .cart-name:hover,
.item-inner .price-box .price-special,
.item-inner .caption .manufacturer-product a:hover {
  color: var(--brand-red) !important;
}

/* Dots, borders, and lines that used yellow */
.owl-carousel.owl-theme .owl-dot:hover span,
#search-by-category .search-content .search-container #text-search,
#search-by-category .search-content #btn-search-category:hover,
#search-by-category .search-ajax {
  border-color: var(--brand-red) !important;
  background-color: var(--brand-red) !important;
}

/* Wishlist and cart counters: white badges with red text on red header */
.box-cart .wishlist a .count,
#cart-total .txt_number {
  background-color: #ffffff !important;
  color: var(--brand-red) !important;
  border-color: #ffffff !important;
}

/* Wishlist and cart icons: white icon glyphs to match red header */
.box-cart .wishlist a:before,
#cart > button:before {
  color: #ffffff !important;
}

body {
  background-color: #ffffff;
  color: var(--brand-dark);
}

.topbar.alert {
  background-color: #ffffff !important;
  color: var(--brand-red) !important;
}

.topbar.alert .close {
  color: var(--brand-red) !important;
}

/* Follow Us icons: make sure the social icons are clearly visible on red */
.social-top ul.link-follow li a {
  color: #ffffff !important;
  border-color: #ffffff !important;
}

/* Limit header logo size */
.header-inner img {
  max-height: 80px;
  width: auto;
  height: auto;
}

/* Also limit logo size in the red banner7 header used on Django pages */
.banner7 .logo-container img,
.banner7 .logo {
  max-height: 60px !important;
  height: auto !important;
  width: auto !important;
  display: block;
}

/* Shrink large hero logo in red banner slider */
.banner7 .nivoSlider img {
  max-height: 140px;
  width: auto !important;
  height: auto !important;
  margin: 0 auto;
}

/* Compact the red hero/header banner so it doesn't feel so tall */
.banner7 {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: var(--brand-red) !important;
  color: #ffffff;
}

/* Layout the logo, search bar and cart area in a single compact row
   with tighter spacing so the header feels more cohesive. */
.banner7 .container > .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Keep the header content itself from stretching edge-to-edge */
.banner7 .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Keep the logo column tight */
.banner7 .logo-container,
.banner7 #logo {
  flex: 0 0 auto;
}

/* Constrain the main search area and make it look like the index header text */
.banner7 .search-container {
  flex: 1 1 auto;
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.banner7 .search-container #text-search {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  padding: 0 0 4px 0;
  font-size: 14px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  box-shadow: none !important;
}

/* Remove the big search icon bubble in this simplified header */
.banner7 .search-container:before {
  content: none !important;
}

/* Keep wishlist/cart cluster visually close to search */
.banner7 .box-cart {
  flex: 0 0 auto;
  margin-left: 8px;
}

/* Header readability: FORCE everything white on red header */
#top,
#top *,
.header-inner,
.header-inner *,
.social-top,
.social-top *,
.box-cart,
.box-cart *,
.top-search,
.top-search * {
  color: #ffffff !important;
  text-shadow: none !important;
}

#top,
.header-inner {
  font-size: 15px;
  font-weight: 600;
  font-family: 'Lato', 'Open Sans', sans-serif;
}

/* Force all icons in header to white */
#top i,
#top [class*="icon"],
#top [class*="fa-"],
#top [class*="fa-"]::before,
.header-inner i,
.header-inner [class*="icon"],
.header-inner [class*="fa-"],
.header-inner [class*="fa-"]::before,
.social-top i,
.social-top [class*="icon"],
.social-top [class*="fa-"],
.social-top [class*="fa-"]::before,
.box-cart i,
.box-cart [class*="icon"],
.box-cart:before,
.box-cart *:before,
.box-cart *:after,
/* Specific social icon links */
.link-follow li a,
.link-follow li a::before,
.link-follow li a.facebook,
.link-follow li a.twitter,
.link-follow li a.pinterest,
.link-follow li a.google,
.link-follow li a.instagram,
.link-follow li a.facebook::before,
.link-follow li a.twitter::before,
.link-follow li a.pinterest::before,
.link-follow li a.google::before,
.link-follow li a.instagram::before {
  color: #ffffff !important;
}

/* Subtle uppercase for key header labels */
#top .text,
.header-inner .header-phone .text label,
.header-inner .header-phone .text p,
.header-inner .language-currency .dropdown-toggle {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Main menu: clearer labels under header */
.main-menu > ul > li > a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff !important;
}

.main-menu > ul > li:hover > a,
.main-menu > ul > li.active > a {
  color: #ffd54c !important; /* yellow accent for current/hover item */
}

/* Remove extra white bar / overlay under the main menu so content starts
   immediately below the nav instead of being covered. */
.wrapper-navigation,
.nav-full-width,
.main-menu {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Make the main horizontal menu the positioning context for right-side account */
#oc-menu-sections--15310016184423__header.oc-menu.horizontal-menu {
  position: relative;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

#oc-menu-sections--15310016184423__header .ul-top-items {
  margin: 0;
  padding: 0;
}

/* Ensure the main page content starts immediately under the navbar */
#content,
.main-col,
.wrapper,
.main-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Absolutely position My Account / USD inside the navbar so it doesn't
   create extra white height, and align it to the right. */
.nav-account-right {
  position: absolute;
  right: 24px;
  top: 0;
  bottom: 0;
  transform: none;
  font-size: 13px;
  font-weight: 700; /* make both labels bold */
  color: #555555;
  display: flex;
  align-items: center;
}

.nav-account-right a,
.nav-account-right span {
  color: #555555;
  font-weight: 700;
}

.nav-account-right .separator {
  margin: 0 6px;
}

/* Make wishlist / cart icons larger and clearer */
.box-cart .wishlist a:before,
#cart > button:before {
  font-size: 18px;
  margin-right: 4px;
}

/* Hide Envato/Themeforest client logo strip (themeforest, activeden, graphicriver,
   codecanyon, audiojungle) anywhere it appears in the mirrored Autima HTML. */
a[href*="themeforest"],
a[href*="activeden"],
a[href*="graphicriver"],
a[href*="codecanyon"],
a[href*="audiojungle"],
img[src*="themeforest"],
img[src*="activeden"],
img[src*="graphicriver"],
img[src*="codecanyon"],
img[src*="audiojungle"],
.envato-marketplace-logos,
.envato-logos,
.envato-strip,
.envato-badge,
.envato-author,
.market-logos,
.marketplace-badges,
.client-logos,
.client-strip,
img[alt*="ThemeForest"],
img[alt*="CodeCanyon"],
img[alt*="GraphicRiver"],
img[alt*="AudioJungle"],
img[alt*="ActiveDen"],
div:has(img[src*="themeforest"]),
div:has(img[src*="activeden"]),
div:has(img[src*="graphicriver"]),
div:has(img[src*="codecanyon"]),
div:has(img[src*="audiojungle"]),
section:has(img[src*="themeforest"]),
section:has(img[src*="activeden"]),
section:has(img[src*="graphicriver"]),
section:has(img[src*="codecanyon"]),
section:has(img[src*="audiojungle"]) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  z-index: -9999 !important;
}

/* Ensure wishlist / cart labels stay readable on red */
.box-cart .wishlist a span,
#cart-total {
  font-size: 13px;
  font-weight: 600;
}

/* If custom icon font fails, hide the broken square and rely on text + badge */
.box-cart .wishlist a:before,
#cart > button:before {
  display: none;
}

/* Style the wishlist/cart count badges clearly */
.box-cart .wishlist a .count,
#cart-total .txt_number {
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 50%;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

/*
 * NAV CLEANUP: Force a clean, simple navbar everywhere.
 * Hide ALL Autima mega-menus, dropdowns, mobile menus, and vertical menus.
 * Only the simplified horizontal menu with our 5 links should be visible.
 */

/* Hide ALL dropdown/submenu containers */
.sub-menu-container,
.mega-menu-container,
.flyout-menu-container,
.flyout-third-items,
.ul-second-items,
.ul-third-items {
  display: none !important;
  visibility: hidden !important;
}

/* Hide dropdown arrows/chevrons */
.top-click-show,
.second-click-show,
.a-click-show,
.li-top-item > .top-click-show {
  display: none !important;
}

/* Hide the mobile menu entirely on desktop */
.oc-menu.mobile-menu {
  display: none !important;
}

/* Hide the vertical "Browse categories" sidebar menu */
.hd1.sub-col,
#oc-menu-vsections--15310016184423__header {
  display: none !important;
}

/* Hide ALL menu items after the first 5 in any top-level menu */
.ul-top-items > .li-top-item:nth-child(n+6) {
  display: none !important;
}

/* Hide empty li-top-item elements */
.li-top-item:empty {
  display: none !important;
}

/* NUCLEAR OPTION: Hide the entire old mobile menu section */
#oc-menu-msections--15310016184423__header {
  display: none !important;
}

/* Only show the simplified horizontal desktop menu */
.oc-menu.horizontal-menu.visible-lg.visible-md {
  display: block !important;
}

/* Force hide ANY li-top-item that has sub-menu-container inside it */
.li-top-item:has(.sub-menu-container) {
  display: none !important;
}

/* Hide menus that still have old classes */
.li-top-item.has-child {
  display: none !important;
}
