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

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

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

button {
  font-family: inherit;
}

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

  background: white;
  color: black;
  border-bottom: 1px solid transparent;

}

.header {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.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;
  color: black;
}

.nav-midsection a {
  position: relative;
  text-decoration: none;
  color: #111;
}

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

.nav-midsection a:hover::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;
}

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

/* ==============================
   SHOP MAIN SECTION
============================== */

.shop-layout {
  width: 100%;
  padding: 5rem 5% 4rem;
  background: #f6f6f6;
}

.shop-content {
  max-width: 1440px;
  margin: 0 auto;
}

/* Category Tabs */

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.category-btn {
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  padding: 0.85rem 1.4rem;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.category-btn:hover,
.category-btn.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Sort */

.sort-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.sort-row select {
  border: 1px solid #ddd;
  background: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

/* Product Grid */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem;
}

/* Product Card */

.product-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: 0.35s ease;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
}

.product-img {
  position: relative;
  background: #eee;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: 0.45s ease;
}

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

/* Wishlist Icon */

.wishlist-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.25s ease;
  z-index: 2;
}

.wishlist-btn:hover {
  transform: scale(1.1);
  background: #111;
  color: #fff;
}

/* Product Body */

.product-info {
  padding: 1.2rem;
}

.product-info h3 {
  font-size: 0.95rem;
  font-weight: normal;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.product-info p {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}

/* Add To Cart Button */

.add-cart-btn .notify-btn {
  padding: 0.95rem;
  /* width: 100%;
  border: none;
  background: #111;
  color: #fff;
  
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: 0.25s ease; */
}

.add-cart-btn .notify-btn:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.add-cart-btn .notify-btn:active {
  transform: scale(0.97);
}

/* Loading / Empty */

.product-grid p {
  grid-column: 1 / -1;
  text-align: start;
  color: #666;
  padding: 0;
}

.product-link {
  display: block;
  color: inherit;
  text-decoration: none;
}


.add-cart-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}







.product-card {
  text-decoration: none;
  color: #000;
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition: 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.product-info {
  padding: 1rem;
}

.product-info h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.price {
  font-weight: 700;
}

.add-cart-btn {
  /* width: calc(100% - 2rem); */
  /* margin: 0 1rem 1rem; */
  /* padding: 0.9rem; */
  width: 100%;
  padding: 0.92rem;
  border: none;
  background: #000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s ease;
  border-radius: 0px;
}

.add-cart-btn:hover {
  background: #222;
}

.notify-btn {
  /* width: calc(100% - 2rem); */
  /* margin: 0 1rem 1rem; */
  /* padding: 0.9rem; */
  width: 100%;
  padding: 0.92rem;
  border: none;
  background: #000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s ease;
  border-radius: 0px;
}

.notify-btn:hover {
  background: #222;
}

/* Modal */
.size-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.size-modal-overlay.show {
  display: flex;
}

.size-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #fff;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  animation: popupShow 0.25s ease;
  border-radius: 6px;
}

@keyframes popupShow {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
  color: #000;
}

.modal-product {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-product img {
  width: 90px;
  height: 110px;
  object-fit: cover;
  background: #f5f5f5;
}

.modal-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #777;
  margin-bottom: 0.4rem;
}

.modal-product h2 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.modal-price {
  font-weight: 800;
}

.size-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.size-choice {
  padding: 0.9rem 0;
  background: #fff;
  border: 1px solid #ccc;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
  color: #000;
}

.size-choice:hover {
  border-color: #000;
}

.size-choice.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.size-choice:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.size-error {
  display: none;
  color: #c62828;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.size-error.show {
  display: block;
}

.confirm-cart-btn {
  width: 100%;
  padding: 1rem;
  border: none;
  background: #000;
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 3px;
}

.confirm-cart-btn:hover {
  background: #222;
}

body.modal-open {
  overflow: hidden;
}

/* Responsive */

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-img img {
    height: 360px;
  }
}

