/* 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:transparent;
  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%);
}

/* LEFT LOGO */
.logo-left{
  display:none;
}

/* AFTER SCROLL */
body.scrolled .logo-center{
  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;
}

/* IMAGE GRID */
.side-images{
  margin-top:32px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.side-images img{
  width:100%;
  height:150px;
  object-fit:cover;
}

/* ================================
   ROOT
================================ */
:root{
  --header-height: 64px;
}

/* ================================
   H&M SORT / FILTER TOOLBAR
================================ */
.hm-toolbar{
  position: sticky;
  top: var(--header-height);
  z-index: 90;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:14px 40px;
  background:#fff;
  border-bottom:1px solid #e5e5e5;

  transition:transform 0.35s ease, opacity 0.35s ease;
}

/* Hide on scroll down */
.hm-toolbar.hide{
  transform:translateY(-120%);
  opacity:0;
}

/* Toolbar buttons */
.hm-sort-btn,
.hm-filter-btn{
  background:none;
  border:none;
  font-size:13px;
  letter-spacing:1px;
  font-weight:500;
  cursor:pointer;
  color:#111;
}

/* ================================
   FILTER OVERLAY
================================ */
.filter-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.45);

  opacity:0;
  pointer-events:none;
  transition:0.35s ease;

  z-index:95;
}

.filter-overlay.show{
  opacity:1;
  pointer-events:auto;
}

/* ================================
   FILTER DRAWER (H&M STYLE)
================================ */
.filter-drawer{
  position:fixed;
  top: var(--header-height);              /* ALWAYS below header */
  right:0;

  width:360px;
  height: calc(100vh - var(--header-height));

  background:#fff;
  transform:translateX(100%);
  transition:transform 0.4s ease;

  z-index:96;
  display:flex;
  flex-direction:column;
}

.filter-drawer.open{
  transform:translateX(0);
}

/* ================================
   FILTER HEADER
================================ */
.filter-header{
  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:18px 20px;
  border-bottom:1px solid #e5e5e5;
}

.filter-header h3{
  font-size:16px;
  font-weight:500;
}

.filter-header button{
  background:none;
  border:none;
  font-size:18px;
  cursor:pointer;
}

/* ================================
   FILTER CONTENT
================================ */
.filter-content{
  padding:20px;
  overflow-y:auto;
}

/* ================================
   FILTER GROUPS
================================ */
.filter-group{
  margin-bottom:28px;
}

.filter-group h4{
  font-size:14px;
  font-weight:500;
  margin-bottom:10px;
}

/* ================================
   PRICE RANGE
================================ */
.price-values{
  display:flex;
  justify-content:space-between;
  font-size:13px;
  margin-bottom:8px;
}

.filter-group input[type="range"]{
  width:100%;
}

/* ================================
   SIZE OPTIONS
================================ */
.size-row{
  display:flex;
  gap:10px;
}

.size-row button{
  padding:6px 12px;
  border:1px solid #ccc;
  background:none;
  cursor:pointer;
  font-size:13px;
}

/* ================================
   COLOR OPTIONS
================================ */
.color-row{
  display:flex;
  gap:10px;
}

.color-row span{
  width:18px;
  height:18px;
  border-radius:50%;
  border:1px solid #ccc;
  cursor:pointer;
}

/* ================================
   CHECKBOX / FIT
================================ */
.filter-group label{
  display:block;
  font-size:13px;
  margin-bottom:6px;
  cursor:pointer;
}

/* ================================
   FILTER ACTION BUTTONS
================================ */
.filter-actions{
  display:flex;
  gap:12px;
  padding:16px 20px;
  border-top:1px solid #e5e5e5;
}

.filter-actions button{
  flex:1;
  padding:12px 0;
  font-size:14px;
  cursor:pointer;
  border:1px solid #111;
}

.filter-cancel{
  background:#fff;
  color:#111;
}

.filter-apply{
  background:#111;
  color:#fff;
}

/* ================================
   MOBILE FIX
================================ */
@media(max-width:768px){
  :root{
    --header-height:56px;
  }

  .hm-toolbar{
    padding:12px 20px;
  }

  .filter-drawer{
    width:100%;
  }
}

