.site-layout {
  margin: 0;
  padding: 0;
  font-family: 'sweet-sans-pro', sans-serif;
  background-color: #3b3b3b;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-layout .site-main {
  /* flex: 1; */
}

.site-layout ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-layout a {
  outline: none;
}

.site-layout img {
  max-width: 100%;
}

.site-layout .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.site-layout .d-none {
  display: none !important;
}

@media (min-width: 1200px) {
  .site-layout .d-xl-block {
    display: block !important;
  }

  .site-layout .d-xl-none {
    display: none !important;
  }
}

@media (max-width: 1199px) {
  .site-layout .d-xl-none {
    display: block !important;
  }
}

/* Header */
.site-layout .inner-header {
  background-color: #d2d3d3;
  padding: 15px 0;
}

.site-layout .logo {
  float: left;
  width: 150px;
}

.site-layout .header-row {
  width: 100%;
}

.site-layout .header-row::after {
  content: '';
  display: table;
  clear: both;
}

.site-layout .navbar {
  margin-bottom: 0;
  border-radius: 0;
  clear: both;
  padding: 0;
  border: none;
  text-align: left;
}

.site-layout .navbar-nav {
  margin: 0;
  display: block;
}

.site-layout .navbar-nav > li {
  display: inline-block;
  position: relative;
  padding: 14px 0 28px;
  vertical-align: top;
}