@media (max-width: 960px) {
  .shop-layout {
    padding: 6rem 1.2rem 3rem;
  }

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

  .product-img img {
    height: 300px;
  }

  .sort-row {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .category-btn {
    flex: 0 0 auto;
    padding: 0.75rem 1.1rem;
    font-size: 0.78rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .product-card {
    border-radius: 4px;
  }

  .product-img img {
    height: 230px;
  }

  .product-info {
    padding: 0.8rem;
  }

  .product-info h3 {
    font-size: 0.78rem;
  }

  .product-info p {
    font-size: 0.82rem;
  }

  .add-cart-btn {
    padding: 0.75rem;
    font-size: 0.7rem;
  }
}

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

/* Toast */

.toast {

  position: fixed;

  top: 30px;

  right: 30px;

  padding: 16px 24px;

  background: #111;

  color: #fff;

  border-radius: 12px;

  display: flex;

  align-items: center;

  gap: 10px;

  transform: translateX(150%);

  transition: .35s;

  z-index: 999999;

  box-shadow: 0 15px 40px rgba(0, 0, 0, .18);

}

.toast.show {

  transform: translateX(0);

}

.toast.error {

  background: #d32f2f;

}

.loading {

  cursor: progress;

}

.clicked {

  transform: scale(.95);

  transition: .18s;

}

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

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

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

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

/* =========================================================
   PREMIUM PRODUCT CARD
   STRYDEX IMAGE SLIDER
========================================================= */

.product-card {
  position: relative;

  display: flex;
  flex-direction: column;

  height: 100%;

  background: #fff;

  border: 1px solid rgba(0, 0, 0, 0.07);

  border-radius: 4px;

  overflow: hidden;

  transition:
    transform 0.4s cubic-bezier(.22, .61, .36, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;

  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.045);
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   IMAGE AREA
========================================================= */

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


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-main-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  transition:
    transform 0.55s cubic-bezier(.22, .61, .36, 1),
    opacity 0.25s ease;
}


/* Slight premium zoom */

.product-card:hover .product-main-image {
  transform: scale(1.035);
}




/* Hover previous */

.product-image-prev:hover {
  background: #111;
  color: #fff;

  transform:
    translateY(-50%) translateX(-2px) scale(1.06);
}


/* Hover next */

.product-image-next:hover {
  background: #111;
  color: #fff;

  transform:
    translateY(-50%) translateX(2px) scale(1.06);
}


/* =========================================================
   IMAGE COUNTER
========================================================= */

.product-image-counter {
  position: absolute;

  top: 14px;
  left: 14px;

  padding: 6px 10px;

  border-radius: 999px;

  background: rgba(0, 0, 0, 0.68);

  backdrop-filter: blur(10px);

  color: #fff;

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 0.02em;

  line-height: 1;

  z-index: 4;

  opacity: 0;

  transform: translateY(-5px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}


.product-card:hover .product-image-counter {
  opacity: 1;

  transform:
    translateY(0);
}


/* =========================================================
   IMAGE DOTS
========================================================= */

.product-image-dots {
  position: absolute;

  bottom: 14px;

  left: 50%;

  transform: translateX(-50%);

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 6px;

  padding: 7px 10px;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.72);

  backdrop-filter: blur(10px);

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

  z-index: 5;
}


.product-image-dot {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: rgba(0, 0, 0, 0.35);

  cursor: pointer;

  transition:
    width 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}


.product-image-dot.active {
  width: 17px;

  border-radius: 999px;

  background: #111;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.product-info-link {
  display: flex;
  flex-direction: column;

  flex: 1;

  padding:
    17px 17px 7px;

  text-decoration: none;

  color: #111;
}


.product-info-link h3 {
  margin: 0 0 7px;

  font-size: 0.9rem;

  font-weight: 400;

  line-height: 1.4;

  letter-spacing: 0.01em;

  text-transform: uppercase;

  transition: color 0.2s ease;
}


.product-info-link:hover h3 {
  color: #555;
}


.product-info-link .price {
  margin-top: auto;
  margin-bottom: 0;

  font-size: 0.95rem;

  font-weight: 400;

  color: #111;
}


/* =========================================================
   ADD TO CART
========================================================= */

.product-card .add-cart-btn,
.product-card .notify-btn {

  border-radius: 0 0 3px 3px;

  background: #111;

  color: #fff;

  /* font-size: 0.72rem; */

  font-weight: 400;

  letter-spacing: 0.14em;

  cursor: pointer;

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


.product-card .add-cart-btn:hover,
.product-card .notify-btn :hover {
  background: #111;

  color: #fff;

  transform: translateY(-2px);

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


.product-card .add-cart-btn:active,
.product-card .notify-btn :active {
  transform: scale(0.98);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

  .product-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
  }


  .product-card {
    border-radius: 2px;
  }




  .product-image-counter {
    display: none;
  }


  .product-image-dots {
    bottom: 9px;

    padding: 5px 8px;

    gap: 5px;
  }


  .product-image-dot {
    width: 4px;
    height: 4px;
  }


  .product-image-dot.active {
    width: 13px;
  }


  .product-info-link {
    padding:
      12px 11px 4px;
  }


  .product-info-link h3 {
    font-size: 0.72rem;
  }


  .product-info-link .price {
    font-size: 0.8rem;
  }


  .product-card .add-cart-btn {

    width: 100%;
    font-weight: normal;
    min-height: 40px;

    font-size: 0.65rem;

    letter-spacing: 0.1em;
  }

  .product-card .notify-btn {

    width: 100%;
    font-weight: normal;
    min-height: 40px;

    font-size: 0.65rem;

    letter-spacing: 0.1em;
  }

  .notify-btn {
    padding: 0.75rem;
  }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .product-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 9px;
  }


  .product-img {
    aspect-ratio: 3 / 4;
  }


  .product-image-arrow {
    width: 30px;
    height: 30px;
  }


  .product-image-prev {
    left: 6px;
  }


  .product-image-next {
    right: 6px;
  }

}

/* =========================================================
   ONLY CHEVRON ARROW — NO BACKGROUND
========================================================= */

.product-image-arrow {
  position: absolute;

  top: 50%;
  transform: translateY(-50%);

  width: 46px;
  height: 46px;

  padding: 0;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none !important;
  outline: none !important;

  background: transparent !important;
  box-shadow: none !important;

  color: #000;

  cursor: pointer;

  z-index: 10;

  opacity: 0;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}


/* LEFT */

.product-image-prev {
  left: 5px;
}


/* RIGHT */

.product-image-next {
  right: 5px;
}


/* CHEVRON */

.product-image-arrow svg {
  width: 55px;
  height: 55px;

  fill: none;

  stroke: rgb(213, 199, 199);

  stroke-width: 1.5;

  stroke-linecap: round;
  stroke-linejoin: round;

  background: transparent !important;
}


/* SHOW ON CARD HOVER */

.product-image-card:hover .home-product-arrow {
  opacity: 1;
}


/* LEFT HOVER */

.product-image-prev:hover {
  transform:
    translateY(-50%) translateX(-4px);
}


/* RIGHT HOVER */

.product-image-next:hover {
  transform:
    translateY(-50%) translateX(4px);
}


/* ABSOLUTELY NO HOVER BACKGROUND */

.product-image-arrow:hover,
.product-image-arrow:focus,
.product-image-arrow:active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


/* MOBILE */

@media (max-width: 480px) {

  .product-image-arrow {
    width: 35px;
    height: 60px;
    opacity: 1;
  }

  .product-image-arrow svg {
    width: 27px;
    height: 47px;
    stroke-width: 4;
  }

  .product-image-prev {
    display: none;
  }

  .product-image-next {
    display: none;
  }
}

.product-image-arrow svg {
  width: 55px;
  /* arrow width */
  height: 55px;
  /* arrow height */

  fill: none;

  stroke: #fff;
  /* arrow color */

  stroke-width: 1.5;
  filter:
    drop-shadow(0 1px 2px #000) drop-shadow(0 0 3px rgba(0, 0, 0, 0.4));
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   SHOP CARD — PREMIUM ARROWS
========================================================= */

.product-image-arrow {
  position: absolute;

  top: 50%;
  transform: translateY(-50%);

  width: 50px;
  height: 50px;

  padding: 0;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none !important;
  outline: none !important;
  border-radius: 0 !important;

  background: transparent !important;
  box-shadow: none !important;

  color: #000;

  cursor: pointer;

  z-index: 10;

  opacity: 0;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}


/* LEFT */

.product-image-prev {
  left: 0px;
}


/* RIGHT */

.product-image-next {
  right: 0px;
}


/* =========================================================
 ACTUAL CHEVRON
========================================================= */

.product-image-arrow svg {
  width: 50px;
  height: 50px;

  fill: none;

  stroke: #e5dbdb;

  stroke-width: 1.5;

  stroke-linecap: round;
  stroke-linejoin: round;

  background: transparent !important;

  transition:
    transform 0.25s ease,
    stroke-width 0.25s ease;
  filter:
    drop-shadow(0 1px 2px #000) drop-shadow(0 0 3px rgba(0, 0, 0, 0.4));

}


/* =========================================================
 SHOW ON HOVER
========================================================= */

.product-card:hover .product-image-arrow {
  opacity: 1;
}


/* =========================================================
 HOVER MOVEMENT
========================================================= */

.product-image-prev:hover {
  transform:
    translateY(-50%) translateX(-4px);
}

.product-image-next:hover {
  transform:
    translateY(-50%) translateX(4px);
}


/* =========================================================
 NO BACKGROUND ON HOVER
========================================================= */

.product-image-arrow:hover,
.product-image-arrow:focus,
.product-image-arrow:active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


/* =========================================================
   SHOP PRODUCT IMAGE SWIPE
   MOBILE ONLY
========================================================= */

@media (max-width: 480px) {

  .product-img {
    position: relative;
    overflow: hidden;

    /*
     * Allow vertical page scrolling,
     * but don't let the browser take
     * over horizontal image gestures.
     */
    touch-action: pan-y;
  }


  .product-image-link {
    display: block;
    width: 100%;
    height: 100%;

    touch-action: pan-y;

    user-select: none;
    -webkit-user-select: none;

    -webkit-touch-callout: none;
    -webkit-user-drag: none;
  }


  .product-main-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    user-select: none;
    -webkit-user-select: none;

    -webkit-touch-callout: none;
    -webkit-user-drag: none;

    /*
     * Smooth image transition
     */
     transition:
     transform 0.22s cubic-bezier(.22, .61, .36, 1) !important;
  }


  /*
   * Tiny visual feedback while touching
   */
  .product-img:active .product-main-image {
    transform:none
  }


  /*
   * Keep arrows hidden on small phones.
   * Swipe is the primary interaction.
   */
  .product-image-arrow {
    display: none !important;
  }

}

/* =========================================================
   PREMIUM PRODUCT IMAGE FADE
========================================================= */

.product-main-image {
  transition:
    transform 0.28s cubic-bezier(.22,.61,.36,1) !important;
}


/* MOBILE */
@media (max-width: 480px) {

  .product-main-image {
    transition:
      opacity 0.28s cubic-bezier(.22, .61, .36, 1),
      transform 0.35s cubic-bezier(.22, .61, .36, 1);
  }

}

/* =========================================================
   SWIPE HINT — MOBILE ONLY (480px and below)
   ========================================================= */

.product-swipe-hint {
  display: none;
}

@media (max-width: 480px) {

  .product-swipe-hint {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 7px 11px;

    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    color: #fff;

    border-radius: 2px;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.4px;

    white-space: nowrap;

    pointer-events: none;
    z-index: 15;

    opacity: 0;

    animation:
      swipeHintAppear 0.45s ease forwards,
      swipeHintDisappear 0.5s ease 1.7s forwards;
  }

  .swipe-text {
    line-height: 1;
  }

  .swipe-arrow {
    font-size: 13px;
    line-height: 1;
    display: inline-block;

    animation: swipeArrowMove 1s ease-in-out infinite;
  }

}


/* Hint appears */
@keyframes swipeHintAppear {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(6px);
  }

  to {
    opacity: 0.92;
    transform: translateX(-50%) translateY(0);
  }
}


/* Hint disappears */
@keyframes swipeHintDisappear {
  from {
    opacity: 0.92;
  }

  to {
    opacity: 0;
  }
}


/* Arrow movement */
@keyframes swipeArrowMove {

  0%,
  100% {
    transform: translateX(0);
    opacity: 0.65;
  }

  50% {
    transform: translateX(3px);
    opacity: 1;
  }
}


/* ---------------------------------------------------------
   FUZZY SEARCH RESULTS
--------------------------------------------------------- */

.search-overlay {
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}



.overlay-top,
.overlay-search-area {
  flex-shrink: 0;
}



.overlay-content {
  flex: 1;
  min-height: 0;
  width: 100%;
  margin-top: 2rem;
  overflow: hidden;
  display: block;
}


/* Results */

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

  display: flex;
  flex-direction: column;

  overflow-y: auto;
  overflow-x: hidden;
}


/* ---------------------------------------------------------
   SUGGESTIONS
--------------------------------------------------------- */

#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: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;

  flex: none;
  overflow: visible;

  padding-bottom: 1rem;
}


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


/* ---------------------------------------------------------
   PRODUCT IMAGE
--------------------------------------------------------- */

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

  display: block;

  transition:
    transform 0.45s ease;
}


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


