* {
  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;
} */

.suggestion-text {
  font-size: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
  color: #333;
  display: flex;
  align-items: center;
}

.suggestion-text::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin-right: 0.7rem;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 18L18 6M9 6H18V15' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.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 */

  .hero{
    min-height:53rem;
    background:
      linear-gradient(90deg, rgba(0,0,0,0.95), rgba(0,0,0,0.25)),
      url("https://images.unsplash.com/photo-1579758629938-03607ccdbaba?q=80&w=1600");
    background-size:cover;
    background-position:center;
    color:white;
    display:flex;
    align-items:center;
    padding:0 5rem;
  }
  
  .hero h1{
    font-size:3.8rem;
    line-height:1.1;
    margin-bottom:1.2rem;
  }
  
  .line{
    width:3rem;
    height:2px;
    background:white;
    margin-bottom:1.2rem;
  }
  
  .hero p{
    font-size:1.2rem;
    line-height:1.5;
    margin-bottom:2rem;
  }
  
  .hero span{
    font-size:0.9rem;
    color:#ddd;
  }
  
  .terms-container{
    max-width:62rem;
    margin:2rem auto;
    padding:0 1.5rem;
  }
  
  .term-item{
    display:grid;
    grid-template-columns:4rem 1fr;
    gap:1.6rem;
    padding:1.6rem 0;
    border-bottom:1px solid #e5e5e5;
    padding-top: 3.5rem;
  }
  
  .term-icon{
    width:3.1rem;
    height:3.1rem;
    background:#000;
    color:#fff;
    border-radius:0.3rem;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.3rem;
  }
  
  .term-item h2{
    font-size:1.15rem;
    margin-bottom:0.7rem;
  }
  
  .term-item p{
    color:#222;
    line-height:1.7;
    font-size:0.95rem;
  }
  
  .benefits{
    margin:2rem 3.5rem;
    padding:1.7rem;
    border:1px solid #eee;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:2rem;
    text-align:center;
    font-size:0.9rem;
  }
  
  .footer{
    background:#080808;
    color:white;
    display:grid;
    grid-template-columns:2fr 1fr 1fr 2fr;
    gap:3rem;
    padding:3.5rem 4rem;
  }
  
  .footer h2,
  .footer h4{
    margin-bottom:1rem;
  }
  
  .footer p{
    color:#ccc;
    margin-bottom:0.7rem;
    font-size:0.9rem;
  }
  
  .newsletter{
    display:flex;
    margin-top:1rem;
  }
  
  .newsletter input{
    flex:1;
    padding:1rem;
    background:#111;
    color:white;
    border:1px solid #555;
  }
  
  .newsletter button{
    width:3.5rem;
    background:white;
    border:none;
    font-size:1.3rem;
  }
  
    /* ==============================
     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);
      }
      .hero {
        min-height: 44rem;
        padding: 0 3rem;
        background-position: center;
      }
    
      .hero h1 {
        font-size: 3.2rem;
      }
    
      .hero-text {
        font-size: 1rem;
      }
    
      .hero-icons {
        gap: 1.2rem;
      }
    
      .policy {
        padding: 3.5rem 2.5rem;
      }
    
      .policy-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
      }
    
      .policy-card {
        border-right: none;
        border: 1px solid #e5e5e5;
        background: #fff;
      }
    
      .steps {
        margin: 1rem 2.5rem 2rem;
        padding: 2.5rem;
      }
    
      .steps-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    
      .help-box {
        margin: 0 2.5rem 3rem;
        grid-template-columns: repeat(3, 1fr);
      }
    
      .faq {
        padding: 1rem 2.5rem 3rem;
      }
    
      .benefits {
        margin: 2rem 2.5rem;
        grid-template-columns: repeat(2, 1fr);
      }
    }
      .footer {
          grid-template-columns: repeat(2);
          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);
      }
      .hero {
        min-height: 40rem;
        padding: 0 2rem;
        text-align: center;
        justify-content: center;
        background:
          linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.35)),
          url("https://images.unsplash.com/photo-1607082349566-187342175e2f?q=80&w=1600");
        background-size: cover;
        background-position: center;
      }
    
      .hero-content {
        max-width: 42rem;
        margin: 0 auto;
      }
    
      .hero h1 {
        font-size: 2.8rem;
      }
    
      .hero-text {
        max-width: 36rem;
        margin: 0 auto 2rem;
      }
    
      .hero-icons {
        justify-content: center;
        gap: 1rem 1.5rem;
      }
    
      .policy {
        padding: 3rem 1.5rem;
      }
    
      .policy-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    
      .policy-card {
        padding: 1.8rem 1rem;
        border-radius: 14px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.04);
      }
    
      .steps {
        margin: 1rem 1.5rem 2rem;
        padding: 2.5rem 1.5rem;
        border-radius: 18px;
      }
    
      .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
      }
    
      .help-box {
        margin: 0 1.5rem 3rem;
        grid-template-columns: 1fr;
        text-align: center;
        border-radius: 16px;
      }
    
      .faq {
        padding: 1rem 1.5rem 3rem;
      }
    
      .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
      }
    
      .benefits {
        margin: 2rem 1.5rem;
        grid-template-columns: repeat(2, 1fr);
        border-radius: 16px;
      }

      .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;
      }

      .hero {
        min-height: 36rem;
        padding: 0 1.2rem;
      }
    
      .hero-content > p {
        font-size: 0.72rem;
        letter-spacing: 1.6px;
      }
    
      .hero h1 {
        font-size: 2.05rem;
        line-height: 1.12;
      }
    
      .hero-text {
        font-size: 0.92rem;
        line-height: 1.7;
      }
    
      .hero-icons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        font-size: 0.82rem;
      }
    
      .policy {
        padding: 2.5rem 1rem;
      }
    
      .policy h2,
      .steps h2,
      .faq h2 {
        font-size: 1.35rem;
      }
    
      .policy > p {
        font-size: 0.9rem;
        margin-bottom: 2rem;
      }
    
      .policy-grid {
        grid-template-columns: 1fr;
      }
    
      .policy-card {
        padding: 1.6rem 1rem;
      }
    
      .policy-card div {
        font-size: 2rem;
      }
    
      .steps {
        margin: 1rem;
        padding: 2rem 1rem;
      }
    
      .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
    
      .return-btn {
        width: 100%;
        padding: 1rem;
      }
    
      .help-box {
        margin: 0 1rem 2.5rem;
        padding: 1.5rem 1rem;
      }
    
      .faq {
        padding: 1rem 1rem 2.5rem;
      }
    
      .faq-item button {
        font-size: 0.85rem;
        padding: 1rem;
      }
    
      .benefits {
        margin: 1.5rem 1rem;
        padding: 1.5rem 1rem;
        grid-template-columns: 1fr;
        gap: 1.2rem;
      }
  /* ==============================
     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%;
      }
  }

  @media (max-width: 500px){
    .term-item p{
      font-size: 0.7rem;
    }
    .term-item h2{
      font-size: 1rem;
    }
    .term-icon{
      height: 2.1rem;
      width: 2.1rem;
    }
  }
/* ==============================
   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;
  }
  