* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f5f5;
  color: #111;
}

body.menu-open {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ==============================
   HEADER
============================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: whitesmoke;

  border-bottom: 1px solid transparent;

  transition:
      background-color .35s ease,
      box-shadow .35s ease,
      border-color .35s ease,
      transform .35s ease;
}

/* New Code */
/* Header after leaving hero section */

.header.white-header {

  background: rgba(255, 255, 255, .96);

  backdrop-filter: blur(16px);

  -webkit-backdrop-filter: blur(16px);

  box-shadow: 0 10px 35px rgba(0, 0, 0, .08);

  border-bottom: 1px solid rgba(0, 0, 0, .08);

}

/* Logo */

.header.white-header .logo {

  color: #111;

}

/* Navigation */

.header.white-header .nav-midsection a {

  color: #111;

}

/* Icons */

.header.white-header .search-btn,
.header.white-header .icon {

  color: #111;

}

.header.white-header .cart-count {
  background-color: #4c4545cf;
  color: whitesmoke;

}

/* End */


.header.hide {
  transform: translateY(-100%);
}

.header.scrolled {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.navbar {
  min-height: 3.6rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.8rem;
  color: black;
  transition: 0.3s ease;
}

.logo:hover {
  font-size: 2rem;
  transition: 0.3s ease-in;
}

.nav-midsection {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-midsection a {
  position: relative;
  font-size: 1rem;
  /* font-weight: 700; */
  color: black;
}

.nav-midsection a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: #000;
  transition: 0.3s ease;
}

.nav-midsection a:hover::after,
.nav-midsection a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 0;
  opacity: 0;
  border: none;
  outline: none;
  transition: 0.35s ease;
}

.search-container.active .search-input {
  width: 14vw;
  opacity: 1;
  padding: 0.45rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #f7f7f7;
}

.search-btn,
.icon {
  border: none;
  background: none;
  color: black;
  font-size: 1.35rem;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.search-btn:hover,
.icon:hover {
  transform: scale(1.08);
  opacity: 0.75;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: 0.5rem;
  right: -0.6rem;
  min-width: 1.1rem;
  height: 1.1rem;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: normal;
  color: whitesmoke;
  background-color: #4c4545cf;
  border-radius: 1rem;
}

.header:hover {
  transition: 0.3s ease;
  background: whitesmoke;

  .logo {
      color: #000;
  }

  .nav-midsection a {
      color: black;
  }

  .search-btn,
  .icon {
      color: black;
  }

  .cart-count {
      color: whitesmoke;
      background-color: #4c4545cf;
  }

  .menu-btn {
      color: black;
  }
}

/* ==============================
   MOBILE MENU
============================== */
.mobile-menu {
  display: none;
}

.menu-btn {
  display: none;
}

.mobile-backdrop {
  display: none;
}

/* ==============================
   SEARCH OVERLAY
============================== */

.search-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: 99998;
}

.search-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay {
  position: fixed;
  top: 0;
  right: -70%;
  width: 40%;
  height: 100vh;
  background: #fff;
  z-index: 99999;
  overflow-y: auto;
  padding: 2rem 3rem;
  box-shadow: -25px 0 60px rgba(0, 0, 0, 0.18);
  transition: right 0.45s cubic-bezier(.22, .61, .36, 1);
}

.search-overlay.active {
  right: 0;
}

.overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overlay-brand {
  font-size: 1.9rem;
  font-weight: normal;
  /* letter-spacing: 0.15em; */
}

.close-search {
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: #f4f4f4;
  cursor: pointer;
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.close-search:hover {
  background: #000;
  color: #fff;
  transform: rotate(90deg);
}

.overlay-search-area {
  margin-top: 3rem;
}

.overlay-search-area h1 {
  font-size: 2rem;
  font-weight: normal;
  margin-bottom: 1.5rem;
}

.overlay-search-row {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #111;
  padding-bottom: 0.2rem;
}

.overlay-search-row input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.2rem;
}

.overlay-search-row button {
  border: none;
  background: none;
  font-size: 1.3rem;
  margin-left: 1rem;
  cursor: pointer;
  color: #000;
}

.overlay-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.popular-searches {
  border-right: 1px solid #ddd;
  padding-right: 2rem;
}

.popular-searches h3,
.overlay-results h3 {
  font-size: 0.95rem;
  font-weight: normal;
  margin-bottom: 1.4rem;
}

.overlay-results {
  width: 26rem;
}

.suggestion-text {
  font-size: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
  color: #333;
}

/* .suggestion-text::before {
  content: "↗";
  margin-right: 0.6rem;
} */

.suggestion-text:hover {
  color: #000;
  font-weight: 700;
}

.overlay-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.overlay-products:hover {
  transition: 0.3s ease;
}

.overlay-product-card {
  cursor: pointer;
}

.overlay-product-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #eee;
}

.overlay-product-card p {
  margin-top: 0.8rem;
  font-weight: 700;
}

.overlay-product-card small {
  display: block;
  margin-top: 0.3rem;
  color: #666;
}

#seeAllResults {
  width: 100%;
  margin-top: 2rem;
  padding: 1.2rem;
  background: #050505;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: normal;
  letter-spacing: 0.12em;
}