/* ---------------------------------------------------------
   VIEW PRODUCT LABEL
--------------------------------------------------------- */

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


/* ---------------------------------------------------------
   PRODUCT DETAILS
--------------------------------------------------------- */

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

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


/* ---------------------------------------------------------
   POPULAR SEARCHES
--------------------------------------------------------- */

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


/* ---------------------------------------------------------
   VIEW ALL RESULTS
   STICKY AT BOTTOM
--------------------------------------------------------- */

#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 0 5px rgba(255, 255, 255, 0.95);

  cursor: pointer;

  font-size: 0.75rem;

  letter-spacing: 0.12em;
}


/* ---------------------------------------------------------
   RESULTS SCROLLBAR
--------------------------------------------------------- */

.overlay-results::-webkit-scrollbar {
  width: 5px;
}


.overlay-results::-webkit-scrollbar-track {
  background: #eee;
}


.overlay-results::-webkit-scrollbar-thumb {
  background: #999;

  border-radius: 20px;
}


@media (max-width: 960px) {

  .search-overlay {
    width: 70%;
    right: -75%;

    padding: 1.7rem 2rem;
  }

  .product-img img {
    height: 100%;
    object-fit: fill;
  }

  .product-image-prev {
    display: none;
  }

  .product-image-next {
    display: none;
  }

  .product-image-counter {
    display: none;
  }
}

