body {
  font-family: "Open Sans", sans-serif;
  color: #000000;
  padding: 2rem;
  font-weight: 100;
}

 p1{
  font-family:"Open Sans", sans-serif;
  font-size: small;
  font-weight: 100;
 }

.men-link {
  text-decoration: none;
  color: inherit; 
  display: inline-block; 
}

.men-link:hover {
  text-decoration:underline;
}

.women-link {
  text-decoration: none;
  color: inherit; 
  display: inline-block; 
}

.women-link:hover {
  text-decoration: underline;
}
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px; 
  
}

.left-links p1,
.right-links p1 {
  margin: 0 5px;
  font-weight:100;
}

header {
  text-align: center;
}
header h1 {
  font-size: 2.5rem;
  font-weight: 100;
  margin-bottom: 0px;
  font-family: "Raleway", sans-serif;
}
.heading-link {
  text-decoration: none;
  color: inherit; 
  display: inline-block; 
  font-weight: 250;
  font-family: "Raleway", sans-serif;

}

.heading-link:hover {
  transform: scale(1.03); 
}


.heading3{
    text-align: center;
    font-weight: 700;
}
h3{
    font-family:"Open Sans", sans-serif;
    font-weight: 700;
    font-size:small;
    margin: 10px;
    display: inline;

}
p {
font-family:"Raleway", sans-serif;
margin: 0px;
font-size: small;
text-align: left;
font-weight: 400;
}

/* Layout for catalogue */
.catalogue {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin-top: 30px;
    padding: 0 1rem;
   
  ;
}

/* Product Card */
.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
   font-family: "open Sans", sans-serif;
  font-weight: lighter;
}

.product-card img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  display:block;

}
.product-card img:hover {
  transform: scale(1.01);
  transition: transform 0.3s ease;
}

.info {
  padding:0px;
  font-family: "raleway", sans-serif;
  font-weight: 200;
  color:rgb(43, 41, 41)
}

.menu {
   display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 per row */
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

.menu-card {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  text-decoration: none;
}

.menu-card img {
   width: 100%;
  height: 350px;
  object-fit: cover;
   transition: transform 0.3s ease;
   border-radius: 20px;

}

.menu-card:hover {
  transform: scale(1.03);
}
.icon-column {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: center;
  color:black !important;
  margin-bottom: 50px;
}

.icon-column a i {
  width: 40px;
  height: 20px;
  color: black !important;
  size: 10px;
  /*transition: color 0.3s;*/
}
.icon-column a:visited,
.icon-column a:hover,
.icon-column a:focus,
.icon-column a:active,
.icon-column a:link {
  color: black; /* Prevent color change on all states */
  padding-top: 0%;
}
.image-text {
  position: static;
  top: 50%;
  left: 50%;
  color: black; 
  font-size: 30px;
  font-weight: 400;
  font-family: "Raleway", sans-serif;
  
}
@media (max-width: 768px) {
  /* This CSS only applies on screens smaller than 768px (e.g. phones) */

  .menu-card img {
  width:100%;
  height: 350px;
  object-fit: cover;
  border-radius: 50px;;
  }
.image-text {
  position: static;
  top: 50%;
  left: 50%;
  color: black; 
  font-size: 20px;
  font-weight: 100;
  font-family:"open Sans", sans-serif;
}
p {
font-family:"Raleway", sans-serif;
margin: 0px;
font-size: small;
text-align: left;
font-weight: 200;
}
}

/*product page*/

.product-name{
  margin-bottom: 20px;
  font-family: "Open Sans", sans-serif;
  font-weight:300;
  font-size:20px;
}
.price-section{
  margin-bottom: 20px;
  font-family: "Open Sans", sans-serif;
  font-weight:bold;
  
}

    .page-container {
      display: flex;
      flex-direction: row;
      padding-top: 80px;
      padding: 40px;
      gap: 20px;
    }
    .product-image {
      width: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .product-image img {
      max-width: 100%;
      max-height: 500px;
      object-fit: cover;
      border-radius: 10px;
    }
    .product-details {
      width: 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 40px;
      box-sizing: border-box;
    }


    .selector-label {
      font-weight: 600;
      margin-bottom: 5px;
      margin-top: 15px;
    }
    select, input[type=number] {
      width: 100%;
      padding: 10px;
      font-size: 16px;
      margin-bottom: 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
      box-sizing: border-box;
    }
    .button-group {
      display: flex;
      gap: 10px;
      margin-top: 20px;
    }
    .btn {
      flex: 1;
      padding: 12px;
      font-weight: bold;
      border: none;
      border-radius: 6px;
      font-size: 14px;
      cursor: pointer;
      text-align: center;
    }
    .btn.add {
      background: black;
      color: white;
    }
    .btn.wishlist {
      background: rgb(0, 0, 0);
      color: rgb(255, 255, 255);
      border: 1px solid #ccc;
    }

    .view-buttons {
      display: flex;
      gap: 10px;
      margin-top: 10px;
    }
    .view-btn {
      flex: 1;
      padding: 10px;
      font-size: 14px;
      border-radius: 6px;
      cursor: pointer;
      text-align: center;
      border: 1px solid #ccc;
      background: white;
      color: black;
      text-decoration: none;
      user-select: none;
      font-family: 'worksans', sans-serif;
      font-weight: 700;
    }

@media (max-width: 768px) {
  .page-container {
    flex-direction: column;
  }

  .product-image,
  .product-details {
    width: 100%;
    padding: 0;
  }

  /* Widen the buttons without stacking them */
  .button-group {
    gap: 10px;
    justify-content: center;
  }

  .btn {
    flex: none;
    width: 60%; /* Adjust width to your preference */
    font-size: 15px;
  }

  .view-buttons {
    gap: 10px;
    justify-content: center;
  }

  .view-btn {
    flex: none;
    width: 51.5%;
    height:60%;
    font-size: 15px;
  }
  .men-link, .women-link{
    font-weight: 250;
  }
}

  
    #popup-message {
      display:none;
      position:fixed;
      top:50%;
      left:50%;
      transform: translate(-50%, -50%);
      background: rgba(0,0,0,0.8);
      color: white;
      padding: 1rem 2rem;
      border-radius: 8px;
      font-size: 1.2rem;
      z-index: 1000;
      text-align:center;
      max-width: 80%;
      box-shadow: 0 0 10px black;
    }
     
.active-link {
  text-decoration: underline;
  font-weight: 500; 
}
.product-card .info p:first-child strong {
  font-size: 1.2em; 
}

#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 99;
  font-size: 32px;
  color: black;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  user-select: none;
  transition: opacity 0.3s ease;
}

