/* Header Styles */

/* Announcement Bar */
.announcement-bar {
  background-color: #AE8857;
  padding: 15px 5px;
  font-size: 16px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}

.announcement-bar p {
  margin: 0;
  font-family: "din-condensed", sans-serif;
  font-weight: 400;
}

@media (max-width: 1023px) {
  .announcement-bar {
    padding: 10px 5px;
    font-size: 12px;
  }
}

/* Sub Header Styles */
.sub-header {
  background-color: #fff;
  padding: 10px;
  font-weight: bold;
  word-wrap: break-word;
}

@media (max-width: 1023px) {
  .sub-header {
    padding: 5px;
  }
}

.sub-header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-header-content__logo {
  max-width: 230px;
}

.sub-header-content img {
  width: 100%;
  max-width: 230px;
}

@media (max-width: 1023px) {
  .sub-header-content img {
    max-width: 120px;
  }
}

.sub-header-content__login {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #000;
}

@media (max-width: 424px) {
  .sub-header-content__login {
    font-size: 10px;
    gap: 5px;
  }
}

/* Main Menu */
.main-menu {
  min-height: 35px;
  background-color: #1077AD;
  padding: 7px 10px;
}

@media (max-width: 1023px) {
  .main-menu {
    display: none;
  }
}

.main-menu #Menu {
  background: unset;
  height: unset;
}

.main-menu #Menu li.ActivePage {
  background-color: #AE8857;
}

.main-menu #Menu #menuContainer {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.main-menu #Menu #menuContainer ul li {
  padding: 0;
  position: relative;
}

.main-menu #Menu #menuContainer ul li:last-child {
  background: unset;
  padding: 0;
}

.main-menu #Menu #menuContainer ul li a {
  color: #fff;
  background: unset;
  height: auto;
  padding: 7px 15px;
  line-height: 1.2;
  font-family: "din-condensed", sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.main-menu #Menu #menuContainer ul li a:hover {
  background-color: #AE8857;
}

/* Desktop submenu styles */
.main-menu #Menu #menuContainer ul li.HasSubMenu:hover > ul {
  display: block;
}

.main-menu #Menu #menuContainer ul li.HasSubMenu > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-top: 2px solid #AE8857;
}

.main-menu #Menu #menuContainer ul li.HasSubMenu > ul li {
  background: none;
  border-bottom: 1px solid #eee;
}

.main-menu #Menu #menuContainer ul li.HasSubMenu > ul li:last-child {
  border-bottom: none;
}

.main-menu #Menu #menuContainer ul li.HasSubMenu > ul li a {
  color: #fff;
  background: none;
  padding: 12px 15px;
  font-size: 16px;
  text-transform: none;
  letter-spacing: normal;
  display: block;
}

.main-menu #Menu #menuContainer ul li.HasSubMenu > ul li a:hover {
  background-color: #f8f9fa;
  color: #1077AD;
}

/* Mobile Menu */
.mobile-menu-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

@media (max-width: 1023px) {
  .mobile-menu-burger {
    display: flex;
    margin-right: 5px;
  }
}

.mobile-menu-burger .burger-line {
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-burger .burger-line.line1.active {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-burger .burger-line.line2.active {
  opacity: 0;
}

.mobile-menu-burger .burger-line.line3.active {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  z-index: 999;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background-color: #fff;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease-out;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu .mobile-menu-header {
  padding: 10px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1077AD;
  color: #fff;
}

.mobile-menu .mobile-menu-header .mobile-menu-logo {
  font-size: 18px;
  font-weight: bold;
  font-family: "din-condensed", sans-serif;
}

.mobile-menu .mobile-menu-header .mobile-menu-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu .mobile-menu-content {
  padding: 0;
}

.mobile-menu .mobile-menu-content #Menu {
  background: unset;
}

.mobile-menu .mobile-menu-content #Menu li {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  float: unset;
  border-bottom: 1px solid #eee;
}

.mobile-menu .mobile-menu-content #Menu li.ActivePage {
  background-color: #dfc076;
}

.mobile-menu .mobile-menu-content #Menu li a {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  font-family: "din-condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: color 0.3s ease, background-color 0.3s ease;
  height: auto;
  background: unset;
}

.mobile-menu .mobile-menu-content #Menu li.HasSubMenu > a {
  position: relative;
}

.mobile-menu .mobile-menu-content #Menu li.HasSubMenu > a::after {
  content: '▼';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  transition: transform 0.3s ease;
  color: #666;
}

.mobile-menu .mobile-menu-content #Menu li.HasSubMenu > a.submenu-open::after {
  transform: translateY(-50%) rotate(180deg);
}

.mobile-menu .mobile-menu-content #Menu li.HasSubMenu ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #f8f9fa;
}

.mobile-menu .mobile-menu-content #Menu li.HasSubMenu ul.open {
  max-height: 500px;
}

.mobile-menu .mobile-menu-content #Menu #menuContainer {
  width: auto;
}