@media (max-width: 480px) {
  .no-results-actions {
    display: grid;

    justify-content: center;

    gap: 0.7rem;

    margin-top: 1.5rem;
  }

  .search-state-button {
    display: flex;
    align-items: center;
    height: 28px;

    padding: 1rem 2rem;

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

  .no-search-results h2 {
    max-width: 420px;

    margin: 0 auto;

    color: #111;

    font-size: 0.8rem;

    line-height: 1.45;
  }

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

  .overlay-search-row {
    display: flex;
    align-items: center;
  }

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

  .overlay-search-row {
    display: flex;
    align-items: end;
    border-bottom: 2px solid #111;
  }
  .product-card:hover .product-main-image{
    transform: none;
  }
  /* .product-image-link:hover{
    display: none;
  } */
  .product-main-image{
    transition: none;
  }
  .product-img img{
    transition: none;
  }
}



/* ==========================================
   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;
    }
    .product-card:hover {
      transform: none;
      box-shadow:none;
    }
  }

@media (max-width: 480px){
  .product-card:hover {
    transform: none;
    box-shadow:none;
  }
}
.mobile-close-btn{
  color: #000;
}
.clearSearch{
  color: #000;
}
.newsletter button{
  color: #000;
}
/* =========================================================
   STRYDEX — PREMIUM PRODUCT SLIDER DOTS
========================================================= */

.product-image-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;

  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 5px;

  padding: 7px 11px;

  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.6);

  border-radius: 999px;

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

  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);

  z-index: 20;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}