.overlay-features {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.overlay-features div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.overlay-features i {
  font-size: 1.4rem;
}

.overlay-features strong {
  font-size: 0.8rem;
}

.overlay-features span {
  color: #666;
  font-size: 0.85rem;
}

/* End of header */

  .login-page{
    min-height:calc(100vh - 6.6rem);
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  
  .brand-side{
    position:relative;
    background:
      linear-gradient(90deg, rgba(0,0,0,0.9), rgba(0,0,0,0.35)),
      url("./Images/login-page.webp");
    background-size:cover;
    background-position:initial;
    color:white;
    padding:5rem;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    height: 109%;
  }
  
  .brand-content h1{
    font-size:3.5rem;
    margin-bottom:1.2rem;
  }
  
  .line{
    width:3.5rem;
    height:2px;
    background:white;
    margin-bottom:1.5rem;
  }
  
  .brand-content p{
    font-size:0.95rem;
    font-weight:800;
    margin-bottom:0.9rem;
  }
  
  .brand-features{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2rem;
  }
  
  .brand-features div{
    border-right:1px solid rgba(255,255,255,0.25);
    padding-right:1rem;
  }
  
  .brand-features div:last-child{
    border-right:none;
  }
  
  .brand-features h3{
    font-size:0.9rem;
    margin-bottom:1rem;
  }
  
  .brand-features p{
    color:#ddd;
    line-height:1.5;
    font-size:0.9rem;
  }
  
  .form-side{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:4rem;
  }
  
  .login-box{
    width:100%;
    max-width:34rem;
  }
  
  .login-box h2{
    text-align:center;
    font-size:2.7rem;
    margin-bottom:1rem;
  }
  
  .login-box > p{
    text-align:center;
    font-size:1.1rem;
    margin-bottom:3rem;
  }
  
  form label{
    display:block;
    font-size:0.85rem;
    font-weight:800;
    margin-bottom:0.8rem;
  }
  
  .input-box{
    height:3.8rem;
    display:flex;
    align-items:center;
    border:1px solid #ddd;
    margin-bottom:1.6rem;
    padding:0 1rem;
    padding-right: 0rem;
  }
  
  .input-box span{
    margin-right:1rem;
  }
  
  .input-box input{
    flex:1;
    height:100%;
    border:none;
    outline:none;
    font-size:1rem;
  }
  
  .input-box button{
    background:none;
    border:none;
    cursor:pointer;
    font-size:1rem;
    margin-right: 1rem;
    margin-left: 1rem;
  }
  
  .forgot{
    display:block;
    text-align:right;
    color:#111;
    margin-bottom:1.8rem;
    font-size:0.9rem;
  }
  
  .lgn-btn{
    width:100%;
    height:3.8rem;
    background:#000;
    color:white;
    border:none;
    font-weight:800;
    font-size:1rem;
    cursor:pointer;
  }
  
  .divider{
    display:flex;
    align-items:center;
    gap:1rem;
    margin:2rem 0;
  }
  
  .divider span{
    flex:1;
    height:1px;
    background:#ddd;
  }
  
  .divider p{
    color:#555;
    font-size:0.9rem;
  }
  
  .social-login{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1rem;
  }
  
  .social-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    width:100%;
    height:3.5rem;
    border:1px solid #ddd;
    background:#fff;
    cursor:pointer;
    font-size:1rem;
    font-weight:600;
    border-radius:8px;
}

.social-icon{
    width:22px;
    height:22px;
}
  
  .signup-text{
    text-align:center;
    margin-top:2rem;
  }
  
  .signup-text a{
    color:#111;
    font-weight:800;
  }
  /* addups */
  .signup-fields,
.forgot-password-box {
  display: none;
}

.signup-fields.active,
.forgot-password-box.active {
  display: block;
}

.forgot-password-box {
  margin-top: 20px;
}

.forgot-password-box input,
.forgot-password-box button {
  width: 100%;
  height: 3.5rem;
  margin-bottom: 1rem;
  padding: 0 1rem;
}
  /* addups */
  .message{
    margin-top:1.2rem;
    text-align:center;
    font-weight:700;
  }
  
  /* ==============================
     FOOTER
  ============================== */

.footer {
  margin-top: 4rem;
  background: #080808;
  color: #fff;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 3rem;
  padding: 3.5rem 4rem;
  padding-bottom: 0.5rem;
}

.footer h2,
.footer h4 {
  margin-bottom: 1rem;
}

.footer p {
  color: #ccc;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}

.footer a {
  display: block;
  color: #ccc;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  transition: 0.25s ease;
}

.footer a:hover {
  color: #fff;
}

.footer-brand p {
  max-width: 520px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.4rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border: 1px solid #333;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
}

.footer-socials a:hover {
  background: #fff;
  color: #000;
}

/* ===============================
 Newsletter Popup
=============================== */

.newsletter-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 999999;
}

.newsletter-popup.active {
  opacity: 1;
  visibility: visible;
}

.newsletter-popup-box {
  position: relative;
  width: 430px;
  height: 99vh;
  max-width: 100%;
  background: #ffffff;
  border-radius: 28px;
  padding: 2.0rem 2.4rem 2.4rem;
  text-align: center;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
  transform: translateY(24px) scale(0.96);
  transition: 0.35s ease;
}

.newsletter-popup.active .newsletter-popup-box {
  transform: translateY(0) scale(1);
}

.newsletter-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 42px;
  height: 42px;
  border: none;
  background: #f3f3f3;
  color: #111;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: 0.25s ease;
}

.newsletter-close:hover {
  background: #111;
  color: #fff;
  transform: rotate(90deg);
}

.popup-check {
  width: 82px;
  height: 82px;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  background: #0b0b0b;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2.3rem;
  font-weight: 700;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

.newsletter-popup-box h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: #111;
  letter-spacing: -0.03em;
}

.newsletter-popup-box p {
  color: #555;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.newsletter-popup-box strong {
  color: #111;
  font-weight: 900;
}

.popup-login-btn {
  display: block;
  width: 100%;
  text-decoration: none;
  background: #0b0b0b;
  color: #fff;
  padding: 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: normal;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
  transition: 0.25s ease;
}

.popup-login-btn:hover {
  background: #222;
  transform: translateY(-2px);
}

.popup-close-btn {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 999px;
  background: #f0f0f0;
  color: #111;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: normal;
  transition: 0.25s ease;
}

.popup-close-btn:hover {
  background: #111;
  color: #f0f0f0;
  transform: translateY(-2px);
  transition: 0.25s ease;
}

/* Size Guide */
.size-guide-link {
  color: #111;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.size-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 99999;
}

.size-popup.active {
  opacity: 1;
  visibility: visible;
}

.size-box {
  width: 520px;
  height: 99vh;
  max-width: 95%;
  background: #fff;
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.96);
  transition: 0.3s ease;
}

.size-popup.active .size-box {
  transform: translateY(0) scale(1);
}

.size-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.size-header h2 {
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  margin: 0;
}

.close-size {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #f2f2f2;
  font-size: 1.8rem;
  cursor: pointer;
  transition: 0.25s ease;
}

.close-size:hover {
  background: #000;
  color: #fff;
  transform: rotate(90deg);
}

.size-subtitle {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow: hidden;
  border-radius: 14px;
}

.size-table th {
  background: #0b0b0b;
  color: #fff;
  padding: 0.95rem;
  font-size: 0.85rem;
  text-align: left;
  text-transform: uppercase;
}

