/** General CSS Styles for every page **/
#header, hr, #footer {
    display: none;
}

body {
    font-family: 'proxima-nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/** HEADER **/
.header-wrapper {
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    padding: 27px 53px 27px 53px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    }
  
  .header .logo img {
    max-height: 50px;
    margin-right: 85px;
  }

  .header .nav-menu {
    margin-left: 50px;
    margin-right: 10px;
    align-items: center;
    display: flex;
  }
  
  .header .nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
  }
  
  .header .nav-menu li {
    margin: 0 108px 0 0;
  }
  
  .header .nav-menu a {
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #4e3223; 
  }
  
  .header .nav-menu a:hover {
    color: #f37021; /* Accent color */
  }


/** FOOTER **/ 
.footer {
    border-top: 1px solid #e1e7e9;
    background-color: #eef2f5;
    color: #4c3017;
  }
  
  .footer-wrapper {
    padding: 62px 20px 40px 20px;
    max-width: 1331px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .footer-logo {
    flex: 1;
    min-width: 200px;
  }
  
  .footer-logo img {
    max-width: 90%;
    margin-bottom: 22px;
  }

  .footer-logo .twitter-icon img {
    width: auto;
    height: 20px;
    margin-top: 2px;
  }

  .footer-social .twitter-icon img {
    width: auto;
    height: 20px;
    margin-top: 2px;
  }
  
  .store-locator-wrapper {
    margin-top: 0px;
  }

  .store-locator-wrapper img {
    width: 24px;
  }
  
  .store-locator-wrapper i {
    margin-right: 8px;
  }
  
  .store-locator-wrapper a {
    display: flex;
    gap: 10px;
    font-size: 16px;
    text-decoration: none;
    color: #4c3017;
  }

  .store-locator-wrapper img {
    margin-bottom: 0;
  }
  
  .legal-menu-wrapper {
    margin-top: 0px;
  }

  .legal-menu-wrapper.xl {
    display: initial !important;
  }
  
  .legal-menu-wrapper span {
    display: block;
    margin: 5px 0;
  }
  
  .legal-menu-wrapper a {
    font-size: 12.6px;
    text-decoration: none;
    color: #4c3017;
  }
  
  .footer-sections {
    display: flex;
    flex: 4;
    justify-content: space-between;
  }
  
  .footer-column {
    flex: 1;
    min-width: 150px;
    margin: 0 10px;
  }
  
  .footer-column h4 {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 23px;
    line-height: 21.6px;
    letter-spacing: .35px;
    margin-bottom: 34px;
    color: #4c3017;
    margin-top: 0;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
    margin-top: 0;
  }
  
  .footer-column ul li {
    margin-bottom: 0px;
    height: 24px;
  }
  
  .footer-column ul li a {
    text-decoration: none;
    font-size: 12.6px;
    color: #4c3017;
    transition: color 0.3s;
  }
  
  .footer-column ul li a:hover {
    color: #ff6f00;
  }
  
  .footer-legal {
    flex-basis: 100%;
    text-align: center;
    font-size: 13px;
    line-height: 13px;
    color: #4c3017;
    margin-top: 20px;
  }
  
  .footer-legal a {
    color: #4c3017;
    text-decoration: underline;
  }
  
  .footer-legal a:hover {
    text-decoration: underline;
    color: #ff6f00;
  }

  .footer-social {
    display: flex;
    gap: 25px;
    margin-top: 70px;
  }

  .footer-social.xs {
    margin-top: 20px;
  }
  
  .footer-copyright {
    flex-basis: 100%;
    text-align: center;
    font-size: 13px;
    line-height: 13px;
    color: #4c3017;
  }

  .footer-copyright p {
    margin-top: 0;
  }

  .footer-toggle .arrow {
    display: none;
  }

  .xs {
    display: none !important;
  }

  .xl {
    display: flex !important;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {

    .xs {
      display: flex !important;
    }

    .xl {
      display: none !important;
    }

    .footer-wrapper {
      flex-direction: row;
      align-items: flex-start;
      flex-wrap: wrap;
      padding-top: 17px;
      padding-bottom: 37px;
    }

    .footer-wrapper > *:nth-child(1) {
      flex-basis: 47%;
      width: 47%;
      min-width: auto;
      max-width: 47%;
    }
    .footer-wrapper > *:nth-child(2) {
      flex-basis: 44%;
      width: 44%;
      min-width: auto;
      max-width: 44%;
    }

    .footer-wrapper > *:nth-child(n+3) {
      flex-basis: 100%;
      width: 100%;
    }
  
    .footer-logo {
      margin-bottom: 20px;
      text-align: left;
      width: 100%;
      justify-content: space-around;
    }

    .footer-logo img {
      margin-bottom: 13px;
      margin-top: 10px;
    }

    .footer-logo .footer-social {
      display: none;
    }

    .store-locator-wrapper a {
      gap: 6px;
    }

    .store-locator-wrapper img {
      width: 16px;
      height: 14px;
      top: 5px;
      position: relative;
      margin-bottom: 0;
      margin-top: 0;
    }

    .legal-menu-wrapper {
      text-align: left;
    }

    .legal-menu-wrapper.xl {
      display: none !important;
    }

    .legal-menu-wrapper.xs {
      display: initial !important;
      width: 100%;
    }

    .legal-menu-wrapper.xs span a {
      text-decoration: underline;
    }
  
    .footer-sections {
      flex-direction: column;
      align-items: left;
      width: 100%;
      margin-top: 0;
    }
  
    .footer-column {
      margin-bottom: 0;
      margin-left: 0;
      text-align: left;
    }

    .footer-column h4 {
      padding-bottom: 0;
      margin-bottom: 18px;
      font-size: 16px;
    }

    .footer-column ul {
      display: none;
    }

    .footer-legal {
      text-align: left;
      font-size: 12.6px;
    }
  }
  
/* Mobile Menu Styles - Base State */
.mobile-menu-toggle,
.mobile-menu-close,
.mobile-menu-header {
  display: none;
}

/* Mobile Styles */

@media (min-width: 769px and max-width: 1300px) {
  .header .nav-menu li {
    margin: 0 60px 0 0;
  }
}

@media (max-width: 768px) {
  .header-wrapper {
    padding: 15px;
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 57px;
  }

  .mobile-menu-toggle {
    display: block;
    z-index: 100;
    background: #fff;
    border: none;
    flex-basis: 20%;
    cursor: pointer;
  }

  .logo {
    flex-basis: 60%;
    display: flex;
    justify-content: center;
  }

  .header .logo img {
    margin-right: 0;
    max-height: 22px;
    margin-top: 10px;
  }

  /* Hide desktop nav by default on mobile */
  .header .nav-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    padding: 26px 20px 20px 20px;
    box-sizing: border-box;
    margin: 0;
  }

  /* Show nav when active */
  .header .nav-menu.active {
    display: block;
  }

  /* Mobile menu header only shows when menu is active */
  .header .nav-menu.active .mobile-menu-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
  }

  .header .nav-menu.active .mobile-menu-close {
    display: block;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: absolute;
    right: 0;
  }
  .header .nav-menu.active .mobile-menu-close .close-icon {
    width: 17px;
    height: 17px;
  }

  .header .mobile-menu-header img {
    max-height: 24px;
  }

  .header .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .header .nav-menu li {
    margin: 20px 0;
    width: 100%;
  }

  .header .nav-menu a {
    font-size: 20px;
    font-weight: 800;
    display: block;
    border-bottom: 1px solid #D1D1D1;
    padding: 10px 0 22px 0;
    display: flex;
    gap: 15px;
    align-content: center;
    align-items: center;
  }

  /* Language selector positioning for mobile */
  .header-wrapper .language-selector {
    display: flex;
  }

  .footer-menu {
    display: none;
    margin-top: 10px;
  }

  .footer-column.open .footer-menu {
    display: block;
  }

  .footer-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-toggle .arrow {
    display: block;
    transition: transform 0.3s ease;
  }

  .footer-column.open .footer-toggle .arrow {
    transform: rotate(180deg);
  }
}

/* Language Selector Styles */
.language-selector {
  display: none;
  gap: 10px;
  margin-top: 0px;
  font-weight: 700;
  font-size: 18px;
}

  .language-selector__desktop {
    display: flex;
  }

.language-selector a {
  color: #4e3223;
  text-decoration: none;
}

.language-selector a.active {
  color: #D44110;
}

.language-selector a:hover {
  color: #D44110;
}

.nav-menu.active .language-selector {
  margin-top: 0;
}

.nav-menu.active .language-selector a {
  padding: 0;
  border-bottom: none;
}

/* Hamburger Icon */
.hamburger-icon {
  width: 30px;
  height: 3px;
  background-color: #D44110;
  position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  width: 100%;
  height: 3px;
  background-color: #D44110;
  position: absolute;
  left: 0;
  transition: transform 0.3s ease;
}

.hamburger-icon::before {
  top: -8px;
}

.hamburger-icon::after {
  top: 8px;
}

/* Close Icon */
.close-icon {
  width: 30px;
  height: 30px;
  position: relative;
}

.close-icon::before,
.close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #48311B;
}

.close-icon::before {
  transform: rotate(45deg);
}

.close-icon::after {
  transform: rotate(-45deg);
}