#backToTopBtn:hover {
  opacity: 0.7;
}
.site-footer {
  width: 100%;
  background: #e9e7e7;
  color: #000;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
}

.footer-content {
  width: 100%;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-column h4 {
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #000;
}

.footer-column a {
  display: block;
  text-decoration: none;
  font-size: 13px;
  color: #000;
  margin-bottom: 8px;
}

.footer-column a:hover {
  opacity: 0.6;
}

.footer-socials a {
  font-size: 20px;
  margin-right: 15px;
  color: #000;
}

.footer-socials a:hover {
  opacity: 0.6;
}

.footer-bottom {
  border-top: 1px solid #e5e5e5;
  text-align: center;
  padding: 18px;
  font-size: 12px;
  color: #666;
}
main {
  max-width: 960px;
  width: 100%;
  display: flex;
  gap: 40px;
  padding: 0 20px 40px; /* existing padding */
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 80px; /* <-- add this to create space before footer */
}
/* Info Pages Styling */
main.info-page {
  max-width: 800px;          /* keeps text readable */
  margin: 60px auto 80px;    /* top and bottom spacing from header/footer */
  padding: 0 20px;           /* side padding */
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;          /* spacing between lines */
  display: block;            /* ensures vertical text flow */
}

main.info-page h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
}

main.info-page p,
main.info-page li {
  font-size: 16px;
  margin-bottom: 15px;
}

main.info-page ol {
  padding-left: 20px;
}
/* Mobile-only styling */
@media (max-width: 768px) {
  .site-footer {
    background: #ffffff; /* White background on mobile */
    color: #111; /* Dark text for readability */
    padding: 0rem;
    width:50%;
    height:10%;
  }

  .footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 2 columns */
    grid-template-rows: auto auto;       /* 2 rows */
    padding-bottom: 0;

  }

  .footer-column {
    margin-bottom: 0;
  }

  .site-footer h4 {
    font-size: 6px;
    margin-bottom: 0.5rem;
    color: #111;
  }

  .site-footer a {
    display: block;
    font-size: 5px;
    margin-bottom: 0.25rem;
    color: #111;
    text-decoration: none;
  }

  .footer-bottom p {
    font-size: 6px;
    text-align:left;
    margin-top: 0rem;
    color: #111;
    font-weight: 370;
  }



}
@media (max-width: 768px) {
  body {
    padding: 1rem; /*added this to center the page*/
  }
}
@media (max-width: 768px) {
  body {
    align-items: stretch;   /* stop horizontal centering */
  }

  .site-footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .footer-content {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
}