.size-table td {
  padding: 0.95rem;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.size-table tr:nth-child(even) td {
  background: #f7f7f7;
}

.size-footer {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 14px;
}

.size-footer p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
  margin: 0;
}

.size-footer strong {
  color: #000;
}


/* End */
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid #222;
  padding-top: 1.4rem;
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: none;
}

.footer-policies {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-policies a {
  margin: 0;
}

.newsletter {
  display: flex;
  margin-top: 1rem;
}

.newsletter input {
  flex: 1;
  padding: 1rem;
  border: 1px solid #333;
  background: #111;
  color: white;
  outline: none;
}

.newsletter button {
  width: 3.5rem;
  background: white;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 1024px) {
  .navbar {
      padding: 0 1.2rem;
  }

  .nav-midsection {
      gap: 1.4rem;
  }

  .nav-midsection a {
      font-size: 0.9rem;
  }
  .search-overlay {
      width: 55%;
      right: -55%;
  }

  .overlay-products {
      grid-template-columns: repeat(2, 1fr);
  }
  .brand-side{
    padding: 3rem 2.5rem;
  }
 
  .brand-content h1{
    font-size: 2.6rem;
  }
 
  .brand-content p{
    font-size: 0.85rem;
  }
 
  .brand-features{
    gap: 1.25rem;
  }
 
  .brand-features h3{
    font-size: 0.78rem;
  }
 
  .brand-features p{
    font-size: 0.78rem;
    line-height: 1.4;
  }
 
  .form-side{
    padding: 2.5rem 2rem;
  }
 
  .login-box{
    max-width: 28rem;
  }
 
  .login-box h2{
    font-size: 2.1rem;
  }
 
  .login-box > p{
    font-size: 0.95rem;
    margin-bottom: 2.25rem;
  }
 
  .input-box{
    height: 3.4rem;
    margin-bottom: 1.25rem;
  }
 
  .lgn-btn{
    height: 3.4rem;
  }
 
  .social-btn{
    height: 3.1rem;
  }
  .footer {
      grid-template-columns: repeat(2, 1fr);
      padding: 3rem 2rem 1rem;
  }
}

@media (max-width: 960px) {
  .navbar {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      min-height: 4rem;
      padding: 0 1rem;
  }

  /* ==============================
   MOBILE MENU
============================== */
  .menu-btn {
      display: block;
       color: black;
      font-size: 1.45rem;
      justify-self: start;
  }

  .header.white-header .menu-btn {
      color: #111;
  }

  .logo {
      justify-self: center;
      font-size: 1.45rem;
  }

  .mobile-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.55);
      opacity: 0;
      visibility: hidden;
      transition: 0.35s ease;
      z-index: 1999;
  }

  .mobile-backdrop.active {
      opacity: 1;
      visibility: visible;
  }

  .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 75%;
      max-width: 360px;
      height: 100vh;
      background: #fff;
      z-index: 2000;
      display: flex;
      flex-direction: column;
      gap: 1.4rem;
      padding: 2rem;
      transform: translateX(-100%);
      transition: transform 0.45s cubic-bezier(.22, .61, .36, 1);
      box-shadow: 25px 0 70px rgba(0, 0, 0, 0.25);
      overflow-y: auto;
  }

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

  .mobile-menu a {
      color: #111;
      font-size: 1rem;
      font-weight: 800;
      letter-spacing: 0.04em;
  }

  .close-btn {
      width: 100%;
      padding-bottom: 1rem;
      margin-bottom: 1rem;
      border-bottom: 1px solid #ddd;
  }

  .hamlogo {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: normal;
      /* letter-spacing: 0.1em; */
      font-size: 1.6rem;
  }

  .mobile-close-btn {
      width: 42px;
      height: 42px;
      border: none;
      border-radius: 50%;
      background: #f2f2f2;
      cursor: pointer;
      font-size: 1.2rem;
      transition: 0.3s ease;
  }

  .mobile-close-btn:hover {
      background: #111;
      color: #fff;
      transform: rotate(90deg);
  }

  .mobile-socials {
      margin-top: auto;
      padding-top: 1.5rem;
      border-top: 1px solid #eee;
      display: flex;
      gap: 1rem;
  }

  .mobile-socials a {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 1px solid #ddd;
      display: grid;
      place-items: center;
      font-size: 1.1rem;
  }

  .mobile-socials a:hover {
      background: #111;
      color: #fff;
  }
  .mobile-menu {
      padding: 1.5rem;
  }

  .mobile-menu a {
      font-size: 1rem;
      font-weight: normal;
  }

  .nav-midsection {
      display: none;
  }

  .nav-right {
      justify-self: end;
      gap: 1rem;
  }

  .search-input {
      display: none;
  }

  .search-btn,
  .icon {
      font-size: 1.25rem;
  }

  .cart-count {
      top: 0.5rem;
      right: -0.6rem;
      font-size: 0.65rem;
  }
  .search-overlay {
      width: 75%;
      right: -100%;
      padding: 1.5rem;
  }

  .search-overlay.active {
      right: 0;
  }

  .overlay-content {
      display: block;
  }

  .overlay-results {
      width: 100%;
  }

  .overlay-products {
      grid-template-columns: repeat(2, 1fr);
  }

  .overlay-features {
      grid-template-columns: repeat(2, 1fr);
  }
  .login-page{
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 5%;
  }
 
  .brand-side{
    padding: 2.5rem 2rem;
    min-height: 16rem;
    padding-top: 4rem;
    display: none;
  }
 
  .brand-content h1{
    font-size: 2.1rem;
    margin-bottom: 0.85rem;
  }
 
  .line{
    width: 2.5rem;
    margin-bottom: 1rem;
  }
 
  .brand-content p{
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
 
  .brand-features{
    display: none;
  }
 
  .form-side{
    padding: 3rem 2rem;
  }
 
  .login-box{
    max-width: 26rem;
    margin: 0 auto;
  }
 
  .login-box h2{
    font-size: 1.85rem;
  }
 
  .login-box > p{
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
 
  form label{
    font-size: 0.78rem;
  }
 
  .input-box{
    height: 3.2rem;
    margin-bottom: 1.15rem;
  }
 
  .lgn-btn{
    height: 3.2rem;
    font-size: 0.92rem;
  }
 
  .social-login{
    gap: 0.85rem;
  }
 
  .social-btn{
    height: 3rem;
    font-size: 0.85rem;
  }
  .footer {
      margin-top: 3rem;
      padding: 2.5rem 1.2rem 1rem;
      /*6.2 ko 1.2 kiya */

      display: grid;

      grid-template-columns: 1fr 1fr;

      grid-template-areas:
          "brand brand"
          "shop help"
          "newsletter newsletter";

      gap: 2rem;
  }

  /* STRYDEX */
  .footer>div:nth-child(1) {
      grid-area: brand;
      text-align: center;
  }

  /* Newly Added*/
  .footer>div:nth-child(1) {
      grid-area: brand;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .footer-brand p {
      max-width: 720px;
      margin: 0 auto;
      text-align: center;
  }

  /* End */
  /* SHOP */
  .footer>div:nth-child(2) {
      grid-area: shop;
  }

  /* HELP */
  .footer>div:nth-child(3) {
      grid-area: help;
  }

  /* NEWSLETTER */
  .footer>div:nth-child(4) {
      grid-area: newsletter;
  }

  .footer>div:nth-child(2),
  .footer>div:nth-child(3) {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .footer>div:nth-child(2) a,
  .footer>div:nth-child(3) a {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
  }


  .footer h2 {
      font-size: 2rem;
      margin-bottom: 1rem;
  }

  .footer h4 {
      font-size: 1rem;
      margin-bottom: 0.9rem;
  }

  .footer p {
      font-size: 0.9rem;
      line-height: 1.7;
  }

  .size-box {
      height: 48%;
  }

  .newsletter {
      margin-top: 1rem;
      width: 100%;
  }

  .newsletter input {
      width: 100%;
  }

  .newsletter button {
      flex-shrink: 0;
  }

  .newsletter-popup-box {
      height: 43%;
  }

  .footer-socials {
      display: flex;
      justify-content: center;
      gap: 1rem;

  }


  .footer-policies {
      gap: 1.8rem;
  }

  .footer p {
      font-size: 0.9rem;
      margin-bottom: 0px;
  }

  .footer a {
      font-size: 0.8rem;
  }

  .newsletter {
      flex-direction: row;
  }

  .newsletter input {
      min-width: 0;
  }

  .footer-shop,
  .footer-help {
      padding: 0;
  }

  .footer-shop,
  .footer-help {
      text-align: left;
  }

  .footer-shop a {
      font-size: 0.8rem;
  }

  .footer-help a {
      font-size: 0.8rem;
  }

  .wishlist-icon {
      display: none;
  }

}

@media (max-width: 480px) {
  .navbar {
      min-height: 3.8rem;
      padding: 0 0.85rem;
  }

  .logo {
      font-size: 1.25rem;
  }

  .menu-btn {
      font-size: 1.3rem;
  }

  .nav-right {
      gap: 0.75rem;
  }

  .nav-right svg {
      width: 20px;
      height: 22px;
  }

  .search-btn,
  .icon {
      font-size: 1.1rem;
  }

  .cart-count {
      top: 0.45rem;
      right: -0.6rem;
      font-size: 0.6rem;
  }

  /* ==============================
   MOBILE MENU
============================== */
  .menu-btn {
      display: block;
       color: black;
      font-size: 1.45rem;
      justify-self: start;
  }

  .header.white-header .menu-btn {
      color: #111;
  }

  .logo {
      justify-self: center;
      font-size: 1.45rem;
  }

  .mobile-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.55);
      opacity: 0;
      visibility: hidden;
      transition: 0.35s ease;
      z-index: 1999;
  }

  .mobile-backdrop.active {
      opacity: 1;
      visibility: visible;
  }

  .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 75%;
      max-width: 360px;
      height: 100vh;
      background: #fff;
      z-index: 2000;
      display: flex;
      flex-direction: column;
      gap: 1.4rem;
      padding: 2rem;
      transform: translateX(-100%);
      transition: transform 0.45s cubic-bezier(.22, .61, .36, 1);
      box-shadow: 25px 0 70px rgba(0, 0, 0, 0.25);
      overflow-y: auto;
  }

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

  .mobile-menu a {
      color: #111;
      font-size: 1rem;
      font-weight: 800;
      letter-spacing: 0.04em;
  }

  .close-btn {
      width: 100%;
      padding-bottom: 1rem;
      margin-bottom: 1rem;
      border-bottom: 1px solid #ddd;
  }

  .hamlogo {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: normal;
      /* letter-spacing: 0.1em; */
      font-size: 1.6rem;
  }

  .mobile-close-btn {
      width: 42px;
      height: 42px;
      border: none;
      border-radius: 50%;
      background: #f2f2f2;
      cursor: pointer;
      font-size: 1.2rem;
      transition: 0.3s ease;
  }

  .mobile-close-btn:hover {
      background: #111;
      color: #fff;
      transform: rotate(90deg);
  }

  .mobile-socials {
      margin-top: auto;
      padding-top: 1.5rem;
      border-top: 1px solid #eee;
      display: flex;
      gap: 1rem;
  }

  .mobile-socials a {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 1px solid #ddd;
      display: grid;
      place-items: center;
      font-size: 1.1rem;
  }

  .mobile-socials a:hover {
      background: #111;
      color: #fff;
  }
  .mobile-menu {
      padding: 1.5rem;
  }

  .mobile-menu a {
      font-size: 1rem;
      font-weight: normal;
  }

  .search-overlay {
      padding: 1.3rem;
      width: 75%;
  }

  .overlay-brand {
      font-size: 1.6rem;
      font-weight: normal;
  }

  .overlay-search-area h1 {
      font-size: 1.6rem;
  }

  .overlay-search-row input {
      font-size: 1rem;
  }

  .overlay-products {
      grid-template-columns: 1fr;
  }

  .overlay-product-card img {
      height: 260px;
  }

  .overlay-features {
      /* grid-template-columns: 1fr; */
      display: flex;
  }

  .overlay-features span {
      font-size: 0.5rem;
  }

  .overlay-features strong {
      font-size: 0.5rem;
  }

  .wishlist-icon {
      display: none;
  }
  .login-page{
    grid-template-columns: 1fr;
    min-height: auto;
  }
 
  .brand-side{
    padding: 1.75rem 1.5rem;
    min-height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 6rem;
  }
 
  .brand-content h1{
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
  }
 
  .line{
    display: none;
  }
 
  .brand-content p{
    font-size: 0.62rem;
    margin-bottom: 0.15rem;
  }
 
  .brand-content p:last-child{
    display: none;
  }
 
  .brand-features{
    display: none;
  }
 
  .form-side{
    padding: 2rem 1.25rem 2.5rem;
  }
 
  .login-box{
    max-width: 100%;
    padding-top: 6%;
  }
 
  .login-box h2{
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
  }
 
  .login-box > p{
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }
 
  form label{
    font-size: 0.72rem;
    margin-bottom: 0.5rem;
  }
 
  .input-box{
    height: 2.9rem;
    margin-bottom: 1rem;
    padding: 0 0.85rem;
    padding-right: 0rem;
  }
 
  .input-box input{
    font-size: 0.85rem;
  }
 
  .forgot{
    font-size: 0.78rem;
    margin-bottom: 1.25rem;
  }
 
  .lgn-btn{
    height: 2.9rem;
    font-size: 0.85rem;
  }
 
  .divider{
    margin: 1.5rem 0;
  }
 
  .divider p{
    font-size: 0.8rem;
  }
 
  .social-login{
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
 
  .social-btn{
    height: 2.75rem;
    font-size: 0.75rem;
    gap: 6px;
  }
 
  .social-icon{
    width: 16px;
    height: 16px;
  }
 
  .signup-text{
    margin-top: 1.5rem;
    font-size: 0.8rem;
  }
 
  .forgot-password-box input,
  .forgot-password-box button{
    height: 2.9rem;
    padding: 0 0.85rem;
    font-size: 0.85rem;
  }
/* ==============================
 FOOTER - MOBILE
============================== */



  .footer {
      margin-top: 3rem;
      padding: 2.5rem 1.2rem 1rem;

      display: grid;

      grid-template-columns: 1fr 1fr;

      grid-template-areas:
          "brand brand"
          "shop help"
          "newsletter newsletter";

      gap: 2rem;
  }

  /* STRYDEX */
  .footer>div:nth-child(1) {
      grid-area: brand;
      text-align: center;
  }

  /* SHOP */
  .footer>div:nth-child(2) {
      grid-area: shop;
  }

  /* HELP */
  .footer>div:nth-child(3) {
      grid-area: help;
  }

  /* NEWSLETTER */
  .footer>div:nth-child(4) {
      grid-area: newsletter;
  }

  .footer h2 {
      font-size: 2rem;
      margin-bottom: 1rem;
  }

  .footer h4 {
      font-size: 1rem;
      margin-bottom: 0.9rem;
  }

  .footer p {
      font-size: 0.9rem;
      line-height: 1.7;
  }

  .newsletter {
      margin-top: 1rem;
      width: 100%;
  }

  .newsletter input {
      width: 100%;
  }

  .newsletter button {
      flex-shrink: 0;
  }

  .footer-socials {
      gap: 0.7rem;
  }


  .footer-policies {
      gap: 0.8rem;
  }

  .footer p {
      font-size: 0.8rem;
  }

  .footer a {
      font-size: 0.7rem;
  }

  .newsletter {
      flex-direction: row;
  }

  .newsletter input {
      min-width: 0;
  }

  .footer-links {
      display: flex;
      font-size: 1.5rem;
      justify-content: space-around;
  }

  .footer-shop {
      padding-right: 2.5rem;
  }

  .footer-shop a {
      font-size: 0.8rem;
  }

  .footer-help a {
      font-size: 0.8rem;
  }

  .footer-help {
      display: flex;
      flex-direction: column;
      /* gap: 0.3rem; */
      padding-left: 2.5rem;
  }

  .size-box {
      height: 71%;
  }

  .newsletter-popup-box {
      height: 57%;
  }
}
/* =========================================
   STRYDEX FORGOT PASSWORD - PREMIUM BUTTONS
========================================= */

/* Forgot Password Container */
.forgot-password-box {
  display: none;
  width: 100%;
  animation: fadeSlideUp 0.4s ease;
}

.forgot-password-box h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.forgot-password-box input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  margin: 20px 0;
  border: 1px solid #dcdcdc;
  border-radius: 1px;
  outline: none;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fafafa;
  transition: all 0.3s ease;
}