/* ================= HERO ================= */

.hero{
  height:120vh;

  /* 🔥 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);
}



/* ================= PRODUCT PAGE BG ================= */

.product-page{
  min-height:200vh;
}

.product-bg{
  position:fixed;
  inset:0;

  background:url("assets/bg.jpg") center/cover no-repeat;

  filter:blur(12px) brightness(0.7);
  transform:scale(1.1);

  transition:1s;

  z-index:-1;
}

.product-page.scrolled .product-bg{
  filter:blur(0) brightness(1);
}


/* ================= SECTIONS ================= */


.product-page.scrolled .product-bg{
  filter:blur(0) brightness(1);
}

.section{
  height:100vh;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;

  text-align:center;
}


/* HERO */

.hero h1{
  font-size:48px;
  letter-spacing:5px;
}

.hero p{
  margin-top:10px;
  opacity:0.8;
}


/* SHOWROOM */

.showroom{
  background:white;   /* FIXED */
  color:black;
}

.showroom-title{
  font-size:100px;
  letter-spacing:4px;
  margin-bottom:6px;
}

.showroom-sub{
  font-size:25px;
  letter-spacing:2px;
  margin-bottom:25px;
  opacity:0.8;
  color:black;
}


/* ================= RACK ================= */

.rack{
  position:relative;

  width:90%;
  max-width:1000px;
  height:460px;

  display:flex;
  flex-direction:column;
  align-items:center;

  cursor:pointer;
}


.stand{
  position:absolute;
  bottom:0;

  width:18px;
  height:420px;

  background:linear-gradient(to bottom,#777,#444);
  border-radius:6px;
}

.stand.left{ left:0; }
.stand.right{ right:0; }


.rod{
  width:100%;
  height:10px;

  background:linear-gradient(to right,#d2b48c,#a67c52);

  border-radius:6px;

  margin-top:30px;

  box-shadow:0 4px 10px rgba(0,0,0,0.4);
}


.hooks{
  width:100%;
  display:flex;
  justify-content:space-around;
  margin-top:10px;
}

.hooks span{
  width:6px;
  height:18px;
  background:black;
  border-radius:3px;
}


/* CLOTH AREA */

.clothes-wrapper{
  width:720px;
  height:300px;

  overflow:hidden;
  margin-top:20px;

  display:flex;
  align-items:center;
}

.clothes-track{
  display:flex;
}


.cloth{
  width:220px;
  height:280px;

  margin:0 20px;

  object-fit:contain;

  cursor:pointer;

  transition:all 0.3s ease;

  transform:scale(0.7);
  opacity:0.6;
}

.cloth.active{
  transform:scale(1.1);
  opacity:1;
  z-index:5;
}


/* ================= CATEGORY BAR ================= */

.shop-categories{
  position:sticky;
  top:60px;

  background:white;

  display:flex;
  justify-content:center;
  gap:25px;

  padding:12px 0;

  border-bottom:1px solid #ddd;

  z-index:900;
}

.cat{
  text-decoration:none;
  color:black;

  font-weight:600;
  font-size:15px;

  padding-bottom:5px;
}

.cat:hover{
  border-bottom:2px solid black;
}


/* ================= CATEGORY PAGE ================= */

.category-header{
  text-align:center;
  padding:30px;
  background:white;
}

.category-header h1{
  font-size:36px;
  letter-spacing:2px;
}

.category-header p{
  opacity:0.7;
  margin-top:5px;
}


/* PRODUCT GRID */

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;
  padding:30px;
}


/* CARD */

.card{
  background:white;

  padding:15px;

  border-radius:10px;
  text-align:center;

  box-shadow:0 3px 10px rgba(0,0,0,0.15);

  transition:0.3s;
}

.card:hover{
  transform:translateY(-5px);
}


.card img{
  width:100%;
  height:220px;
  object-fit:contain;
}


.card button{
  margin-top:10px;

  padding:8px 15px;

  background:black;
  color:white;

  border:none;
  border-radius:5px;

  cursor:pointer;
}


/* HOVER */

.hover-img{
  transition:0.3s;
}

.card:hover .hover-img{
  transform:scale(1.05);
}


/* ================= SHOP PAGE ================= */

.shop-products{
  max-width:1200px;
  margin:auto;

  padding:40px 20px;

  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
}


.shop-card{
  background:white;

  padding:15px;

  text-align:center;

  border-radius:8px;

  box-shadow:0 2px 10px rgba(0,0,0,0.1);

  transition:0.3s;
}

.shop-card:hover{
  transform:translateY(-6px);
}


.shop-card img{
  width:100%;
  height:230px;
  object-fit:contain;
}


.shop-card button{
  margin-top:10px;

  padding:8px 15px;

  background:black;
  color:white;

  border:none;

  cursor:pointer;
}


/* ================= DETAIL PAGE ================= */

.shirt-detail{
  max-width:1200px;
  margin:auto;

  padding:40px 20px;

  display:flex;
  gap:50px;
  background:white;   /* FIXED */
}


.detail-images{
  flex:1;
}

.main-img{
  width:100%;
  max-width:400px;
  display:block;
  margin-bottom:15px;
}


.thumbs img{
  width:70px;
  margin:5px;
  cursor:pointer;
  border:1px solid #ddd;
}


.detail-info{
  flex:1;
}

.detail-info h1{
  font-size:28px;
}

.price{
  font-size:22px;
  font-weight:bold;
  margin:10px 0;
}


.sizes span{
  display:inline-block;

  border:1px solid black;

  padding:6px 12px;
  margin:5px;

  cursor:pointer;
}


.buy-btn{
  margin-top:20px;

  padding:12px 25px;

  background:black;
  color:white;

  border:none;

  cursor:pointer;
}
/* ===== PAGE BACKGROUND CONTROL ===== */

/* Collection / Rack Page (with blur bg) */
.product-page{
  background: transparent !important;
}

/* Sections on collection page */
.product-page .section{
  background: transparent !important;
}


/* Shop + Category + Detail Pages (White) */
.shop-page,
.product-grid,
.shirt-detail,
.category-header{
  background: white !important;
}

/* DARK OVERLAY */

.shop-hero::after{
  content:"";

  position:absolute;
  inset:0;

  background:rgba(0,0,0,0.4);
}


.hero-text{
  position:relative;
  z-index:2;

  text-align:center;
  color:white;
}


.hero-text h1{
  font-size:50px;
  letter-spacing:3px;
}


.hero-text p{
  margin:15px 0;
  font-size:18px;
  opacity:0.9;
}


.hero-text button{
  padding:12px 25px;

  background:white;
  color:black;

  border:none;
  font-weight:bold;

  cursor:pointer;
}

.hero-text button:hover{
  background:black;
  color:white;
}


/* ================= EDITORIAL SECTION ================= */

.editorial{
  width:100%;
  background:white;
}

/* FULL IMAGE BLOCK */

.editorial-full{
  position:relative;
  min-height:100vh;

  display:flex;
  align-items:center;
  justify-content:center;

  overflow:hidden;
}

/* IMAGE */

.editorial-image img{
  width:100%;
  height:100vh;
  object-fit:cover;
  display:block;
}

/* TEXT OVER IMAGE (MINIMAL) */

.editorial-text{
  position:absolute;
  bottom:80px;
  left:50%;
  transform:translateX(-50%);

  text-align:center;
  color:black;
}

.editorial-text h2{
  font-size:42px;
  font-weight:400;
  letter-spacing:2px;
  margin-bottom:10px;
}

.editorial-text p{
  font-size:16px;
  opacity:0.7;
}

/* MOBILE */

@media(max-width:768px){

  .editorial-text{
    bottom:40px;
    padding:0 20px;
  }

  .editorial-text h2{
    font-size:28px;
  }

}

/* ================= DOUBLE EDITORIAL ================= */

.editorial-double{
  display:flex;
  width:100%;
  min-height:100vh;
}

.editorial-half{
  flex:1;
  overflow:hidden;
}

.editorial-half img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* MOBILE STACK */

@media(max-width:768px){
  .editorial-double{
    flex-direction:column;
  }

  .editorial-half{
    min-height:60vh;
  }
}



/* ================= ZARA STYLE HORIZONTAL SHOP ================= */

.zara-shop{
  height:100vh;
  overflow:hidden;
  background:white;

  display:flex;
  align-items:center;
}

/* ================= PRODUCT SECTION ================= */

.shop-products-section{
  position: relative;
  width:100%;
  padding:60px 0;
  overflow:hidden;
}

/* ================= PRODUCT ROW ================= */

.shop-products{
  display:flex;
  gap:20px;

  padding:0;              /* ✅ FIX: remove invalid padding */
  margin:0;

  overflow-x:auto;
  scroll-behavior:smooth;

  scrollbar-width:none;   /* Firefox */
}

.shop-products::-webkit-scrollbar{
  display:none;           /* Chrome */
}

/* ================= PRODUCT ITEM ================= */

.zara-item{
  min-width:420px;
  display:flex;
  flex-direction:column;

  background:none;        /* ✅ FIX: no background on whole card */
}

/* ================= IMAGE ================= */

.zara-item img{
  width:100%;
  height:520px;

  object-fit:cover;       /* ✅ removes white canvas */
  display:block;          /* ✅ removes inline gap */

  background:#f2f2f2;     /* ✅ background ONLY for image */
}

/* ================= TEXT ================= */

.zara-item h3{
  margin:14px 0 4px;
  font-size:18px;
  font-weight:500;
  letter-spacing:0.5px;
  text-align:center;
}

.zara-item span{
  margin-bottom:12px;
  font-size:14px;
  opacity:0.6;
  text-align:center;
}

/* ================= ARROWS ================= */

.product-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);

  width:30px;
  height:30px;

  background:rgba(255,255,255,0.95);
  border:none;
  border-radius:50%;

  font-size:26px;
  cursor:pointer;
  z-index:10;

  box-shadow:0 4px 12px rgba(0,0,0,0.15);
  transition:0.3s ease;
}

