/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family: Arial, Helvetica, sans-serif;
}

/* HEADER */
.header{
  position:fixed;
  top:0;
  width:100%;
  background:white;
   border-bottom:2px solid #eee;
  transition:0.3s ease;
  z-index:1000;
}

body.scrolled .header{
  background:#fff;
  border-bottom:1px solid #eee;
}

/* HEADER ROW */
.header-row{
  height:72px;
  padding:0 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:relative;
}

/* RESET HEADER LINKS */
.menu-link{
  text-decoration:none;
  color:#111;
  font-size:13px;
  letter-spacing:2px;
  padding:4px 0;
  position:relative;
}

/* H&M STYLE UNDERLINE */
.menu-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:1px;
  background:#111;
  transition:0.25s ease;
}

.menu-link:hover::after{
  width:100%;
}

/* REMOVE VISITED COLOR */
.menu-link:visited{
  color:#111;
}

/* LOGO */
.logo{
  font-size:22px;
  letter-spacing:5px;
  font-weight:500;
}

/* CENTER LOGO */
.logo-center{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
}

/* RIGHT LOGO */
.logo-right{
  position:absolute;
  left:10%;
  transform:translateX(-50%);
}

/* LEFT LOGO */
.logo-left{
  display:none;
}

/* AFTER SCROLL */
body.scrolled .logo-center{
  display:none;
}

body.scrolled .logo-right{
  display:none;
}

body.scrolled .logo-left{
  display:inline;
}

/* LEFT */
.left{
  display:flex;
  align-items:center;
}

/* MENU */
.menu{
  display:none;
  gap:28px;
  margin-left:32px;
}

.menu-link{
  font-size:13px;
  letter-spacing:2px;
  cursor:pointer;
}

/* SHOW MENU AFTER SCROLL */
body.scrolled .menu{
  display:flex;
}

/* RIGHT */
.right{
  display:flex;
  align-items:center;
  gap:16px;
}

.search{
  padding:8px 16px;
  border-radius:20px;
  border:1px solid #ccc;
}

/* MEGA MENU BASE */
.mega{
  position:fixed;
  top:72px;
  width:100%;
  background:#fff;
  border-bottom:1px solid #eee;
  display:none;
  z-index:900;
}

.mega.show{
  display:block;
}

.mega-panel{
  display:none;
}

.mega-panel.active{
  display:block;
}

.mega-inner{
  max-width:1200px;
  margin:0 auto;
  padding:40px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:60px;
}

.mega h4{
  font-size:14px;
  margin-bottom:14px;
  letter-spacing:1.5px;
}

.mega a{
  display:block;
  margin-bottom:10px;
  color:#333;
  text-decoration:none;
}

.mega a:hover{
  text-decoration:underline;
}

.mega.show{
  display:block;
}

.mega-inner{
  max-width:1200px;
  margin:0 auto;
  padding:40px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:60px;
}

.mega h4{
  margin-bottom:14px;
  font-size:14px;
  letter-spacing:1.5px;
}

.mega a{
  display:block;
  margin-bottom:10px;
  text-decoration:none;
  color:#333;
}

/* OVERLAY */
.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.35);
  opacity:0;
  pointer-events:none;
  transition:0.3s ease;
  z-index:900;
}

.overlay.active{
  opacity:1;
  pointer-events:auto;
}

/* SIDE MENU */
.side-menu{
  position:fixed;
  top:120px; /* below header + nav */
  left:-520px;
  width:520px;
  height:calc(100vh - 120px);
  background:#fff;
  padding:56px 48px;
  transition:left 0.4s ease;
  z-index:1000;
  box-shadow:20px 0 40px rgba(0,0,0,0.08);
}

.side-menu.active{
  left:0;
}

/* SIDE CONTENT */
.side-content h3{
  font-size:26px;
  margin-bottom:24px;
}

.side-content a{
  display:block;
  font-size:17px;
  margin-bottom:14px;
  text-decoration:none;
  color:#111;
}

.side-content a:hover{
  text-decoration:underline;
}


/* ================= HERO ================= */

.hero{
  height:100vh;

  /* 🔥 IMPORTANT FIX */
  margin-top:-70px; /* SAME as header height */

  background:url("assets/shop/banner.jpg") center top / cover no-repeat;

  position:relative;
  display:flex;
  align-items:flex-end;
  padding:0 80px 100px;
}

/* HERO TEXT (PREMIUM PLACEMENT) */
.hero h1{
  color:white;
  font-size:52px;
  letter-spacing:4px;
  line-height:1.1;
  max-width:500px;
  text-shadow:0 4px 20px rgba(0,0,0,0.35);
}

/* ================================
    MEN INTRO
================================ */
.men-intro{
  padding:40px 60px 10px;
  max-width:1200px;
}

.men-intro h2{
  font-size:20px;
  font-weight:500;
  margin-bottom:6px;
}

.men-intro p{
  font-size:14px;
  color:#555;
  max-width:420px;
}

.men-products{
  padding:30px 60px 120px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
}

.product-card{
  text-decoration:none;
  color:#111;
}

.product-card img{
  width:100%;
  height:420px;
  object-fit:cover;
  margin-bottom:12px;
}

.product-name{
  font-size:14px;
  margin-bottom:4px;
}

.product-price{
  font-size:14px;
  font-weight:600;
}

.men-editorial{
  height:100vh;
  background:url("assets/men/editorial.jpg") center / cover no-repeat;
  display:flex;
  align-items:flex-end;
  padding:0 60px 80px;
}

.editorial-text h3{
  font-size:28px;
  letter-spacing:2px;
  color:#fff;
}

.editorial-text p{
  margin-top:6px;
  font-size:14px;
  color:#fff;
  opacity:0.9;
}

@media(max-width:1024px){
  .men-products{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .men-products{
    grid-template-columns:1fr;
    padding:30px 24px 80px;
  }

  .men-intro{
    padding:30px 24px;
  }

  .men-editorial{
    padding:0 24px 40px;
  }
}

/* ================= PRODUCT CARD HOVER ================= */

.product-image{
  position:relative;
  width:100%;
  height:420px;
  overflow:hidden;
}

/* Images */
.product-image img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:opacity 0.35s ease, transform 0.35s ease;
}

/* Back image hidden initially */
.img-back{
  opacity:0;
}

/* Hover effects */
.product-card:hover .img-front{
  opacity:0;
  transform:scale(1.03);
}

.product-card:hover .img-back{
  opacity:1;
  transform:scale(1.03);
}

/* ================= WISHLIST ALWAYS VISIBLE ================= */

.wishlist-btn{
  position:absolute;
  top:14px;
  right:14px;

  width:34px;
  height:34px;
  border-radius:50%;

  border:none;
  background:#fff;
  font-size:16px;
  cursor:pointer;

  opacity:1;                 /* ✅ always visible */
  transform:none;            /* ✅ no movement */
  transition:background 0.25s ease;
}

/* Optional hover polish */
.wishlist-btn:hover{
  background:#f2f2f2;
}