.forgot-password-box input:focus {
  border-color: #111;
  background: #ffffff;
}


/* =========================================
 SEND RESET LINK BUTTON
========================================= */

#sendResetBtn {
  width: 100%;
  height: 58px;
  border: none;
  border-radius: 1px;

  background: #111;
  color: #fff;

  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  cursor: pointer;
  position: relative;
  overflow: hidden;

  transition: 
      transform 0.25s ease,
      box-shadow 0.25s ease,
      background 0.25s ease;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}


/* Premium red hover effect */

#sendResetBtn::before {
  content: "";
  position: absolute;

  /* top: 0;
  left: -100%; */

  width: 100%;
  height: 100%;

  /* background: #ff3131; */

  transition: left 0.35s ease;
  z-index: 0;
}


#sendResetBtn:hover::before {
  left: 0;
}





#sendResetBtn:active {
  transform: translateY(0);
}


#sendResetBtn {
  z-index: 1;
}


/* Keep button text above animation */

#sendResetBtn {
  isolation: isolate;
}


/* =========================================
 BACK TO LOGIN BUTTON
========================================= */

#backToLogin {
  width: 100%;
  height: 56px;

  margin-top: 14px;

  background: transparent;

  color: #111;

  border: 1.5px solid #d6d6d6;
  border-radius: 1px;

  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;

  cursor: pointer;

  transition: all 0.3s ease;
}


