.menu-toggle-menu {
  display: none;
}

/* ================= GLOBAL STYLES ================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(to right, #0d1caf, #000c86);
  box-shadow: 0 5px 9px rgba(0, 0, 0, 0.2);
  z-index: 9005;
  padding: 25px 5%;
  max-width: 100%;
  margin: 1px 0;
  height: auto;
  border-bottom: 1px solid #fff;
  border-top: none;
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
  text-align: center;
}

/* Mobile positions */
.login-container {
  grid-column: 1;
  grid-row: 1;
  text-align: left;
}
#phone {
  grid-column: 2;
  grid-row: 1;
  text-align: center;
}
.cart-wrapper {
  grid-column: 3;
  grid-row: 1;
  text-align: center;
  right: 40px;
  position: absolute;
}
.logo {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  display: block;
  width: 130px;
  height: 75px;
  background-image: url("/images/logo-white.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: relative;
  top: 0;
  margin: 0 auto;
}
.logo img {
  width: 100%;
  height: auto;
}
.pc-view {
  display: none;
}

.lang-switcher {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  margin-top: 20px;
  margin-right: 6px;
}
.menu-toggle {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
}

/* Buttons and links */
.login-btn {
  width: 100%;
  padding: 3px 7px;
  background: #00bcd4;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  color: #fff;
  font-weight: 100;
  cursor: pointer;
  margin: 0;
  transition: background 0.3s ease;
}
.login-container {
  position: relative;
  left: 17px;
}
.login-btn:hover {
  background: #149dd1;
}
.login-container-sticky {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main button */
.login-btn-sticky {
  display: flex;
  flex-direction: column; /* Stack icon and text */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  border: 2px solid #fff; /* white border */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  transition: all 0.3s ease;
  background: transparent;
  text-align: center;
}

/* Center the icon inside */
.login-btn-sticky i {
  font-size: 20px;
  margin: 0;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text below the icon */
.login-btn-sticky span {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1;
  text-align: center;
}

/* Hover effect */
.login-btn-sticky:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #80deea;
  color: #80deea;
  transform: scale(1.05);
}

header a,
header .phone-btn,
header .login-btn,
header .lang-switcher a {
  color: #fff;
  text-decoration: none;
}

.btn-quote,
.btn-quote-loyalty {
  background: linear-gradient(90deg, #5de0e6, #004aad);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 auto;
}
.btn-quote:hover,
.btn-quote-loyalty:hover {
  background: #00bcd4;
}

.cart-count {
  margin-left: -5px;
  padding: 2px 6px;
  border-radius: 9999px;
  position: absolute;
  background: #00bcd4;
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
}

#phone {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 14px;
  font-family: "Lemon Milk", Sans-serif;
  margin-left: -15px;
}
#phone .phone-btn {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
#phone .phone-btn:hover {
  color: #00e0d6;
}

.cart-icon {
  font-size: 1.6rem;
}
.fa-solid,
.fas {
  font-weight: 900;
}

.lang-switcher a {
  padding: 3px 7px;
  position: relative;
  background-color: #00bcd4;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  margin: auto 10px;
}
.lang-switcher a.active {
  background-color: #007bff;
  color: #fff;
}
.lang-switcher a:hover {
  background-color: #007bff;
  color: #fff;
}

.led-wall-types {
  margin-top: 5px;
}

/* ================= TABLET LAYOUT 769px - 990px ================= */
@media (min-width: 769px) and (max-width: 1350px) {
  .header-grid {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto auto;
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: space-between;
    gap: 10px 15px;

    margin: 0 auto;
    position: relative;
  }

  /* ----- Row 1: Logo → Phone → Quote → Lang → Cart → Login ----- */
  .logo {
    grid-column: 1 / 2;
    grid-row: 1;
    height: 60px;
    justify-self: start;
    margin-top: -25px;
  }

  .why-choose-section h2 {
    text-align: center;
    font-size: 40px;
    text-transform: uppercase;
    width: 100%;
    margin: 50px;
  }

  #phone {
    grid-column: 2 / 3;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin-left: 10px;
  }

  .btn-quote,
  .btn-quote-loyalty {
    grid-column: 3 / 4;
    grid-row: 1;
    background: linear-gradient(90deg, #5de0e6, #004aad);
    color: #fff;
    border: none;
    padding: 3px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    font-family: "Raleway", "Poppins", "Open Sans", sans-serif;
    width: 100%;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-quote:hover,
  .btn-quote-loyalty:hover {
    background: #00bcd4;
  }
  .quote-button {
    right: 20px;
  }
  .lang-switcher {
    grid-column: 4 / 5;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
  }
  .jz-privacy-container {
    margin: 170px auto;
  }
  .jze-values-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
  }
  .floor-hero {
    height: 70%;

    color: white;
    padding: 10px;
    margin-top: 100px;
  }
  section.hero {
    padding: 0;
    margin-top: 40px;
  }
  .container-shop-title {
    width: 90%;
    text-transform: uppercase;
    margin: 5px auto;
  }
  .hero-overlay h1 {
    font-size: 3rem;
    margin-top: -110px;
  }
  .floor-cards {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    gap: 10px;
    max-width: 1200px;
  }
  .pc-video-wrapper {
    width: 100%;
  }
  .led-header-main {
    width: 80%;
  }

  .led-text-info p {
    text-align: center;
  }
  .image-wrapper video {
    width: auto;
    height: 320px;
    margin: 20px auto;
    background-color: #000;
  }
  br {
    display: none;
  }

  .led-card {
    background: #000;
  }

  .led-card video {
    width: 100%;
    height: 316px;
  }

  .container-shop {
    margin: 0 auto;
  }
  .footer-links {
    display: flex;
    gap: 100px;
  }
  .cart-wrapper {
    grid-column: 5 / 6;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 18px;
    cursor: pointer;
    margin-left: 40px;
  }

  #quoteFormCard {
    max-width: 90%;
    margin: 140px auto;
  }

  .section-service {
    width: 100%;
    margin: 100px auto;
  }

  .login-container {
    grid-column: 6 / 7;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
  }

  /* ----- Row 2: Navigation Bar ----- */
  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    background: transparent;
    text-align: center;
  }

  .main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .main-nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    padding: 6px 0;
    transition: color 0.3s ease;
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: #5de0e6;
  }

  /* ----- Hide Toggle + Mobile Menu on Tablet ----- */
  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }

  /* ----- Cart count fix ----- */
  .cart-count {
    margin: -25px 5px 5px 50px;
  }
  .floor-gallery-extra,
  .floor-gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* always 2 columns */
  }
  .floor-gallery-item-extra,
  .floor-gallery-item {
    width: 230px;
    height: 270px;
  }

  .jz-privacy-heading {
    padding: 100px;
  }
}

