@import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Sora:wght@100..800&display=swap");

body:not(.dark-mode) {
  --dark-blue: #fff;
  --parent-menu: #111827;
  --footer-color: #f8f8f8;
  --footer-title: #374151;
  --footer-text: #4b5563;
  --submenu-bg: #fff;
  --parent-menubg: #f1f5f9;
  --menu-font: "Inconsolata", monospace;
  --primary-background: #000000;
}

body.dark-mode {
  --dark-blue: #111827;
  --parent-menu: #fff;
  --footer-color: #1d2426;
  --footer-title: #fff;
  --footer-text: #d1d5db;
  --submenu-bg: #1d2332;
  --parent-menubg: #1e293b;
  --menu-font: "Inconsolata", monospace;
  --primary-background: #000000;
}

.main-menu li {
  position: relative;
}

/* .main-menu > li, .nsc-header .main-menu ul > li{
  padding: 10px 20px;
} */
/* .main-menu > li.menu-item-has-children > a::after, .main-menu > li li::after{
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-top: 5px solid var(--parent-menu);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
} */
.submenu-toggle {
  margin-left: 0px;
  cursor: pointer;
}

.main-menu > li li::after {
  right: 10px;
}

.main-menu li > .sub-menu {
  display: none;
  min-width: 200px;
}

.main-menu li:hover > .sub-menu {
  display: block;
}

.nsc-header {
  background-color: var(--primary-background);
  position: sticky;
  top: 0;
  z-index: 99;
  padding: 25px 0;
}

.logged-in.admin-bar .nsc-header {
  top: 32px;
}

.nsc-logo {
  max-width: 204px;
  width: 100%;
}

.logo-wrap {
  width: fit-content;
}

.nsc-header h1 {
  font-size: clamp(20px, 4vw, 32px);
}

nav.navbar {
  width: fit-content;
}

.wrapper-logo-menu {
  align-items: center;
  justify-content: flex-start;
  gap: 100px;
}

.nsc-header h1 a {
  color: var(--parent-menu);
}

.nsc-header .main-menu,
.nsc-header .main-menu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 0;
}

.nsc-header ul > li > a {
  font: 500 15px/1.2 "Inconsolata", sans-serif;
  color: var(--parent-menu);
}

.nsc-header .navbar-toggler {
  color: var(--parent-menu);
  border-width: 0;
  padding: 0;
}

.nsc-header .header-search {
  color: var(--parent-menu);
}

.modal-backdrop.fade.show {
  z-index: 96;
}

.nsc-footer {
  background-color: var(--footer-color);
  padding-block: clamp(20px, 10vw, 4rem);
}

.nsc-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  row-gap: 20px;
}

.nsc-footer-grid img {
  width: 60px;
  aspect-ratio: 1/1;
}

.nsc-footer-grid .widgettitle {
  font: 600 14px/1.2 "Poppins", sens-serif;
  color: var(--footer-title);
  margin-bottom: 20px;
}

.nsc-footer-grid ul li {
  margin-bottom: 10px;
}

.nsc-footer-grid :is(p, a) {
  color: var(--footer-text);
  font: 400 14px/1.2 "Poppins", sens-serif;
}

.nsc-footer-grid > div > :last-child {
  margin-bottom: 16px;
}

.nsc-custom-social-icons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.nsc-custom-social-icons i {
  margin-inline-end: 10px;
}

.nsc-header-search-popup {
  border-radius: 12px;
}

.nsc-header-search-popup form {
  width: 95%;
  position: relative;
}

.nsc-header-search-popup form input[type="text"] {
  width: 100%;
  border-width: 0 0 1px 0;
  padding: 5px 0 5px 30px;
}

.nsc-header-search-popup form input[type="text"]:focus {
  outline: 0;
}

.nsc-header-search-popup form label[for="searchsubmit"] {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
}

.nsc-header-search-popup form label[for="searchsubmit"] i {
  color: #000;
}

.nsc-header-search-popup .search-head {
  font: 600 12px/1.2 "Poppins", sens-serif;
}

#search-suggestions li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

#search-suggestions li a {
  font: 400 14px/1.2 "Poppins", sens-serif;
  color: rgb(55, 65, 81);
}

#search-suggestions li :is(svg, i) {
  font-size: 14px;
  color: rgb(55, 65, 81);
}

.nsc-header .navbar-toggler:focus {
  box-shadow: 0 0 0 0 transparent;
}