#backToLogin:hover {
  border-color: #111;

  background: #f5f5f5;

  transform: translateY(-2px);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}


#backToLogin:active {
  transform: translateY(0);
}


/* =========================================
 RESET MESSAGE
========================================= */

#resetMessage {
  margin-top: 15px;
  margin-bottom: 5px;

  font-size: 0.85rem;
  font-weight: 500;

  text-align: center;
  line-height: 1.6;
}


/* =========================================
 ANIMATION
========================================= */

@keyframes fadeSlideUp {

  from {
      opacity: 0;
      transform: translateY(15px);
  }

  to {
      opacity: 1;
      transform: translateY(0);
  }

}

/* =========================================================
   PREMIUM SIGNUP MESSAGE POPUP
   ========================================================= */

   .signup-message-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    padding: 1.2rem;
  
    opacity: 0;
    visibility: hidden;
  
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }
  
  .signup-message-popup.active {
    opacity: 1;
    visibility: visible;
  }
  
  
  /* BACKDROP */
  
  .signup-message-backdrop {
    position: absolute;
    inset: 0;
  
    background: rgba(0, 0, 0, 0.68);
  
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }
  
  
  /* POPUP BOX */
  
  .signup-message-box {
    position: relative;
    z-index: 1;
  
    width: min(430px, 100%);
  
    background: #fff;
  
    border-radius: 26px;
  
    padding: 2.3rem 2rem 2rem;
  
    text-align: center;
  
    box-shadow:
      0 35px 90px rgba(0, 0, 0, 0.35);
  
    transform:
      translateY(24px)
      scale(0.96);
  
    transition:
      transform 0.35s cubic-bezier(.22, .61, .36, 1);
  }
  
  .signup-message-popup.active .signup-message-box {
    transform:
      translateY(0)
      scale(1);
  }
  
  
  /* CLOSE */
  
  .signup-message-close {
    position: absolute;
  
    top: 1rem;
    right: 1rem;
  
    width: 40px;
    height: 40px;
  
    border: none;
    border-radius: 50%;
  
    background: #f3f3f3;
  
    color: #111;
  
    display: grid;
    place-items: center;
  
    cursor: pointer;
  
    font-size: 1rem;
  
    transition: 0.25s ease;
  }
  
  .signup-message-close:hover {
    background: #111;
    color: #fff;
  
    transform: rotate(90deg);
  }
  
  
  /* ICON */
  
  .signup-message-icon {
    width: 72px;
    height: 72px;
  
    margin: 0 auto 1.2rem;
  
    border-radius: 50%;
  
    background: #111;
    color: #fff;
  
    display: grid;
    place-items: center;
  
    font-size: 1.5rem;
  
    box-shadow:
      0 14px 35px rgba(0, 0, 0, 0.2);
  
    transition: 0.25s ease;
  }
  
  
  /* SUCCESS ICON */
  
  .signup-message-popup.success
  .signup-message-icon {
    background: #111;
  }
  
  
  /* ERROR ICON */
  
  .signup-message-popup.error
  .signup-message-icon {
    background: #111;
  }
  
  
  /* CONTENT */
  
  .signup-message-content h2 {
    margin: 0 0 0.55rem;
  
    color: #111;
  
    font-size: 1.5rem;
  
    font-weight: 800;
  
    letter-spacing: -0.03em;
  }
  
  .signup-message-content p {
    margin: 0 auto;
  
    max-width: 330px;
  
    color: #707070;
  
    font-size: 0.9rem;
  
    line-height: 1.65;
  }
  
  
  /* BUTTON */
  
  .signup-message-btn {
    width: 100%;
  
    min-height: 48px;
  
    margin-top: 1.6rem;
  
    border: none;
  
    border-radius: 12px;
  
    background: #111;
  
    color: #fff;
  
    font-family: inherit;
  
    font-size: 0.85rem;
  
    font-weight: 800;
  
    cursor: pointer;
  
    transition: 0.25s ease;
  }
  
  .signup-message-btn:hover {
    background: #222;
  
    transform: translateY(-2px);
  
    box-shadow:
      0 12px 28px rgba(0, 0, 0, 0.18);
  }
  
  
  /* SUCCESS */
  
  .signup-message-popup.success
  .signup-message-icon {
    background: #111;
  }
  
  .signup-message-popup.success
  .signup-message-icon i::before {
    content: "\f058";
  }
  
  
  /* ERROR */
  
  .signup-message-popup.error
  .signup-message-icon i::before {
    content: "\f06a";
  }
  
  
  /* HIDE NORMAL SIGNUP MESSAGE */
  
  #message.signup-popup-hidden {
    display: none;
  }
  
  
  /* MOBILE */
  
  @media (max-width: 480px) {
  
    .signup-message-popup {
      padding: 1rem;
    }
  
    .signup-message-box {
      padding: 2rem 1.25rem 1.4rem;
      border-radius: 22px;
    }
  
    .signup-message-icon {
      width: 62px;
      height: 62px;
  
      font-size: 1.3rem;
    }
  
    .signup-message-content h2 {
      font-size: 1.3rem;
    }
  
    .signup-message-content p {
      font-size: 0.82rem;
    }
  }

  /* ==============================
   SEARCH OVERLAY
============================== */