.product-arrow:hover{
  background:black;
  color:white;
}

.product-arrow.left{
  left:10px;
}

.product-arrow.right{
  right:10px;
}

/* ================= MOBILE ================= */

@media(max-width:768px){
  .product-arrow{
    display:none;
  }

  .zara-item{
    min-width:80vw;
  }

  .zara-item img{
    height:420px;
  }
}

/* ================= ZARA SLIDER ONLY ================= */

.zara-row{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-behavior:smooth;

  scrollbar-width:none;
}

.zara-row::-webkit-scrollbar{
  display:none;
}

/* ===== MAUN STORY ===== */

.maun-story{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:60px;

  padding:120px 8vw;
  background:white;
}

.story-image img{
  width:100%;
  height:150vh;
  object-fit:cover;
}

.story-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.story-text h2{
  font-size:48px;
  font-weight:500;
  letter-spacing:1px;
  margin-bottom:20px;
}

.story-text p{
  font-size:18px;
  line-height:1.6;
  opacity:0.7;
}


/* ===== CURATED ROW ===== */

.curated-row{
  display:flex;
  gap:80px;

  padding:100px 8vw;
  background:rgb(255, 255, 255);
}

.curated-item{
  flex:1;
  text-align:center;
}

.curated-item img{
  width:100%;
  height:420px;
  object-fit:contain;

  transition:transform 0.5s ease;
}