.navbar-close {
  display: none;
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 20px;
  color: var(--parent-menu);
}

.navbar-close i {
  color: #000;
}

.header-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: auto;
  transition: transform 0.3s ease;
  z-index: 1050;
  /* above other content */
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #333;
  /* or your theme color */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate hamburger to X when active */
.header-hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.header-hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.header-hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  /* Hide off-screen on the right */
  width: 400px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  transition: right 0.6s ease;
  transition-delay: 0.3s;
  z-index: 1040;
  overflow-y: auto;
  /* for scroll if content is tall */
}

.sidebar.sidebar-open {
  right: 0;
  /* Slide in from the right */
}

.sidebar-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  padding: 10px 15px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  left: 80%;
  color: #ffffff;
  /* Adjust color as needed */
}

.cart-account-responsive a {
  color: #bfa37c;
}

/* Sidebar overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  right: -100vw;
  /* Start fully offscreen to the right */
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  /* Initially hidden */
  transition: right 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
  /* Delay visibility change */
  z-index: 1030;
}

.sidebar-overlay.active {
  right: 0;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
  /* No delay on showing */
}

.main-menu > li a,
.sidebar .devices-menu ul#menu-main-menu li a {
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease;
  font-family: var(--menu-font);
  font-weight: 400;
  font-style: Regular;
  font-size: 15.17px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 20%;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
}

nav.navbar ul#menu-main-menu-1 li a {
  font-family: Inconsolata;
  font-weight: 400;
  font-size: 15.17px;
  line-height: 100%;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.main-menu > li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scale(1);
  width: 8px;
  height: 8px;
  background-color: currentColor;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.main-menu > li a:hover::before {
  opacity: 1;
  transform: translateX(-15px) translateY(-50%);
}

.main-menu > li a:hover {
  transform: translateX(8px);
}

.header-cart-account {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 15px;
}

.header-cart-account svg {
  color: #fff;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #bfa37c;
  color: #000;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  z-index: 10;
}

.header-cart {
  position: relative;
}

.sidebar {
  background: #141a1c;
  padding: 50px 25px;
}

.sidebar div {
  margin: 15px 0 50px;
}

.sidebar-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-contact p a {
  font-family: Sora;
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  leading-trim: NONE;
  line-height: 28px;
  letter-spacing: 0%;
  color: #888787;
  text-decoration: none;
}

a.custom-logo-link {
  width: 100%;
  display: block;
  text-align: left;
}

.sidebar-logo img.custom-logo {
  object-fit: contain;
  width: fit-content;
}

.devices-menu ul#menu-main-menu li,
.devices-menu ul#menu-main-menu li a {
  padding-left: 0;
}

#contact .contact-form form input,
#contact .contact-form form textarea {
  color: #fff;
}

.cart-account-desktop,
.cart-account-responsive {
  gap: 20px;
  display: flex !important;
}

@media screen and (min-width: 991px) {
  .main-menu li > .sub-menu {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(calc(100%));
    z-index: 2;
    background-color: var(--primary-background);
    height: 200px;
    border: 1px solid #353535;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    width: 430px;
    padding: 10px 15px;
  }

  .main-menu li > .sub-menu li:last-child {
    padding-block-end: 15px;
  }
}

@media screen and (max-width: 991px) {
  .nsc-header .navbar-collapse {
    position: fixed;
    top: 0;
    height: 100vh;
    left: 0;
    background: var(--dark-blue);
    min-width: 250px;
    overflow-y: auto;
  }

  .nsc-header .main-menu {
    flex-direction: column;
    padding: 10px;
    margin-top: 40px;
  }

  .logged-in.admin-bar .nsc-header .main-menu {
    margin-top: 50px;
  }

  .logged-in.admin-bar .navbar-close {
    top: 32px;
  }

  .main-menu > li {
    padding: 5px;
  }

  .nsc-header .main-menu li a,
  .nsc-header .main-menu ul > li > a {
    color: var(--parent-menu);
  }

  .navbar-close {
    display: block;
  }

  .devices-menu #menu-main-menu li.menu-item a {
    width: 100%;
  }
}

@media (width<783px) {
  .logged-in.admin-bar .nsc-header {
    top: 46px;
  }

  .logged-in.admin-bar .navbar-close {
    top: 44px;
  }

  .logged-in.admin-bar .nsc-header .main-menu {
    margin-top: 64px;
  }
}