.search-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: 99998;
}

.search-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay {
  position: fixed;
  top: 0;
  right: -70%;
  width: 40%;
  height: 100vh;
  background: #fff;
  z-index: 99999;
  overflow-y: auto;
  padding: 2rem 3rem;
  box-shadow: -25px 0 60px rgba(0, 0, 0, 0.18);
  transition: right 0.45s cubic-bezier(.22, .61, .36, 1);
}

.search-overlay.active {
  right: 0;
}

.overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overlay-brand {
  font-size: 1.9rem;
  font-weight: normal;

}

.close-search {
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: #f4f4f4;
  cursor: pointer;
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.close-search:hover {
  background: #000;
  color: #fff;
  transform: rotate(90deg);
}

.overlay-search-area {
  margin-top: 3rem;
}

.overlay-search-area h1 {
  font-size: 2rem;
  font-weight: normal;
  margin-bottom: 1.5rem;
}

.overlay-search-row {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #111;
  padding-bottom: 0.2rem;
}

.overlay-search-row input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.2rem;
}

.overlay-search-row button {
  border: none;
  background: none;
  font-size: 1.3rem;
  margin-left: 1rem;
  cursor: pointer;
  color: #000;
}

.overlay-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.popular-searches {
  border-right: 1px solid #ddd;
  padding-right: 2rem;
}

.popular-searches h3,
.overlay-results h3 {
  font-size: 0.95rem;
  font-weight: normal;
  margin-bottom: 1.4rem;
}

.overlay-results {
  width: 26rem;
}

.suggestion-text {
  font-size: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
  color: #333;
}

/* .suggestion-text::before {
  content: "↗";
  margin-right: 0.6rem;
} */

.suggestion-text:hover {
  color: #000;
  font-weight: 700;
}

.overlay-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.overlay-products:hover {
  transition: 0.3s ease;
}

.overlay-product-card {
  cursor: pointer;
}

.overlay-product-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #eee;
}

.overlay-product-card p {
  margin-top: 0.8rem;
  font-weight: 700;
}

