/* =============================================================================
NAVIGATION 
================================================================================ */
header {
  position: fixed;
  left: 0;
  right: 0;
  background-color: rgba(22, 22, 22, .8);
  z-index: 9998;
  /* backdrop-filter: blur(8px); */
  transition: top 0.3s ease, opacity 0.4s ease, background 0.2s ease, box-shadow 0.4s ease;
}

header.hidden {
  top: -172px;
  opacity: 0;
}

header:hover {
  background-color: rgba(22, 22, 22, 1);
  box-shadow: 0px 11px 13px -8px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 0px 11px 13px -8px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 11px 13px -8px rgba(0, 0, 0, 0.75);
}

.top-notification {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: relative;
  width: 100%;
  padding: 8px 0;
  font-weight: 600;
  background-color: var(--website-color-3);
  text-align: center;
}

.top-notification a {
  font-size: calc(0.67rem + 0.15vw);
  color: var(--website-color-4);
  padding: 4px 16px;
}

.top-notification a:hover {
  color: var(--website-color-4);
  background-color: var(--website-color-1);
  box-shadow: 2px 5px 5px -5px rgba(0, 0, 0, 1);
  -webkit-box-shadow: 2px 5px 5px -5px rgba(0, 0, 0, 1);
  -moz-box-shadow: 2px 5px 5px -5px rgba(0, 0, 0, 1);
}

.top-notification .social {
  display: flex;
}

a.icon-social {
  padding: 0 5px;
}

a.icon-social:hover {
  color: transparent;
  background-color: transparent;
  box-shadow: none;
  -webkit-box-shadow: 2px 5px 5px -5px rgba(0, 0, 0, 0);
  -moz-box-shadow: 2px 5px 5px -5px rgba(0, 0, 0, 0);
}

.icon-social img {
  width: fit-content;
  max-width: 16px;
  height: fit-content;
  max-height: 16px;
}


.logo {
  width: 100%;
  max-width: 14rem;
}

nav {
  width: 100%;
  max-width: var(--site-layout);
  height: 100%;
  margin: 0 auto;
  padding: var(--space-2) var(--space-4);
}

nav #main-logo {
  position: relative;
  z-index: 9998;
}

nav.flexbox-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-4);
  margin-top: -0.5rem;
}

.icon-container {
  cursor: pointer;
  position: relative;
  top: 4px;
}

.cart-toggle-btn.hidden { display: none; }
.cart-toggle-btn.visible { display: inline-block; }

nav a.icon-cart,
#nav a.icon-cart {  
  position: relative;
  display: inline-block;
  background-image: url(../images/site_imgs/icons/cart.svg);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 24px;
  width: 24px;
  height:24px;
  padding: 0 var(--space-4);
  margin: 0;
}

.badge {
  position: relative;
  top: -20px;
  left:-10px;
  margin:0;
  padding: 1px 6px;
  border-radius: 20px;
  background-color: var(--website-color-3);
  font-size: calc(0.67rem + 0.15vw);
  font-weight: 600;
  color: var(--font-color-alt);
  text-shadow: none;
}


#nav .icon-user-effect.btn {
  border-radius: 50px;
}

nav .icon-user-effect,
#nav .icon-user-effect {
  background-image: url(../images/site_imgs/icons/user-cir-w.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  border: none;
  width: 24px;
  height: 24px;
  padding: var(--space-4);
  margin: 0 auto !important;
  margin: 0;
}

nav .icon-user-effect:hover,
#nav .icon-user-effect:hover {
  color: white;
}

nav .icon-user-effect:hover::after,
#nav .icon-user-effect:hover::after {
  content: "Admin";
  position: absolute;
  bottom: 0;
  left: 250%;
  transform: translateX(-50%);
  background-color: rgba(22, 22, 22, 0.7);
  color: var(--color-white);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.3s;
}

nav .icon-user-effect::after,
#nav .icon-user-effect::after {
  content: "";
  opacity: 0;
  transition: opacity 0.3s;
}


nav .get-quote-btn {
  position: relative;
  display: inline-block;
  width: fit-content;
  color: var(--website-color-3) !important;
  font-weight: 700;
  white-space: nowrap;
  padding: 2px 1px;
  border-radius: var(--border-radius-medium);
  backdrop-filter: blur(8px);
  /* transition: all .3s ease-in-out; */
  transform: scale(1.03);
  background: linear-gradient(var(--gradient-angle), rgba(22, 22, 22), rgb(22, 22, 22), rgba(0, 255, 255, 1));
  animation: rotation 8s linear infinite;
  text-shadow: 2px 1px 2px rgba(0, 0, 0, 0);
  box-shadow: 2px 7px 5px -5px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 2px 7px 5px -5px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 2px 7px 5px -5px rgba(0, 0, 0, 0.75);
  z-index: 100;
}