.site-layout .navbar-nav > li > a {
  display: inline-block;
  color: #000;
  position: relative;
  padding: 0 13px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.site-layout .inner-header .navbar-nav > li > a:hover {
  color: #6c6c6c;
}

.site-layout .navbar-nav > li > ul {
  position: absolute;
  width: 320px;
  display: none;
  background-color: #d2d3d3;
  padding-left: 0;
  z-index: 99;
  top: 20px;
  left: 0;
  text-align: left;
}

.site-layout .navbar-nav > li > ul li {
  list-style: none;
  color: #fff;
  padding: 2px 0;
  border-left: #000 1px solid;
  border-right: #000 1px solid;
}

.site-layout .navbar-nav > li > ul li:first-child {
  border-top: #000 1px solid;
  padding-top: 16px;
}

.site-layout .navbar-nav > li > ul li:last-child {
  border-bottom: #000 1px solid;
  padding-bottom: 16px;
}

.site-layout .navbar-nav > li > ul li > a {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  padding: 2px 28px;
  text-decoration: none;
}

.site-layout .navbar-nav > li > ul li > a:hover {
  color: #9e9e9e;
  text-decoration: none;
}

.site-layout .navbar-nav > li:hover > ul {
  display: block;
}

.site-layout .extra-navbar-nav li {
  width: 48%;
  display: inline-block;
  border-bottom: none;
  text-align: center;
}

.site-layout .extra-navbar-nav li:nth-child(3) {
  width: 100%;
  margin-top: 12px;
}

.site-layout .extra-navbar-nav li:nth-child(3) a,
.site-layout .extra-navbar-nav li:nth-child(4) a {
  background-color: #d2d3d3;
  padding: 9px 30px;
  border-radius: 10px;
  color: #000;
}

.site-layout .extra-navbar-nav {
  padding-top: 10px;
  padding-bottom: 20px;
}

.site-layout .header-height {
  height: 0;
}

/* Mobile menu */
@media (max-width: 1199px) {
  .sidebar_open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    z-index: 9;
  }

  .site-layout .mobilemenu_icon {
    width: 35px;
    height: 30px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    float: right;
    top: 2px;
  }

  .site-layout .navbar_line {
    width: 100%;
    height: 2px;
    background-color: #d2d3d3;
    position: absolute;
    top: 0;
    left: 0;
    width: 35px;
    border-radius: 2px;
  }

  .site-layout .inner-header .navbar_line {
    background-color: #2c2a2b;
  }

  .site-layout .navbar_line2 {
    top: 10px;
  }

  .site-layout .navbar_line3 {
    top: 20px;
  }

  .sidebar_open .mobilemenu_icon {
    background: transparent;
  }

  .sidebar_open .navbar_line,
  .sidebar_open .navbar_line2,
  .sidebar_open .navbar_line3 {
    left: 100%;
  }

  .site-layout .mobilemenu_icon_open {
    width: 38px;
    float: right;
    height: 25px;
    z-index: 99;
    overflow: hidden;
    position: relative;
    display: block;
    margin-top: 10px;
  }

  .site-layout #navbar {
    clear: both;
  }

  .site-layout .navbarclose_line1,
  .site-layout .navbarclose_line2 {
    height: 2px;
    background-color: #d2d3d3;
    position: absolute;
    top: 11px;
    left: 0;
    width: 25px;
    transform: rotate(0);
    opacity: 0;
  }

  .site-layout .has-sub-nav {
    background-image: url('/images/sub_menu.png');
    background-position: 92% 16px;
    background-size: 14px;
    background-repeat: no-repeat;
  }

  .sidebar_open .navbarclose_line1 {
    transform: rotate(-136deg);
    transition-duration: 0.5s;
    transition-delay: 0.2s;
    opacity: 1;
  }

  .sidebar_open .navbarclose_line2 {
    transform: rotate(136deg);
    transition-duration: 0.5s;
    transition-delay: 0.2s;
    opacity: 1;
  }

  .sidebar_open .navbar-header {
    right: 0;
    transition-duration: 0.3s;
  }

  .sidebar_open {
    overflow: hidden;
  }

  .site-layout .navbar-header {
    float: none;
    position: fixed;
    height: 100%;
    z-index: 10;
    background-color: #2c2a2b;
    width: 280px;
    top: 0;
    right: -100%;
    transition-duration: 0.3s;
    overflow: auto;
  }

  .site-layout .navbar-nav {
    text-align: left;
  }

  .site-layout .navbar-nav > li {
    width: 100%;
    display: block;
    text-align: left;
    border-bottom: 1px solid #7c7c7c;
    padding: 0;
  }

  .site-layout .navbar-nav > li.has-sub-nav a {
    width: 82%;
    text-align: left;
  }

  .site-layout .navbar-nav > li > a {
    color: #fff;
    padding: 10px;
    margin: 0;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
  }

  .site-layout .navbar-nav > li > a:hover {
    color: #fff;
    text-decoration: none;
  }

  .site-layout .navbar-nav > li > ul > li {
    border-bottom: 1px solid #a4a4a4;
  }

  .site-layout .navbar-nav > li > ul > li:last-child {
    border-bottom: none;
  }

  .site-layout .navbar-nav > li > ul > li > a {
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 400;
    padding: 6px 0;
    color: #fff;
    text-decoration: none;
  }

  .site-layout .navbar-nav > li > ul {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #585858;
  }

  .site-layout .navbar-nav > li:hover > ul {
    display: none;
  }

  .site-layout .navbar-nav > li > ul li {
    padding-left: 15px;
  }
}