/* Individual dots */

.product-image-dot {
  appearance: none;
  -webkit-appearance: none;

  width: 5px;
  height: 5px;

  padding: 0;
  margin: 0;

  border: 0;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.28);

  cursor: pointer;

  flex: 0 0 auto;

  transition:
    width 0.28s cubic-bezier(.22, .61, .36, 1),
    background 0.28s ease,
    opacity 0.28s ease,
    transform 0.28s ease;
}


/* Hover */

.product-image-dot:hover {
  background: rgba(0, 0, 0, 0.65);
  transform: scale(1.15);
}


/* Active dot */

.product-image-dot.active {
  width: 18px;
  height: 5px;

  border-radius: 999px;

  background: #111;

  transform: none;
}


/* Active hover */

.product-image-dot.active:hover {
  background: #111;
  transform: none;
}


/* =========================================================
   DESKTOP REFINEMENT
========================================================= */

@media (min-width: 769px) {

  .product-image-dots {
    bottom: 16px;

    padding: 7px 12px;

    gap: 6px;

    opacity: 0;

    transform: translateX(-50%) translateY(5px);
  }

  .product-card:hover .product-image-dots {
    opacity: 1;

    transform: translateX(-50%) translateY(0);
  }

}


/* =========================================================
   MOBILE
   Always visible because there is no hover
========================================================= */