.curated-item h4{
  margin-top:25px;
  font-size:16px;
  font-weight:500;
  letter-spacing:0.5px;
}

.curated-item span{
  display:inline-block;
  margin-top:8px;
  font-size:14px;
  opacity:0.6;
}

.curated-item:hover img{
  transform:scale(1.04);
}

/* ===== MAUN INFO (ZARA / H&M STYLE) ===== */

.maun-info{
  display:grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap:60px;

  padding:100px 8vw;
  background:#020202;
}

.info-col h3{
  font-size:22px;
  letter-spacing:2px;
  margin-bottom:15px;
   color:rgb(255, 255, 255);
}

.info-col h4{
  font-size:14px;
  font-weight:600;
  margin-bottom:12px;
  letter-spacing:0.5px;
   color:rgb(255, 255, 255);
}

.info-col p{
  font-size:14px;
  line-height:1.6;
  opacity:0.7;
   color:rgb(255, 255, 255);
}

.info-col a{
  display:block;
  font-size:14px;
  text-decoration:none;
  color:rgb(255, 255, 255);
  opacity:0.6;
  margin-bottom:8px;
}

.info-col a:hover{
  opacity:1;
}

/* MOBILE */
@media(max-width:768px){
  .maun-info{
    grid-template-columns:1fr;
    gap:40px;
  }
}