@media (min-width: 1200px) {
  .site-layout .mobilemenu_icon,
  .site-layout .mobilemenu_icon_open {
    display: none;
  }

  .site-layout header .container {
    max-width: 1200px;
  }

  /* Auction header - match legacy alignment */
  .site-layout header.inner-header--auction .logo {
    width: auto;
    flex: 0 0 auto;
  }

  .site-layout header.inner-header--auction .logo img {
    width: 190px;
    height: auto;
    display: block;
  }

  .site-layout header.inner-header--auction .navbar {
    width: auto;
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
  }

  .site-layout header.inner-header--auction .navbar-nav {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 2px;
    width: auto;
  }

  .site-layout header.inner-header--auction .navbar-nav > li {
    padding: 0;
  }

  .site-layout header.inner-header--auction .header-right {
    margin-left: auto;
    display: flex !important;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
  }

  .site-layout header.inner-header--auction .header-right .header-user,
  .site-layout header.inner-header--auction .header-right .header-btn {
    width: auto;
  }

  .site-layout header.inner-header--auction .header-right .header-user ul.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    height: auto;
  }

  .site-layout header.inner-header--auction .header-right .header-user .navbar-nav > li {
    display: inline-flex;
    padding: 0;
  }

  .site-layout header.inner-header--auction .header-right ul.navbar-nav.navbar-nav-box {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .site-layout .logo {
    width: 15%;
    display: flex;
    align-items: center;
  }

  .site-layout .navbar {
    clear: inherit;
    width: 55%;
  }

  .site-layout .header-user {
    width: 15%;
  }

  .site-layout .header-btn {
    width: 15%;
  }

  .site-layout .header-row {
    display: flex;
    align-items: center;
  }

  .site-layout .inner-header {
    padding: 25px 0;
  }

  .site-layout .navbar-nav > li {
    padding: 0;
  }

  .site-layout .navbar-nav > li > a {
    text-transform: uppercase;
    padding: 0 5px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
  }

  .site-layout .header-user ul.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
  }

  .site-layout ul.navbar-nav.navbar-nav-box {
    display: flex;
    flex-direction: row;
  }

  .site-layout .navbar-nav-box li a {
    padding: 12px 21px;
    letter-spacing: 2px;
    color: #eaeaea !important;
    font-weight: 600;
    background-color: #2c2a2b;
    border-radius: 10px;
    display: block;
    text-align: center;
    text-decoration: none;
  }

  .site-layout .navbar-nav-box li a:hover {
    background-color: #707070;
    color: #eaeaea !important;
  }

  .site-layout .navbar-nav-box li {
    position: relative;
    width: 100%;
  }

  .site-layout .inner-header .navbar-nav-box li a {
    color: #fff;
  }

  .site-layout .inner-header .navbar-nav-box li a:hover {
    color: #e5e5e5;
  }
}

@media (min-width: 1400px) {
  .site-layout header .container {
    max-width: 1400px;
  }

  /* Auction header - slightly larger logo on wide screens */
  .site-layout header.inner-header--auction .logo img {
    width: 210px;
  }

  .site-layout .logo {
    width: 20%;
  }

  .site-layout .navbar {
    width: 52%;
  }

  .site-layout .header-user {
    width: 14%;
  }

  .site-layout .header-btn {
    width: 16%;
  }

  .site-layout .inner-header {
    padding: 20px 0;
  }

  .site-layout .navbar-nav > li > a {
    padding: 0 6px;
    font-size: 14px;
    font-weight: 600;
  }

  .site-layout .navbar-nav-box li a {
    padding: 12px 29px;
    font-size: 18px;
  }
}

@media (max-width: 1199px) {
  .site-layout .logo {
    width: 20%;
    display: flex;
    align-items: center;
  }
}

/* Footer */
.site-layout footer {
  text-align: center;
  background-color: #3b3b3b;
  color: #fff;
  padding: 18px 0;
}

.site-layout footer a {
  color: #fff;
  text-decoration: none;
}

.site-layout footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-layout .header-auth-btn {
  background: none;
  border: none;
  padding: 0 6px;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.site-layout .header-auth-btn:hover:not(:disabled) {
  text-decoration: underline;
}

.site-layout .header-auth-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.site-layout .extra-navbar-nav .header-auth-btn {
  color: #2c2b2b;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
}

.site-layout .footer-row {
  text-align: center;
}

.site-layout .footer-copy {
  margin-top: 1rem;
}

/* Cookie banner */
.site-layout .cookie_div {
  position: fixed;
  width: 33%;
  bottom: 0;
  background-color: #d2d3d3;
  color: #2c2b2b;
  padding: 30px 60px 0;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.75);
  z-index: 100;
}

.site-layout .cookie_div a {
  color: #2c2b2b;
}

.site-layout .cookie_div a:hover {
  color: #2c2b2b;
  text-decoration: none;
}

.site-layout .acc_btn a {
  font-weight: 700;
  text-decoration: none;
}

.site-layout .acc_btn a::after {
  content: '';
  width: 8px;
  height: 8px;
  display: inline-block;
  background-color: #707070;
  overflow: hidden;
  margin-left: 12px;
}

.site-layout .acc_btn a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .site-layout .cookie_div {
    width: 100%;
    padding: 20px 20px 0;
    font-size: 10px;
  }
}