@media (max-width: 768px) {

  .product-image-dots {
    bottom: 10px;

    padding: 6px 9px;

    gap: 5px;

    opacity: 1;
  }

  .product-image-dot {
    width: 4px;
    height: 4px;
  }

  .product-image-dot.active {
    width: 14px;
    height: 4px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .product-image-dots {
    bottom: 9px;

    padding: 5px 8px;

    gap: 4px;
  }

  .product-image-dot {
    width: 4px;
    height: 4px;
  }

  .product-image-dot.active {
    width: 13px;
    height: 4px;
  }

}




/* =========================================================
   STRYDEX — MINIMAL PREMIUM SLIDER DOTS
========================================================= */

.product-image-dots {
  position: absolute;

  left: 50%;
  bottom: 14px;

  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 6px;

  padding: 0;
  margin: 0;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  z-index: 20;
}


/* Individual dots */

.product-image-dot {
  appearance: none;
  -webkit-appearance: none;

  width: 5px;
  height: 5px;

  padding: 0;
  margin: 0;

  border: none !important;
  outline: none;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.55);

  cursor: pointer;

  transition:
    width 0.3s cubic-bezier(.22, .61, .36, 1),
    background 0.3s ease,
    transform 0.25s ease;
}


/* Hover */

.product-image-dot:hover {
  background: rgba(255, 255, 255, 0.9);

  transform: scale(1.2);
}


/* Active */

.product-image-dot.active {
  width: 18px;
  height: 5px;

  border-radius: 999px;

  background: #fff;

  transform: none;
}


/* Active hover */

.product-image-dot.active:hover {
  background: #fff;

  transform: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  .product-image-dots {
    bottom: 10px;
    gap: 5px;
  }

  .product-image-dot {
    width: 4px;
    height: 4px;

    background: rgba(255, 255, 255, 0.55);
  }

  .product-image-dot.active {
    width: 14px;
    height: 4px;

    background: #fff;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .product-image-dots {
    bottom: 9px;
    gap: 4px;
  }

  .product-image-dot {
    width: 4px;
    height: 4px;
  }

  .product-image-dot.active {
    width: 13px;
    height: 4px;
  }

}
/* =========================================================
   STRYDEX — TRUE SLIDE CAROUSEL
   Current image OUT + Next image IN simultaneously
========================================================= */

.product-image-link {
  position: relative;

  display: block;

  width: 100%;
  height: 100%;

  overflow: hidden;

  user-select: none;
  -webkit-user-select: none;

  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}


.product-main-image {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transform: translateX(0);

  will-change: transform;

  transition:
    transform 0.28s cubic-bezier(.22,.61,.36,1);
}


/* Current visible image */

.product-image-current {
  z-index: 2;
}


/* Incoming image */

.product-image-next-layer {
  z-index: 1;

  transform:
    translateX(100%);
}