/* =========================================================
   SHIRT PAGE – H&M / ZARA PRODUCT SYSTEM
========================================================= */

.hm-products{
  padding:60px 40px 100px;
}

/* =========================================================
   PRODUCT GRID LAYOUT
========================================================= */

.hm-grid{
  max-width:1600px;
  margin:0 auto;

  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:48px;
}

/* =========================================================
   PRODUCT ITEM (NO BOX / NO CARD)
========================================================= */

.hm-item{
  display:block;
}


/* =========================================================
   PRODUCT IMAGE AREA
========================================================= */

.hm-image{
  position:relative;
  overflow:hidden;
  background:#f2f2f2;
}

.hm-image img{
  width:100%;
  height:420px;
  object-fit:cover;
  display:block;

  transition:transform 0.6s ease, opacity 0.4s ease;
}

/* Image zoom on hover */
.hm-item:hover .hm-image img{
  transform:scale(1.06);
}


/* =========================================================
   TEXT REFINEMENT –
   (No layout change, only typography)
========================================================= */

.hm-name{
  font:size 16px;
  font-weight:400;
  letter-spacing:0.3px;
  line-height:1.4;
  color:#111;
}

.hm-price{
  font:size 15px;
  font-weight:400;
  letter-spacing:0.2px;
  color:#555;
}

/* =========================================================
   PRICE + COLOR ROW (VISUAL ONLY)
   (No HTML change required)
========================================================= */

.hm-info{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.hm-price::after{
  content:"";
  display:inline-flex;
  margin-left:10px;
  vertical-align:middle;

  width:36px;
  height:12px;
}
  .hm-colors{
  display:flex;
  gap:6px;
}

.hm-color{
  width:12px;
  height:12px;
  border-radius:50%;
  border:1px solid #ccc;
  cursor:pointer;
}

/* =========================================================
   LINK FEEL – REMOVE OLD SHOP LOOK
========================================================= */

.hm-item{
  cursor:pointer;
}

.hm-item:hover .hm-name{
  text-decoration:underline;
  text-underline-offset:3px;
}

/* =========================================================
   OPTIONAL: IMAGE SWAP ON HOVER (FRONT → BACK)
   (Use only if you add second image)
========================================================= */

.hm-image img.hover-img{
  position:absolute;
  inset:0;
  opacity:0;
}

.hm-item:hover .hm-image img.hover-img{
  opacity:1;
}

/* =========================================================
   PAGE TITLE (MINIMAL – ZARA STYLE)
========================================================= */

.hm-page-title{
  text-align:center;
  margin:80px 0 40px;
}

.hm-page-title h1{
  font-size:36px;
  font-weight:400;
  letter-spacing:2px;
}

.hm-page-title p{
  margin-top:6px;
  font-size:14px;
  opacity:0.6;
}

/* =========================================================
   RESPONSIVE – MOBILE FEEL LIKE H&M APP
========================================================= */

@media(max-width:768px){

  .hm-products{
    padding:40px 20px 80px;
  }

  .hm-grid{
    gap:28px;
  }

  .hm-image img{
    height:360px;
  }

}



/* ================================
   ROOT
================================ */
:root{
  --header-height: 64px;
}

/* ================================
   H&M SORT / FILTER TOOLBAR
================================ */
.hm-toolbar{
  position: sticky;
  top: var(--header-height);
  z-index: 90;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:15px 40px;
  background:#fff;

  transition:transform 0.35s ease, opacity 0.35s ease;
}

/* Hide on scroll down */
.hm-toolbar.hide{
  transform:translateY(-120%);
  opacity:0;
}

/* Toolbar buttons */
.hm-sort-btn,
.hm-filter-btn{
  background:none;
  border:none;
  font-size:15px;
  letter-spacing:1px;
  font-weight:500;
  cursor:pointer;
  color:#111;
}

/* ================= SORT ================= */

.sort-wrapper{
  position:relative;
}

.sort-btn{
  background:none;
  border:none;
  font-size:14px;
  cursor:pointer;
}

/* DROPDOWN */
.sort-dropdown{
  position:absolute;
  top:120%;
  left:0;
  min-width:200px;
  background:#fff;
  border:1px solid #e5e5e5;
  display:none;
  z-index:100;
}

.sort-dropdown button{
  width:100%;
  padding:12px;
  background:none;
  border:none;
  text-align:left;
  cursor:pointer;
}

.sort-dropdown button:hover{
  background:#f5f5f5;
}

.sort-dropdown.show{
  display:block;
}

/* ================================
   FILTER OVERLAY
================================ */
.filter-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.45);

  opacity:0;
  pointer-events:none;
  transition:0.35s ease;

  z-index:95;
}