@media (max-width: 573px) {
  .sidebar {
    padding: 0px 25px;
  }
}

@media screen and (max-width: 480px) {
  .nsc-footer-grid > div:first-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .nsc-custom-social-icons {
    flex-direction: row;
  }

  .nsc-custom-social-icons span {
    display: none;
  }
}

.nsc-footer #media_image-2 {
  width: 180px;
  height: 59px;
}

.nsc-footer #media_image-2 a {
  width: 100%;
  display: flex;
  height: 59px;
}

.nsc-footer #media_image-2 a img {
  width: 100%;
  object-fit: contain;
}

.nsc-footer .footer-widget:first-child #text-2 p {
  margin: 30px 0;
  font-family: Sora;
  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
  color: #a6a6a6;
}

.nsc-footer .footer-widget:nth-child(2) #nav_menu-2 {
  max-width: 150px;
  width: 100%;
  margin: 0 auto;
}

.nsc-footer .footer-widget:nth-child(2) #nav_menu-2 h3,
.nsc-footer .footer-widget:last-child #text-3 h3 {
  font-family: Epilogue;
  font-weight: 500;
  font-size: 22px;
  line-height: 38.67px;
}

.nsc-footer .footer-widget:nth-child(2) #nav_menu-2 nav ul li a {
  font-family: Inconsolata;
  font-weight: 500;
  font-size: 16px !important;
  line-height: 28px;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 2px;
}

.nsc-footer .footer-widget:last-child .textwidget p > strong {
  font-family: Epilogue;
  font-weight: 700;
  font-size: 16px !important;
  line-height: 20px;
  color: #fff;
}

.nsc-footer .footer-widget:last-child .textwidget p > a {
  font-family: Epilogue;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 20px;
  color: #ffffff;
  max-width: 375px;
  width: 100%;
  display: flex;
}

.nsc-footer .footer-widget:last-child .widget12 .nsc-custom-social-icons {
  flex-direction: row;
}

.nsc-footer
  .footer-widget:last-child
  .widget12
  .nsc-custom-social-icons
  a
  span {
  display: none;
}

.nsc-footer .footer-widget:last-child .widget12 .nsc-custom-social-icons svg {
  width: 20px;
  height: 20px;
}

.nsc-footer-info {
  text-align: center;
}

.cart-account-responsive {
  display: none;
}

@media (max-width: 1395px) and (min-width: 1200px) {
  .wrapper-logo-menu {
    gap: 20px;
  }

  .nsc-header .main-menu,
  .nsc-header .main-menu ul {
    gap: 0px;
  }
}

@media (max-width: 1399px) and (min-width: 992px) {
  ul.why-choose-list-one li svg {
    margin-bottom: 20px;
  }
}

@media (max-width: 1200px) {
  .nsc-header .navbar {
    display: none;
  }

  .devices-menu {
    display: block !important;
  }

  .devices-menu ul#menu-main-menu li {
    display: block;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .wrapper-logo-menu {
    gap: 0px;
  }

  .nsc-header .main-menu,
  .nsc-header .main-menu ul {
    gap: 0px;
  }

  .main-menu a {
    padding: 10px !important;
  }

  nav.navbar {
    width: 80%;
  }

  .logo-wrap {
    width: 20%;
  }
}

@media (max-width: 991px) {
  .nsc-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    /* Two columns for tablets */
  }

  .cart-account-responsive {
    display: block !important;
  }

  .devices-menu {
    display: block !important;
  }

  .header-cart-account {
    position: relative;
    width: 70px;
  }

  ul.why-choose-list-one li svg {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .nsc-footer-grid {
    grid-template-columns: 1fr !important;
    /* Single column for phones */
  }

  .cart-account-responsive a svg {
    width: 25px;
    height: 20px;
  }

  a.custom-logo-link {
    width: 100%;
    max-width: 134px;
  }

  a.custom-logo-link img {
    object-fit: contain;
  }

  .nsc-footer .footer-widget:nth-child(2) #nav_menu-2 {
    margin: 0;
  }

  .nsc-header {
    padding: 16px 0;
  }

  header.nsc-header .mx-container {
    flex-wrap: nowrap !important;
  }

  .sidebar {
    right: -100%;
    width: 100%;
  }

  .testimonial-slide .wrap h3.testimonial-title {
    line-height: 30px !important;
  }
}

.devices-menu {
  display: none;
}

.current_page_item a {
  color: #bfa37c !important;
}