.overlay-product-card small {
  display: block;
  margin-top: 0.3rem;
  color: #666;
}

#seeAllResults {
  width: 100%;
  margin-top: 2rem;
  padding: 1.2rem;
  background: #050505;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: normal;
  letter-spacing: 0.12em;
}

.overlay-features {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.overlay-features div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.overlay-features i {
  font-size: 1.4rem;
}

.overlay-features strong {
  font-size: 0.8rem;
}

.overlay-features span {
  color: #666;
  font-size: 0.85rem;
}
@media(max-width:960px){
  .search-overlay {
    width: 75%;
    right: -100%;
    padding: 1.5rem;
  }

  .search-overlay.active {
    right: 0;
  }

  .overlay-content {
    display: block;
  }

  .overlay-results {
    width: 100%;
  }

  .overlay-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .overlay-features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width:500px){
  .mobile-menu a {
    font-size: 1rem;
    font-weight: normal;
  }

  .search-overlay {
    padding: 1.3rem;
    width: 75%;
  }

  .overlay-brand {
    font-size: 1.6rem;
    font-weight: normal;
  }

  .overlay-search-area h1 {
    font-size: 1.6rem;
  }

  .overlay-search-row input {
    font-size: 1rem;
  }

  .overlay-products {
    grid-template-columns: 1fr;
  }

  .overlay-product-card img {
    height: 260px;
  }

  .overlay-features {
    display: flex;
  }

  .overlay-features span {
    font-size: 0.5rem;
  }

  .overlay-features strong {
    font-size: 0.5rem;
  }

}
/* ==========================================
   FUZZY SEARCH RESULTS
========================================== */

.overlay-results {
  width: 100%;
  min-width: 0;
}

.overlay-content {
  display: block;
  width: 100%;
}

#overlaySuggestions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.suggestion-text {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0.65rem 0;
  margin: 0;
  color: #333;
  font-size: 0.95rem;
  text-align: left;
  border: none;
  border-bottom: 1px solid #eeeeee;
  background: transparent;
  cursor: pointer;
  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
}

/* .suggestion-text::before {
  content: "↗";
  margin-right: 0.7rem;
  font-size: 0.9rem;
} */

.suggestion-text:hover {
  padding-left: 0.4rem;
  color: #000;
  font-weight: 600;
}

/* Product results */

.overlay-products {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.overlay-product-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eeeeee;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.overlay-product-card:hover,
.overlay-product-card:focus-visible {
  transform: translateY(-4px);
  border-color: #d3d3d3;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  outline: none;
}

.overlay-product-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #f1f1f1;
}

.overlay-product-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.45s ease;
}

.overlay-product-card:hover img {
  transform: scale(1.04);
}

.overlay-view-label {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  padding: 0.7rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.86);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.overlay-product-card:hover .overlay-view-label {
  opacity: 1;
  transform: translateY(0);
}

.overlay-product-details {
  padding: 0.9rem;
}

.overlay-product-details p {
  margin: 0;
  overflow: hidden;
  color: #111;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.overlay-product-details small {
  display: block;
  margin-top: 0.4rem;
  color: #555;
  font-size: 0.82rem;
}

/* Loading */

.search-loading-state {
  grid-column: 1 / -1;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #666;
  text-align: center;
}

.search-loader {
  width: 34px;
  height: 34px;
  border: 3px solid #e4e4e4;
  border-top-color: #111;
  border-radius: 50%;
  animation: searchLoaderSpin 0.75s linear infinite;
}

@keyframes searchLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

/* No-results page */

.no-search-results,
.search-message-state {
  grid-column: 1 / -1;
  width: 100%;
  padding: 2.5rem 1rem;
  text-align: center;
  background: #fafafa;
  border: 1px solid #ececec;
}

.no-results-icon,
.search-state-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  color: #111;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 50%;
  font-size: 1.25rem;
}

.no-results-label {
  margin-bottom: 0.8rem;
  color: #777;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.no-search-results h2 {
  max-width: 420px;
  margin: 0 auto;
  color: #111;
  font-size: 1.25rem;
  line-height: 1.45;
}

.no-search-results h2 span {
  display: inline;
  word-break: break-word;
}

.no-results-description,
.search-message-state>p {
  max-width: 390px;
  margin: 1rem auto 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.7;
}