.mobile-menu .mobile-menu-content #Menu #menuContainer ul {
  position: initial;
}

.mobile-menu .mobile-menu-content #Menu #menuContainer ul li:last-child {
  background: unset;
}

.mobile-menu .mobile-menu-content #Menu #menuContainer ul li ul {
  position: initial;
}

.mobile-menu .mobile-menu-content #Menu #menuContainer ul li ul li a {
  color: #000;
  font-size: 14px;
  background-color: #fff;
  padding-left: 25px !important;
}

@media (min-width: 1024px) {
  .mobile-menu-burger,
  .mobile-menu-overlay,
  .mobile-menu {
    display: none !important;
  }
}

/* Country selector */
.select-country {
  position: relative;
}

.country-selector {
  display: inline-block;
  position: relative;
}

.country-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
}

.country-trigger:hover {
  opacity: 0.8;
}

.current-country {
  margin-right: 5px;
}

.choose-text {
  text-decoration: underline;
}

.country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 150px;
  display: none;
}

.country-dropdown.show {
  display: block;
}

.country-option {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
}

.country-option:last-child {
  border-bottom: none;
}

.country-option:hover {
  background-color: #f5f5f5;
}

.country-option.current {
  background-color: #e6f3ff;
  font-weight: bold;
}

.country-option a {
  text-decoration: none;
  color: #333;
  display: block;
}

.country-option a:hover {
  color: #0066cc;
}

/* Sub-header login link */
.sub-header-content__login .cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  transition: color 0.3s ease;
}

.sub-header-content__login .cart-link:hover {
  color: #1077AD;
}

.sub-header-content__login .cart-link .cart-icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 1023px) {
  .sub-header-content__login .cart-link .cart-text {
    display: none;
  }
}

/* Country selector mobile */
.country-selector-mobile {
  position: relative;
  margin-left: 15px;
}

@media (min-width: 1024px) {
  .country-selector-mobile {
    display: none;
  }
}

.country-selector-mobile .country-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: none;
  background: none;
  font-size: 12px;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.country-selector-mobile .country-dropdown-trigger .current-flag {
  font-size: 14px;
}

.country-selector-mobile .country-dropdown-trigger .dropdown-arrow {
  transition: transform 0.3s ease;
  font-size: 10px;
}

.country-selector-mobile .country-dropdown-trigger.open .dropdown-arrow {
  transform: rotate(180deg);
}

.country-selector-mobile .country-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  z-index: 1000;
  min-width: 150px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.country-selector-mobile .country-dropdown-menu.open {
  max-height: 120px;
}

.country-selector-mobile .country-dropdown-menu .country-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: #333;
  text-decoration: none;
  font-size: 12px;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.country-selector-mobile .country-dropdown-menu .country-option:hover {
  background-color: #f5f5f5;
}

.country-selector-mobile .country-dropdown-menu .country-option:last-child {
  border-bottom: none;
}

.country-selector-mobile .country-dropdown-menu .country-option.active {
  background-color: #e6f3ff;
  color: #1077AD;
  font-weight: bold;
}

.country-selector-mobile .country-dropdown-menu .country-option .flag-icon {
  font-size: 14px;
}

@media (max-width: 1023px) {
  #Outer {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (max-width: 1023px) {
  #Container,
  #Wrapper,
  .Content.Wide.WideWithLeft {
    width: 100% !important;
  }
}

@media (max-width: 1023px) {
  #LayoutColumn1 {
    box-sizing: border-box;
    padding: 0 15px;
    width: auto;
  }
}

@media (max-width: 1023px) {
  .sub-header-content__login .select-country {
    display: none;
  }
}

/* Default page styles */
.Left li a {
  color: #dfc076 !important;
}

.Left li a:hover {
  color: #ffffff !important;
}

.flexslider {
  border: none;
}

/* Hero banner */
.hero-banner {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 20px;
  background: rgba(56, 182, 255, 0.08);
  padding: 20px;
  margin-bottom: 20px;
}

@media (max-width: 1023px) {
  .hero-banner {
    flex-direction: column-reverse;
  }
}

.hero-banner .hero-banner__content {
  width: 40%;
}

@media (max-width: 1023px) {
  .hero-banner .hero-banner__content {
    width: 100%;
  }
}

.hero-banner .hero-banner__image {
  width: 60%;
}

@media (max-width: 1023px) {
  .hero-banner .hero-banner__image {
    width: 100%;
  }
}

.hero-banner .hero-banner__image img {
  width: 100%;
  height: auto;
}

.hero-banner .hero-banner__title {
  font-size: 28px;
  font-weight: 400;
  color: #1E2E56;
  font-family: "din-condensed", sans-serif;
}

.hero-banner .hero-banner__description {
  font-size: 16px;
  font-weight: 400;
  color: #1E2E56;
}

.hero-banner .btn-primary {
  border-radius: 3px;
  background: #AE8857;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  display: block;
  width: auto;
  font-family: "din-condensed", sans-serif;
  max-width: 150px;
}