/* nav .get-quote-btn:hover {
  transform: scale(1.03);
  background: linear-gradient(var(--gradient-angle), rgba(22, 22, 22), rgb(22, 22, 22), rgba(0, 255, 255, 1));
  animation: rotation 3s linear infinite;
  text-shadow: 2px 1px 2px rgba(0, 0, 0, 0);
  box-shadow: 2px 7px 5px -5px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 2px 7px 5px -5px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 2px 7px 5px -5px rgba(0, 0, 0, 0.75);
  z-index: 100;
} */


nav .get-quote-btn div {
  padding: var(--space-2) var(--space-4);
  margin: auto;
  width: 99%;
  height: 99%;
  background-color: var(--website-color-1);
  border-radius: var(--border-radius-small);
  transition: all 0.2s;
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
}

@keyframes rotation {
  0% {
    --gradient-angle: 0deg;
  }

  100% {
    --gradient-angle: 360deg;
  }
}

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}


/* Hamburger and nav menu button */
.mobile-menu-wrapper {
  cursor: pointer;
}

#nav.flexbox-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-4);
}

#nav .btn-alt {
  border: none;
}

#mobile-menu a, #mobile-menu button {
  font-size: calc(0.925rem + 0.2vw);
  color: var(--website-color-4);
  font-weight: 500;
}

#mobile-menu a:hover {
  color: var(--website-color-3) !important;
}


/* Hamburger and nav menu button */
.mobile-menu-wrapper {
  cursor: pointer;
}


#mobile-menu,
#mobile-menu nav {
  display: none;
}

#mobile-menu-btn-checkbox {
  display: none;
}

#mobile-menu-btn {
  display: none;
  cursor: pointer;
}

#mobile-menu-btn-checkbox:checked~#mobile-menu {
  transform: translateX(0rem);
}

#mobile-menu-btn>div {
  height: 2px;
  background-color: var(--website-color-4);
  transition: 0.5s;
  z-index: 999999;
}

/* .panel {
  display: none;
}

.mobile-accordion {
  display: none;
} */
.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-accordion {
  cursor: pointer;
  background-color: transparent;
  color: var(--website-color-4);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--website-color-3);
  border-radius: var(--border-radius-small);
}

.mobile-accordion.active {
  font-weight: 600; /* optional visual state */
}

.dropdown-bg {
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  z-index: 9998;
}

.dropdown-container {
  display: none;
}

.dropdown-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 32px;
  padding: var(--space-4);
  background: rgba(22, 22, 22, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--website-color-2);
  box-shadow: 0px 11px 13px -8px rgba(0, 0, 0, 0.94);
  -webkit-box-shadow: 0px 11px 13px -8px rgba(0, 0, 0, 0.94);
  -moz-box-shadow: 0px 11px 13px -8px rgba(0, 0, 0, 0.94);
  transition: background 0.4s ease-in-out;
}

.dropdown-content:hover {
  background: rgba(22, 22, 22, 1);
}


.dropdown-content a {
  width: auto;
  color: var(--color-white);
  border: 2px solid var(--website-color-1);
  border-radius: var(--border-radius-medium);
  background-color: transparent;
  padding: var(--space-4) !important;
  text-decoration: none;
  text-align: center;
  text-transform: capitalize;
}

.dropdown-content a:hover {
  color: var(--website-color-1) !important;
  background-color: var(--website-color-3) !important;
  box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0);
  -webkit-box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0);
  -moz-box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0);
}

.dropdown:hover .dropdown-container {
  display: block;
}

nav .currency-selector,
#nav .currency-selector {
  background-color: rgba(22, 22, 22, 0);
  border-radius: var(--border-radius-small);
  display: inline-block;
  overflow-y: auto;
}

nav .currency-selector select,
#nav .currency-selector select {
  cursor: pointer;
  color: var(--color-white);
  padding: .7rem var(--space-4);
  text-align: center;
  background-color: rgba(22, 22, 22, 0);
  border: 1px solid rgba(0, 255, 255, 0);
  font-size: calc(0.825rem + 0.2vw);
  font-weight: 700;
  appearance: none;
  /* removes default styling on some browsers */
}

nav .currency-selector select:focus,
#nav .currency-selector select:focus {
  outline: none;
  background-color: rgba(22, 22, 22, 1);
  box-shadow: 0 0 4px rgba(0, 255, 255, 0.8);
  border: 1px solid rgba(0, 255, 255, 1);

}




#call_to_action_email_post ul {
  position: relative;
  height: 100%;
  text-align: left;
  padding: var(--space-2) 0 0;
  margin-top: var(--space-2);
  overflow: auto;
}

#call_to_action_email_post ul li {
  margin-bottom: var(--space-2);
}