.filter-overlay.show{
  opacity:1;
  pointer-events:auto;
}

/* ================================
   FILTER DRAWER (H&M STYLE)
================================ */
.filter-drawer{
  position:fixed;
  top: var(--header-height);              /* ALWAYS below header */
  right:0;

  width:360px;
  height: calc(100vh - var(--header-height));

  background:#fff;
  transform:translateX(100%);
  transition:transform 0.4s ease;

  z-index:96;
  display:flex;
  flex-direction:column;
}

.filter-drawer.open{
  transform:translateX(0);
}

/* ================================
   FILTER HEADER
================================ */
.filter-header{
  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:18px 20px;
  border-bottom:1px solid #e5e5e5;
}

.filter-header h3{
  font-size:16px;
  font-weight:500;
}

.filter-header button{
  background:none;
  border:none;
  font-size:18px;
  cursor:pointer;
}

/* ================================
   FILTER CONTENT
================================ */
.filter-content{
  padding:20px;
  overflow-y:auto;
}

/* ================================
   FILTER GROUPS
================================ */
.filter-group{
  margin-bottom:28px;
}

.filter-group h4{
  font-size:14px;
  font-weight:500;
  margin-bottom:10px;
}

/* ================================
   PRICE RANGE
================================ */
.price-values{
  display:flex;
  justify-content:space-between;
  font-size:13px;
  margin-bottom:8px;
}

.filter-group input[type="range"]{
  width:100%;
}

/* ================================
   SIZE OPTIONS
================================ */
.size-row{
  display:flex;
  gap:10px;
}

.size-row button{
  padding:6px 12px;
  border:1px solid #ccc;
  background:none;
  cursor:pointer;
  font-size:13px;
}

/* ================================
   COLOR OPTIONS
================================ */
.color-row{
  display:flex;
  gap:10px;
}

.color-row span{
  width:18px;
  height:18px;
  border-radius:50%;
  border:1px solid #ccc;
  cursor:pointer;
}

/* ================================
   CHECKBOX / FIT
================================ */
.filter-group label{
  display:block;
  font-size:13px;
  margin-bottom:6px;
  cursor:pointer;
}

/* ================================
   FILTER ACTION BUTTONS
================================ */
.filter-actions{
  display:flex;
  gap:12px;
  padding:16px 20px;
  border-top:1px solid #e5e5e5;
}

.filter-actions button{
  flex:1;
  padding:12px 0;
  font-size:14px;
  cursor:pointer;
  border:1px solid #111;
}

.filter-cancel{
  background:#fff;
  color:#111;
}

.filter-apply{
  background:#111;
  color:#fff;
}

/* ================================
   MOBILE FIX
================================ */
@media(max-width:768px){
  :root{
    --header-height:56px;
  }

  .hm-toolbar{
    padding:12px 20px;
  }

  .filter-drawer{
    width:100%;
  }
}