/* Three column section */
.section-three-column {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  gap: 20px;
}

@media (max-width: 1023px) {
  .section-three-column {
    flex-direction: column;
  }
}

.section-three-column .section-three-column__item {
  background: rgba(56, 182, 255, 0.08);
  width: 33%;
  padding: 20px;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .section-three-column .section-three-column__item {
    width: 100%;
  }
}

.section-three-column .section-three-column__item-title {
  font-size: 32px;
  font-weight: 400;
  color: #1E2E56;
  font-family: "din-condensed", sans-serif;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
}

.section-three-column .section-three-column__item-image {
  width: 100%;
  max-width: 80px;
  margin: 0 auto;
}

.section-three-column .section-three-column__item-image img {
  width: 100%;
  height: auto;
}

.section-three-column .btn-primary {
  border-radius: 3px;
  background: #AE8857;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  display: block;
  width: auto;
  font-family: "din-condensed", sans-serif;
  max-width: 150px;
  margin: 0 auto;
}

.section-three-column .section-three-column__item-description {
  font-size: 16px;
  font-weight: 400;
  color: #1E2E56;
  text-align: center;
  margin-top: 10px;
  font-family: "din-condensed", sans-serif;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* Side Category List */
.category-list {
  background-color: #fff;
}

.category-list h2 {
  padding: 5px 0;
}

.category-list__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.category-list__content .sf-menu li {
  text-indent: 0;
  border-bottom: 1px solid #1E2E56;
}

.category-list__content .sf-menu li a {
  color: #1E2E56 !important;
  font-size: 16px;
}

.category-list__content .sf-menu li a:hover {
  color: #1E2E56 !important;
  background-color: #fff !important;
  text-decoration: underline;
}

.category-list__content .sf-vertical {
  width: 100%;
  min-width: 200px;
}

.category-list__content .sf-vertical li {
  width: 100%;
}

.category-list__content .sf-vertical li.sfHover ul,
.category-list__content .sf-vertical li:hover ul {
  left: 200px;
  min-width: 215px;
  background-color: #fff;
}

.category-list__content-forms {
  background: rgba(56, 182, 255, 0.08);
  padding: 20px;
}

.category-list__content-forms img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 50px;
  margin: 0 auto;
  margin-bottom: 5px;
}

.category-list__content-forms h3 {
  font-size: 24px;
  font-weight: 400;
  color: #1E2E56;
  text-align: center;
  font-family: "din-condensed", sans-serif;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.category-list__content-forms .btn-primary {
  border-radius: 3px;
  background: #AE8857;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  display: block;
  width: auto;
  font-family: "din-condensed", sans-serif;
}

/* Footer */
.new-footer {
  background-color: #06002c;
  color: #fff;
  padding: 40px 0 20px;
  font-family: Arial, sans-serif;
}

.new-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.new-footer .footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .new-footer .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
}

.new-footer .footer-section h3 {
  color: #AE8857;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.new-footer .footer-section .footer-logo {
  max-width: 200px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .new-footer .footer-section .footer-logo {
    margin: 0 auto 20px;
    display: block;
  }
}

.new-footer .footer-section .social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .new-footer .footer-section .social-links {
    justify-content: center;
  }
}

.new-footer .footer-section .social-links a {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.new-footer .footer-section .social-links a:hover {
  opacity: 0.7;
}

.new-footer .footer-section .social-links a img {
  width: 32px;
  height: 32px;
}

.new-footer .footer-section .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.new-footer .footer-section .footer-links li {
  margin-bottom: 8px;
}

.new-footer .footer-section .footer-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.new-footer .footer-section .footer-links li a:hover {
  color: #AE8857;
}

.new-footer .footer-section .payment-methods {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .new-footer .footer-section .payment-methods {
    justify-content: center;
  }
}

.new-footer .footer-section .payment-methods img {
  height: 24px;
  width: auto;
}

.new-footer .footer-section .security-seals {
  display: flex;
  gap: 15px;
  align-items: center;
}

@media (max-width: 768px) {
  .new-footer .footer-section .security-seals {
    justify-content: center;
  }
}

.new-footer .footer-section .partner-logo {
  max-width: 120px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.new-footer .footer-section .partner-logo:hover {
  opacity: 1;
}

.new-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
}

.new-footer .footer-bottom .copyright {
  font-size: 14px;
  color: #ccc;
}

/* Reduce CLS: stabilize header/logo and main menu height */
.sub-header {
  min-height: 70px;
}

@media (max-width: 1023px) {
  .sub-header {
    min-height: 40px;
  }
}

.sub-header-content__logo img {
  height: 50px;
  width: auto;
  display: block;
}

@media (max-width: 1023px) {
  .sub-header-content__logo img {
    height: 26px;
  }
}

.main-menu #Menu #menuContainer ul li a,
.mobile-menu .mobile-menu-content #Menu li a {
  will-change: background-color, color;
}