#call_to_action_email_post ul li:first-of-type {
  margin: var(--space-2) 0;
}

#call_to_action_email_post ul li:last-of-type {
  margin: 0;
  padding: 0;
}

#call_to_action_email_post label {
  font-size: calc(0.725rem + 0.2vw);
  color: var(--color-white);
}

#call_to_action_email_post textarea {
  min-height: 100px;
  max-width: 100%;
}

#call_to_action_email_post input,
#call_to_action_email_post textarea {
  color: var(--color-white);
  border: 1px solid rgba(0, 255, 255, 0.5);

  background-color: rgba(34, 34, 34, 0.5);
}

#call_to_action_email_post input:focus,
#call_to_action_email_post textarea:focus {
  border: 1px solid var(--website-color-3);
  outline: none;
  /* optional: removes default browser outline */
  box-shadow: 0px 0px 17px 2px rgba(0, 255, 255, 0.25);
  -webkit-box-shadow: 0px 0px 17px 2px rgba(0, 255, 255, 0.25);
  -moz-box-shadow: 0px 0px 17px 2px rgba(0, 255, 255, 0.25);
}

#call_to_action_email_post button {
  cursor: pointer;
  width: 100%;
  display: inline-block;
  margin-top: var(--space-4);
  padding: 0.75rem 1.5rem;
  color: var(--color-white);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  background-color: var(--website-color-1);
  border: 1px solid var(--website-color-3);
  transition: all 0.3s ease, color 0.3s ease;
}

#call_to_action_email_post button:hover {
  background: var(--website-color-2);
  color: var(--website-color-3);
}

/* =============================================================================
MEDIA RESPONSIVE 
================================================================================ */
/* Responsive breakpoints */
/*1400px */
@media (max-width: 91rem) {
}

@media (max-width: 75rem) {

  /*1200px */
  /* .flexbox-row {
    gap: 0;
    margin-top: 0;
  }

  .dropdown-content {
    margin-top: 30px;
  }

  .logo {
    max-width: 13rem;
  } */

}

@media (max-width: 56.25rem) {

  /* img {
    width: 100%;
    max-width: auto;
    height: 100%;
  }

  .logo {
    max-width: 11rem;
  }


  nav .flexbox-row {
    align-items: center;
    text-align: left;
  }

  nav a,
  nav button {
    text-align: center;
  }

  #nav.non-mobile {
    display: none;
  } */

 
}

@media (max-width: 48rem) {
  .top-notification {
    display: none;
  }

  /* 768px */
  img {
    width: 100%;
    max-width: auto;
    height: 100%;
  }

  .logo {
    max-width: 10rem;
  }


  nav .flexbox-row {
    /* flex-direction: column;
    flex-wrap: wrap; */
    align-items: center;
    text-align: left;
  }

  nav a,
  nav button {
    text-align: center;
  }

  #nav.non-mobile {
    display: none;
  }

  #mobile-menu-btn {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    cursor: pointer;
    width: 1.5rem;
    height: 1.5rem;
    z-index: 999999;

  }

  #mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    bottom: 0;
    height: calc(100vh);
    width: 100%;
    background-color: rgba(22, 22, 22, 0.98);
    z-index: 99999;
    transition-timing-function: cubic-bezier(10, 2, 3, 1);
    transform: translateX(60rem);
    transition: 0.5s;
  }

  #mobile-menu ul {
    margin-top: 0;

  }

  #mobile-menu .nav-items li {
    margin: var(--space-4) 0;
  }
/* 
  .mobile-accordion {
    display: block;
  }

  .mobile-accordion a:after {
     content: "\002B"; 
    color: var(--color-gray-50);
    margin-left: var(--space-2);
  }

  /* .active a:after {
     content: "\2212"; 
  }*/

  #mobile-menu .nav-items a,
  #mobile-menu .nav-items .mobile-accordion span,
  #mobile-menu .nav-items button {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-white);
  }

  #mobile-menu .panel .sub-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-8) auto;
    height: 100%;
    width: 250px;
    gap: var(--space-4);
    overflow: auto;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-transform: capitalize;
  }
  #mobile-menu .panel .sub-menu a:last-child{
    margin-bottom: var(--space-8);
  }


  #mobile-menu .panel .sub-menu-title {
    width: fit-content;
    background-color: transparent;
    color: var(--website-color-3);
    text-align: center;
    font-weight: 700;
    text-transform: capitalize;
    padding: var(--space-1) var(--space-4);
    margin: var(--space-2) auto var(--space-1);
  }

    #mobile-menu .panel .sub-cat-name {
      display: inline-block;
      font-weight: 400;
      font-size: calc(0.825rem + 0.2vw);
      text-transform: capitalize;
      margin: var(--space-2) auto;
  }
}