/* ================= DESKTOP LAYOUT ================= */
@media (min-width: 992px) {
  .header-grid {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 80%; /* 90% width */
    margin: 0 auto; /* center horizontally */
    justify-content: space-between;
  }

  .logo {
    order: 1;
    flex-shrink: 0;
    height: 60px;
    margin-top: -20px;
  }

  .main-nav {
    order: 2;
    display: block;
    align-items: center;
  }
  .main-nav ul {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
  }
  .main-nav li a {
    display: inline-block;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.2s;
    font-size: 18px;
  }
  .main-nav li a:hover {
    color: #00bcd4;
  }
  .main-nav li {
    flex: 0 0 auto;
    width: auto;
  }

  #phone {
    order: 3;
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin-left: 10px;
  }
  .btn-quote,
  .btn-quote-loyalty {
    order: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #5de0e6, #004aad);
    color: #fff;
    border: none;
    padding: 3px 12px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    font-family: "Raleway", "Poppins", "Open Sans", sans-serif;
    min-width: 185px;
  }
  .btn-quote:hover,
  .btn-quote-loyalty:hover {
    background: #00bcd4;
  }

  .cart-wrapper {
    order: 5;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 18px;
    cursor: pointer;
    margin-left: 25px;
  }
  .cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #00e0d6;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 9999px;
  }

  .lang-switcher {
    order: 6;
    display: flex;
    align-items: center;
    margin: 0;
  }
  .login-container {
    order: 7;
    display: flex;
    align-items: center;
    min-width: 95px;
  }
  .login-container a {
    display: flex;
    align-items: center;
    margin-left: 10px;
    color: #fff;
    text-decoration: none;
  }
  .login-container i {
    margin-right: 4px;
  }

  .lang-switcher a {
    padding: 2px 6px;
  }
  .menu-toggle {
    display: none;
  }
  .jz-privacy-heading {
    padding: 50px;
  }
}

@media (max-width: 768px) {
  /* Hide nav and quote button on mobile */
  .main-nav,
  .btn-quote {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 32px;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    background-color: #fff;
    color: #000;
    border: 1px solid #fff;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    top: 30px;
    left: -10px;
  }

  .menu-toggle-menu {
    position: absolute;
    top: 85px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 32px;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    background-color: #fff;
    color: #000;
    border: 1px solid #fff;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
  }
  .cart-wrapper {
    top: 17px;
  }

  .btn-quote-loyalty {
    grid-row: 1;
    background: linear-gradient(90deg, #5de0e6, #004aad);
    color: #fff;
    border: none;
    padding: 6px 18px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    font-family: "Raleway", "Poppins", "Open Sans", sans-serif;
    min-width: 174px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .jz-privacy-heading {
    padding: 0 20px;
  }

  .pc-view {
    display: block;
  }

  .legal-bar {
    display: block;
    width: 100%;
    margin: 10px 0;

    border-bottom: 1px solid #fff;
    background-color: #131c81;
    padding: 10px 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .legal-bar::-webkit-scrollbar {
    display: none; /* ✅ hides scroll bar on mobile */
  }

  .legal-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* ✅ allows wrapping if space permits */
    gap: 5px 12px;
    margin: 0;
    padding: 0 15px;
  }

  .legal-links li {
    display: inline-block;
  }

  .legal-links li strong {
    color: #00bcd4;
    text-transform: uppercase;

    font-size: 12px;
  }

  .legal-links li a {
    color: #fff;

    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
  }

  .legal-links li a:hover {
    color: #00bcd4;
  }
  .footer-links ul:nth-of-type(2) {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1350px) {
  .header-grid {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto auto;
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: space-between;
    gap: 10px 40px;

    margin: 0 auto;
    position: relative;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    background: transparent;
    text-align: center;
  }
}
@media (min-width: 992px) and (max-width: 1349px) {
  .cart-count {
    top: 20px;
  }
}