.no-results-actions {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.search-state-button {
  min-height: 44px;
  padding: 0.8rem 1rem;
  color: #fff;
  background: #111;
  border: 1px solid #111;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: 0.25s ease;
}

.search-state-button:hover {
  background: #333;
}

.search-state-button.secondary {
  color: #111;
  background: transparent;
}

.search-state-button.secondary:hover {
  color: #fff;
  background: #111;
}

.no-results-popular {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
}

.no-results-popular>p {
  color: #777;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.popular-search-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.popular-search-buttons button {
  padding: 0.65rem 0.9rem;
  color: #333;
  background: #fff;
  border: 1px solid #dddddd;
  border-radius: 999px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: 0.25s ease;
}

.popular-search-buttons button:hover {
  color: #fff;
  background: #111;
  border-color: #111;
}

.search-error-state h3 {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.search-error-state .search-state-button {
  margin-top: 1.4rem;
}

/* ==========================================
   RESPONSIVE SEARCH OVERLAY
========================================== */

@media (max-width: 1200px) {
  .search-overlay {
    width: 55%;
    right: -60%;
  }
}

@media (max-width: 960px) {
  .search-overlay {
    width: 70%;
    right: -75%;
    padding: 1.7rem 2rem;
  }

  .overlay-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .search-overlay {
    width: 78%;
    right: -105%;
    padding: 1.3rem;
  }

  .overlay-search-area {
    margin-top: 2rem;
  }

  .overlay-search-area h1 {
    font-size: 1.65rem;
  }

  .overlay-search-row input {
    min-width: 0;
    font-size: 1rem;
  }

  .overlay-products {
    gap: 0.7rem;
  }

  .overlay-product-details {
    padding: 0.75rem;
  }

  .overlay-product-details p {
    font-size: 0.78rem;
  }

  .no-search-results,
  .search-message-state {
    padding: 2rem 0.8rem;
  }

  .no-results-actions {
    flex-direction: column;
  }

  .search-state-button {
    width: 100%;
  }

  .overlay-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

/* =========================================

   FIX VIEW ALL RESULTS AT BOTTOM

========================================= */

.search-overlay {

  height: 100dvh;

  overflow: hidden;

  display: flex;

  flex-direction: column;

}

.overlay-top,

.overlay-search-area,

.overlay-features {

  flex-shrink: 0;

}

.overlay-content {

  flex: 1;

  min-height: 0;

  width: 100%;

  margin-top: 2rem;

  overflow: hidden;

}

.overlay-results {

  width: 100%;

  height: 100%;

  min-height: 0;

  display: flex;

  flex-direction: column;

  overflow-y: auto;

  overflow-x: hidden;

}


.overlay-products {

  flex: none;

  overflow: visible;

  padding-bottom: 1rem;

}


#seeAllResults {

  position: sticky;

  bottom: 0;

  z-index: 100;

  flex-shrink: 0;

  width: 100%;

  margin: 1rem 0 0;

  padding: 1rem;

  background: #111;

  color: #fff;

  border: none;

  box-shadow: 0 0px 5px rgba(255, 255, 255, 0.95);

  cursor: pointer;

  font-size: 0.75rem;

  letter-spacing: 0.12em;

}

/* Scrollbar */

.overlay-results::-webkit-scrollbar {

  width: 5px;

}

.overlay-results::-webkit-scrollbar-track {

  background: #eee;

}

.overlay-results::-webkit-scrollbar-thumb {

  background: #999;

  border-radius: 20px;
}



/* ==========================================
   FOOTER SHOP + HELP — 480px
========================================== */
@media (max-width: 480px) {

  /* Keep SHOP and HELP side by side */
  .footer {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "shop help"
      "newsletter newsletter";
    column-gap: 2rem;
  }

  /* SHOP */
  .footer-shop {
    /* padding-right: 0 !important; */
    text-align: left !important;
    align-items: flex-start !important;
  }

  /* HELP */
  .footer-help {
    padding-left: 0 !important;
    text-align: left !important;
    align-items: flex-start !important;
  }

  /* Headings */
  .footer-shop h4,
  .footer-help h4 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.15rem;
    letter-spacing: -0.02em;
    padding-left: 2rem;
  }

  /* Links */
  .footer-shop a,
  .footer-help a {
    font-size: 0.85rem !important;
    line-height: 1.4;
    margin-bottom: 1rem !important;
    color: #d1d1d1;
  }

  .footer-shop a:last-child,
  .footer-help a:last-child {
    margin-bottom: 0 !important;
  }
  .footer > div:nth-child(2) a{
    margin-left: 2px;
    padding-left: 2rem;
  }
  .footer > div:nth-child(3) a{
    margin-left: 0px;
    padding-left: 2rem;
  }
  .footer > div:nth-child(3){
    margin-left: 1rem;
  }
  .footer-help{
    gap: 0rem;
  }
}

.close-search{
  color: #000;
}
/* ==========================================
   PREMIUM SIZE GUIDE — SMALL PHONES
   ========================================== */

   @media (max-width: 480px) {

    .size-popup {
      padding: 12px;
      align-items: center;
      justify-content: center;
  
      background: rgba(0, 0, 0, 0.68);
  
      /* better mobile overlay performance */
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
    }
  
    .size-box {
      width: min(100%, 360px);
      max-width: 360px;
  
      /* REMOVE fixed mobile height */
      height: auto;
      max-height: calc(100dvh - 24px);
  
      padding: 18px 16px 16px;
  
      background: #ffffff;
      border-radius: 22px;
  
      box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.28);
  
      overflow-y: auto;
      overflow-x: hidden;
  
      -webkit-overflow-scrolling: touch;
  
      scrollbar-width: thin;
  
      transform: translateY(18px) scale(0.97);
    }
  
    .size-popup.active .size-box {
      transform: translateY(0) scale(1);
    }
  
    /* HEADER */
  
    .size-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
  
      margin-bottom: 10px;
    }
  
    .size-header h2 {
      font-size: 1.25rem;
      line-height: 1.15;
      letter-spacing: 0.06em;
      font-weight: 800;
    }
  
    /* CLOSE BUTTON */
  
    .close-size {
      width: 38px;
      height: 38px;
  
      flex: 0 0 38px;
  
      border: none;
      border-radius: 50%;
  
      background: #f3f3f3;
      color: #111;
  
      font-size: 1.45rem;
      line-height: 1;
  
      display: grid;
      place-items: center;
  
      -webkit-tap-highlight-color: transparent;
    }
  
    .close-size:active {
      transform: scale(0.94);
    }
  
    /* SUBTITLE */
  
    .size-subtitle {
      margin: 0 0 14px;
  
      color: #5c5c5c;
  
      font-size: 0.78rem;
      line-height: 1.45;
    }
  
    /* TABLE */
  
    .size-table {
      width: 100%;
      margin: 0 0 14px;
  
      border-collapse: separate;
      border-spacing: 0;
  
      border: 1px solid #eeeeee;
      border-radius: 12px;
  
      overflow: hidden;
    }
  
    .size-table th {
      padding: 10px 9px;
  
      background: #0b0b0b;
      color: #ffffff;
  
      font-size: 0.68rem;
      font-weight: 700;
  
      letter-spacing: 0.05em;
      text-transform: uppercase;
  
      white-space: nowrap;
    }
  
    .size-table td {
      padding: 9px 9px;
  
      font-size: 0.74rem;
      line-height: 1.2;
  
      color: #161616;
  
      border-bottom: 1px solid #eeeeee;
  
      white-space: nowrap;
    }
  
    .size-table tr:last-child td {
      border-bottom: none;
    }
  
    .size-table tr:nth-child(even) td {
      background: #f7f7f7;
    }
  
    /* FOOTER / SUPPORT */
  
    .size-footer {
      padding: 11px 12px;
  
      background: #f5f5f5;
  
      border: 1px solid #ededed;
      border-radius: 12px;
    }
  
    .size-footer p {
      margin: 0;
  
      color: #4b4b4b;
  
      font-size: 0.72rem;
      line-height: 1.55;
    }
  
    .size-footer strong {
      color: #111;
      font-weight: 800;
    }
  
    .size-footer a {
      color: #111;
      text-decoration: none;
    }
  
  }
  .mobile-close-btn{
    color: #000;
  }
  .clearSearch{
    color: #000;
  }
  .newsletter button{
    color: #000;
  }
  .fa-eye{
    color: #000;
  }