/* ==============================
   STRYDEX CART PAGE
============================== */

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

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

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

/* ==============================
   MAIN CART LAYOUT
============================== */

.cart-page {
  padding: 5rem 2% 0rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2.5rem;
}

.cart-left {
  background: #fff;
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.06);
  height: auto;
}

.cart-left h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -1px;
}

#cartItemsCount {
  color: #777;
  margin: 0.4rem 0 2rem;
  font-size: 0.95rem;
}

.cart-table-head {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.8fr 0.7fr;
  padding: 1rem 1.2rem;
  background: #f4f4f4;
  border-radius: 14px;
  color: #666;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ==============================
   CART ITEM
============================== */

.cart-item {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.8fr 0.7fr;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 0;
}

.product-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.product-info img {
  width: 125px;
  height: 155px;
  object-fit: cover;
  border-radius: 3px;
  background: #eee;
}

.product-info h3 {
  font-size: 0.8rem;
  font-weight: normal;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.product-info p {
  font-size: 0.65rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.price,
.line-total {
  font-size: 1rem;
  font-weight: normal
}

.qty-control {
  width: 116px;
  height: 42px;
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.qty-control button,
.qty-control span {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.qty-control button {
  cursor: pointer;
  transition: 0.2s ease;
}

.qty-control button:hover {
  background: #111;
  color: #fff;
}

.remove-btn {
  margin-top: 0.7rem;
  border: none;
  background: transparent;
  color: #777;
  cursor: pointer;
  font-size: 0.75rem;
  text-decoration: underline;
  padding-left: 43rem;
}

.remove-btn:hover {
  color: #000;
}

/* ==============================
   CART ACTIONS
============================== */

.cart-actions {
  margin: 2rem 0 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.continue-btn,
.update-btn {
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.continue-btn {
  border: 1px solid #111;
  background: #fff;
}

.update-btn {
  border: 1px solid #111;
  background: #111;
  color: #fff;
}

.continue-btn:hover,
.update-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* ===============================
   RECOMMENDATION ADD TO CART BUTTON
=============================== */

.recommend-cart {
  width: 100%;
  height: 3rem;

  margin-top: 1rem;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  border: none;
  border-radius: 2px;

  background: linear-gradient(180deg, #1c1c1c 0%, #000 100%);
  color: #fff;

  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  cursor: pointer;

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

/* Hover */

.recommend-cart:hover {

  transform: translateY(-3px);

  background: linear-gradient(180deg, #2b2b2b 0%, #111 100%);

  box-shadow:
    0 14px 30px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .12);

}

/* Click */

.recommend-cart:active {

  transform: translateY(1px) scale(.98);

  box-shadow:
    0 6px 14px rgba(0, 0, 0, .18);

}

/* Focus */

.recommend-cart:focus-visible {

  outline: 2px solid #000;
  outline-offset: 3px;

}

/* Disabled */

.recommend-cart:disabled {

  opacity: .65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;

}

/* Success State */

.recommend-cart.added {

  background: linear-gradient(180deg, #0d8f42, #087233);

  color: #fff;

}

/* ===============================
   PREMIUM CART QUANTITY SELECTOR
=============================== */

.cart-quantity {
  width: 75px;
  height: 35px;

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

  background: linear-gradient(180deg, #ffffff, #f7f7f7);

  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 2px;

  padding: 0rem;

  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

  transition: 0.3s ease;
}

.cart-quantity:hover {
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.cart-quantity button {
  width: 19px;
  height: 34px;

  border: none;
  border-radius: 2%;

  background: transparent;
  color: #111;

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

  font-size: 1.3rem;
  font-weight: normal;

  cursor: pointer;

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

.cart-quantity button:hover {
  background: #111;
  color: #fff;
  border-radius: 2px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.cart-quantity button:active {
  transform: scale(0.9);
}

.cart-quantity span {
  min-width: 34px;

  text-align: center;

  font-size: 0.98rem;
  font-weight: normal;

  color: #111;
}

/* ==============================
   ORDER SUMMARY
============================== */

.cart-summary {
  position: sticky;
  top: 5rem;
  height: fit-content;
}

.summary-box,
.benefit-box {
  background: #fff;
  border-radius: 24px;
  padding: 1.7rem;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.06);
}

.summary-box h2 {
  font-size: 1.25rem;
  margin-bottom: 1.8rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  color: #555;
}

.summary-row strong {
  color: #111;
}

.summary-row.total {
  font-size: 1.35rem;
  color: #111;
  margin-top: 1.2rem;
}

.summary-box hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 1.2rem 0;
}

.tax-text,
.secure-text {
  color: #777;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.checkout-btn {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.checkout-btn:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

.secure-text {
  margin-top: 1rem;
  text-align: center;
}

.benefit-box {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
}

.benefit-box div {
  display: flex;
  flex-direction: column;
  /* gap: 1rem; */
  padding: 1rem 1.56rem;
  border-right: 1px solid #eee;
}

.benefit-box div:last-child {
  border-bottom: none;
  border-right: none;
}

.benefit-box i {
  font-size: 1rem;
  padding: 2rem;
}

.benefit-box span {
  color: #666;
  font-size: 0.7rem;
}

.benefit-box strong {
  color: #111;
}

/* ==============================
   RECOMMENDATIONS
============================== */

.recommendations h2 {
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
}

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

.recommend-card {
  background: #fafafa;
  border-radius: 4px;
  overflow: hidden;
  transition: 0.3s ease;
}

.recommend-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
}

.recommend-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.recommend-card h3 {
  padding: 0.9rem 0.9rem 0.3rem;
  font-size: 0.82rem;
}

.recommend-card p {
  padding: 0 0.9rem 1rem;
  font-weight: 700;
}

/* ==============================
   EMPTY CART
============================== */

.empty-cart {
  text-align: center;
  padding: 4rem 1rem;
  background: #fafafa;
  border-radius: 18px;
  color: #666;
}



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

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

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


/* ==============================
   CART RESPONSIVE DESIGN
============================== */

/* Laptop / Tablet */
@media (max-width: 1024px) {
  .cart-page {
    padding: 5.5rem 2rem 0;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cart-summary {
    position: static;
  }

  .recommend-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet */
/* ==============================
   CART PAGE - TABLET 960PX
============================== */

@media (max-width: 960px) {
  .cart-page {
    padding: 5rem 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .cart-left {
    height: auto;
    padding: 1.5rem;
    border-radius: 20px;
  }

  .cart-left h1 {
    font-size: 2.2rem;
  }

  #cartItemsCount {
    margin-bottom: 1.4rem;
    font-size: 0.85rem;
  }

  .cart-table-head {
    display: none;
  }

  .cart-item {
    grid-template-columns: 120px 1fr auto;
    grid-template-areas:
      "image info remove"
      "image price remove"
      "image qty remove"
      "image total remove";
    gap: 0.7rem 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid #eee;
    padding-top: 0;
  }

  .product-info {
    display: contents;
  }

  .product-info img {
    grid-area: image;
    width: 120px;
    height: 150px;
    border-radius: 10px;
  }

  .product-info>div {
    grid-area: info;
  }

  .product-info h3 {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 600;
  }

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

  .price {
    grid-area: price;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .cart-quantity {
    grid-area: qty;
    width: 125px;
    height: 42px;
  }

  .line-total {
    grid-area: total;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .line-total::before {
    content: "Total: ";
    color: #777;
    font-weight: 400;
    display: none;
  }

  .remove-btn {
    grid-area: remove;
    padding-left: 0;
    margin: 0;
    align-self: start;
    justify-self: end;
    font-size: 0;
    text-decoration: none;
    padding-left: 44rem;
  }

  .remove-btn::before {
    content: "×";
    font-size: 1.8rem;
    color: #777;
  }

  .cart-actions {
    margin: 1.5rem 0 0;
  }

  .cart-summary {
    position: static;
  }

  .summary-box {
    border-radius: 20px;
    padding: 1.5rem;
  }

  .benefit-box {
    border-radius: 20px;
    padding: 1.2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .benefit-box div {
    padding: 1rem;
    align-items: center;
    text-align: center;
    border-right: 1px solid #eee;
  }

  .benefit-box div:last-child {
    border-right: none;
  }

  .benefit-box i {
    padding: 0 0 0.8rem;
    font-size: 1.35rem;
  }

  .benefit-box span {
    font-size: 0.78rem;
    line-height: 1.5;
  }

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

  .recommend-card img {
    height: 280px;
  }
}

/* iPhone / Small Mobile */
@media (max-width: 480px) {
  body {
    background: #f6f6f6;
  }

  .cart-page {
    padding: 4.8rem 0.85rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }

  .cart-left {
    padding: 1rem;
    border-radius: 18px;
    height: 64vh;
  }

  .cart-left h1 {
    font-size: 1.9rem;
    line-height: 1;
    margin-bottom: 0.4rem;
  }

  #cartItemsCount {
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .cart-table-head {
    display: none;
  }

  .cart-item {
    display: grid;
    grid-template-columns: 96px 1fr 28px;
    grid-template-areas:
      "image info remove"
      "image price remove"
      "image qty remove"
      "image total remove";
    gap: 0.65rem 0.9rem;
    padding: 1rem 0;
    border-bottom: 1px solid #ececec;
    padding-bottom: 0;
  }

  .product-info {
    display: contents;
  }

  .product-info img {
    grid-area: image;
    width: 110px;
    height: 158px;
    object-fit: cover;
    border-radius: 4px;
    background: #eee;
  }

  .product-info>div {
    grid-area: info;
  }

  .product-info h3 {
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    font-weight: normal;
    margin-top: 2rem;
    margin-left: 1.5rem;
  }

  .product-info p {
    font-size: 0.68rem;
    color: #777;
    margin-left: 1.5rem;
  }

  .remove-btn {
    grid-area: remove;
    width: 28px;
    height: 28px;
    margin: 0;
    align-self: start;
    justify-self: end;
    font-size: 0;
    text-decoration: none;
    padding-left: 20rem;
  }

  .remove-btn::before {
    content: "×";
    font-size: 1.7rem;
    color: #777;
    line-height: 1;
  }

  .price {
    grid-area: price;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 1.5rem;
  }

  .cart-quantity {
    grid-area: qty;
    width: 120px;
    height: 40px;
    margin-left: 1.2rem;
  }

  .cart-quantity button {
    width: 36px;
    height: 32px;
    font-size: 1.05rem;
  }

  .cart-quantity span {
    font-size: 0.9rem;
  }

  .line-total {
    grid-area: total;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
  }

  .line-total::before {
    content: "Total: ";
    color: #777;
    font-weight: 400;
  }

  .cart-actions {
    margin: 1.2rem 0 0.5rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .continue-btn,
  .update-btn {
    width: 100%;
    text-align: center;
    padding: 0.9rem;
    font-size: 0.78rem;
    border: 2px solid black;
  }

  .cart-summary {
    position: static;
  }

  .summary-box,
  .benefit-box {
    padding: 1.15rem;
    border-radius: 20px;
  }

  .summary-box h2 {
    font-size: 1.15rem;
    margin-bottom: 1.3rem;
  }

  .summary-row {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .summary-row.total {
    font-size: 1.18rem;
  }

  .checkout-btn {
    height: 50px;
    padding: 0;
    font-size: 0.78rem;
    border-radius: 999px;
  }

  .secure-text {
    font-size: 0.78rem;
  }

  .benefit-box {
    display: flex;
    justify-content: space-between;
    /* grid-template-columns: 1fr; */
  }

  .benefit-box div {
    padding: 0.85rem 0;
    display: grid;
    border: none;
  }

  .benefit-box i {
    font-size: 1rem;
    display: flex;
    padding-left: 1rem;
  }

  .benefit-box span {
    font-size: 0.6rem;
  }

  .recommendations {
    margin-top: 2rem;
    padding: 0 0.85rem;
  }

  .recommendations h2 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
  }

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

  .recommend-card {
    border-radius: 2px;
    background: #fff;
  }

  .recommend-card img {
    height: 210px;
    border-radius: 12px 12px 0 0;
  }

  .recommend-card h3 {
    font-size: 0.72rem;
    line-height: 1.35;
    padding: 0.7rem 0.65rem 0.2rem;
  }

  .recommend-card p {
    font-size: 0.85rem;
    padding: 0 0.65rem 0.75rem;
  }

  .recommend-cart {
    height: 2.35rem;
    font-size: 0.6rem;
    letter-spacing: 0.04em;
    margin-top: 0.45rem;
    border-radius: 6px;
  }

  .empty-cart {
    padding: 3rem 1rem;
    border-radius: 16px;
  }
}





.cart-left {
  height: auto !important;
  min-height: 60vh;
  overflow: visible;
}

#cartItems {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.cart-item {
  width: 100%;
  max-width: 100%;
}

.cart-item>* {
  min-width: 0;
}

.product-info {
  min-width: 0;
}

.product-info h3,
.product-info p {
  max-width: 100%;
  overflow-wrap: break-word;
}

.product-info p {
  font-weight: bold;
  font-size: 1rem;
}

/* Remove button fix */
.remove-btn {
  padding-left: 0 !important;
  margin-top: 0.7rem;
  justify-self: end;
  width: auto;
}



@media (max-width: 960px) {
  .cart-left {
    overflow: visible;
    width: 95vw;
    display: grid;
  }

  .cart-item {
    grid-template-columns: 120px minmax(0, 1fr) 32px !important;
  }

  .product-info img {
    width: 120px;
    height: 150px;
  }

  .remove-btn {
    padding-left: 0 !important;
    justify-self: end;
  }

  .continue-btn {
    height: 6vw;
  }

  .update-btn {
    height: 6vw;
  }

}

@media (max-width: 480px) {
  body {
    overflow-x: hidden;
  }

  .cart-page {
    overflow-x: hidden;
  }

  .cart-left {
    height: auto !important;
    min-height: auto;
    overflow: hidden;
  }

  .cart-item {
    grid-template-columns: 96px minmax(0, 1fr) 26px !important;
    gap: 0.65rem 0.75rem;
  }

  .product-info img {
    width: 96px !important;
    height: 135px !important;
  }

  .product-info h3,
  .product-info p,
  .price,
  .cart-quantity {
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

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

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

  .cart-quantity {
    width: 105px !important;
  }

  .remove-btn {
    padding-left: 0 !important;
    width: 26px;
    height: 26px;
    justify-self: end;
  }

  .cart-actions {
    margin-top: 1.2rem;
  }

}


.cart-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2.5rem;
  align-items: start;
}

/* Cart products on left */
.cart-left {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

/* Order summary on right */
.cart-summary {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  position: sticky;
  top: 5rem;
  height: fit-content;
  z-index: 5;
}

.cart-page>.benefit-box {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  width: 100%;
  margin-top: 0;
  display: flex;
}

.benefit-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.benefit-box div {
  align-items: center;
  text-align: center;
}

.benefit-box i {
  padding: 0 0 0.8rem;
}

/* Tablet and mobile */
@media (max-width: 1024px) {
  .cart-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .cart-summary {
    position: static;
    width: 100%;
  }

  .cart-page>.benefit-box {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .benefit-box {
    grid-template-columns: repeat(3, 1fr);
    padding: 1rem;
  }

  .benefit-box div {
    padding: 0.7rem 0.3rem;
  }

  .benefit-box i {
    font-size: 1rem;
    padding: 0 0 0.5rem;
    display: flex;
    justify-content: center;
  }

  .benefit-box strong {
    font-size: 0.65rem;
  }

  .benefit-box span {
    font-size: 0.55rem;
    line-height: 1.4;
  }

  .update-btn {
    height: 50px;
  }

  .continue-btn {
    height: 50px;
  }
}

#shipping {
  font-size: 0.85rem;
  font-weight: 600;
}

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

}

/* Let the product area take normal height */

.overlay-products {

  flex: none;

  overflow: visible;

  padding-bottom: 1rem;

}

/* Fixed/sticky at bottom while results scroll */

#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;
}
/* =========================================================
   STRYDEX — PREMIUM SIZE GUIDE POPUP
   ========================================================= */

/* ---------- BACKDROP ---------- */

.size-popup {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;

  z-index: 999999;
}


/* ---------- ACTIVE POPUP ---------- */

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


/* =========================================================
   POPUP BOX
   ========================================================= */

.size-box {
  position: relative;

  width: min(560px, 100%);
  max-height: 88vh;

  overflow-y: auto;

  padding: 30px;

  background: #ffffff;
  color: #111111;

  border-radius: 18px;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    0 8px 30px rgba(0, 0, 0, 0.15);

  transform: translateY(20px) scale(0.97);

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

  scrollbar-width: none;
  -ms-overflow-style: none;
}


/* Hide scrollbar */

.size-box::-webkit-scrollbar {
  display: none;
}


/* Popup animation */

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


/* =========================================================
   HEADER
   ========================================================= */

.size-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 18px;

  margin-bottom: 12px;

  border-bottom: 1px solid #e8e8e8;
}


/* Title */

.size-header h2 {
  margin: 0;

  font-size: 1.7rem;
  font-weight: 800;

  letter-spacing: 0.08em;
  line-height: 1;

  color: #0b0b0b;
}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.close-size {
  width: 40px;
  height: 40px;

  flex-shrink: 0;

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

  border: 1px solid #e5e5e5;
  border-radius: 50%;

  background: #f6f6f6;
  color: #111;

  font-size: 1.45rem;
  font-weight: 400;

  line-height: 1;

  cursor: pointer;

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


.close-size:hover {
  background: #111;
  color: #fff;

  border-color: #111;

  transform: rotate(90deg);
}


.close-size:active {
  transform: rotate(90deg) scale(0.92);
}


/* =========================================================
   SUBTITLE
   ========================================================= */

.size-subtitle {
  margin: 0 0 24px;

  color: #666;

  font-size: 0.82rem;
  font-weight: 400;

  line-height: 1.6;
}


/* =========================================================
   SIZE TABLE
   ========================================================= */

.size-table {
  width: 100%;

  border-collapse: separate;
  border-spacing: 0;

  margin: 0 0 22px;

  overflow: hidden;

  border: 1px solid #e8e8e8;
  border-radius: 12px;
}


/* Table Header */

.size-table th {
  padding: 14px 15px;

  background: #0b0b0b;
  color: #ffffff;

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.08em;
  text-align: left;

  text-transform: uppercase;
}


/* Table Cells */

.size-table td {
  padding: 14px 15px;

  background: #ffffff;

  color: #222;

  border-bottom: 1px solid #eeeeee;

  font-size: 0.82rem;
  font-weight: 500;
}


/* Remove last border */

.size-table tr:last-child td {
  border-bottom: none;
}


/* Alternating rows */

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


/* Size column */

.size-table td:first-child {
  font-weight: 800;
  color: #111;
}


/* Hover */

.size-table tbody tr {
  transition: background 0.2s ease;
}

.size-table tbody tr:hover td {
  background: #eeeeee;
}


/* =========================================================
   FOOTER / SUPPORT BOX
   ========================================================= */

.size-footer {
  padding: 16px 18px;

  background: #f5f5f5;

  border: 1px solid #e9e9e9;
  border-radius: 12px;
}


.size-footer p {
  margin: 0;

  color: #555;

  font-size: 0.78rem;
  font-weight: 400;

  line-height: 1.65;
}


.size-footer strong {
  color: #111;

  font-weight: 700;

  text-decoration: underline;
  text-underline-offset: 3px;
}


.size-footer a {
  color: inherit;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

  .size-popup {
    padding: 16px;
  }

  .size-box {
    width: 100%;
    max-width: 520px;

    max-height: 88vh;

    padding: 24px;

    border-radius: 16px;
  }

  .size-header h2 {
    font-size: 1.5rem;
  }

  .size-table th,
  .size-table td {
    padding: 13px 12px;
  }

}


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

@media (max-width: 500px) {

  .size-popup {
    padding: 12px;
  }


  .size-box {
    width: 100%;
    max-width: 100%;

    max-height: 88vh;

    padding: 20px;

    border-radius: 15px;
  }


  /* Header */

  .size-header {
    padding-bottom: 15px;
    margin-bottom: 10px;
  }


  .size-header h2 {
    font-size: 1.35rem;
    letter-spacing: 0.07em;
  }


  /* Close button */

  .close-size {
    width: 36px;
    height: 36px;

    font-size: 1.25rem;
  }


  /* Subtitle */

  .size-subtitle {
    margin-bottom: 18px;

    font-size: 0.74rem;
    line-height: 1.55;
  }


  /* Table */

  .size-table {
    width: 100%;

    margin-bottom: 18px;

    border-radius: 10px;
  }


  .size-table th {
    padding: 11px 9px;

    font-size: 0.63rem;
    letter-spacing: 0.05em;
  }


  .size-table td {
    padding: 12px 9px;

    font-size: 0.72rem;
  }


  /* Support box */

  .size-footer {
    padding: 13px 14px;

    border-radius: 10px;
  }


  .size-footer p {
    font-size: 0.68rem;
    line-height: 1.6;
  }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 360px) {

  .size-popup {
    padding: 8px;
  }


  .size-box {
    padding: 16px;

    border-radius: 13px;
  }


  .size-header h2 {
    font-size: 1.2rem;
  }


  .close-size {
    width: 34px;
    height: 34px;
  }


  .size-table th {
    padding: 10px 7px;

    font-size: 0.58rem;
  }


  .size-table td {
    padding: 10px 7px;

    font-size: 0.67rem;
  }


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

}

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