/* =========================
HERO (FULL CENTER FIXED)
========================= */

.hero{
  position: relative;
  width: 100%;
  min-height: 100vh;

  margin: 0;
  padding: 0;

  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* VIDEO */
.hero-video{
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* OVERLAY */
.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* CONTENT */
.hero-content{
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  max-width: 900px;
  width: 100%;

  margin: 0 auto;
  padding: 0 24px;
}

  .hero-label{
    font-size: 20px;
    color: cornsilk;
    letter-spacing: 1.5px;
  }

/* =========================
MOBILE FIX
========================= */

@media (max-width: 768px){

  .hero{
    height: 100dvh;
  }

  .hero-content{
    padding: 0 20px;
  }

  .hero-content h1{
    font-size: 34px;
    line-height: 1.1;
  }

  .hero-content p{
    font-size: 14px;
    max-width: 320px;
  }

  .hero-label{
    font-size: 11px;
    padding: 8px 14px;
    letter-spacing: 1.5px;
  }
}

/* FILTER */

.products-filter{
  width:min(1280px,92%);
  margin: 50px auto;
  margin-bottom:80px;

  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
}

.products-filter button{
  border:none;
  background:white;
  padding:14px 26px;
  border-radius:999px;
  cursor:pointer;

  font-weight:600;

  box-shadow:
  0 8px 30px rgba(0,0,0,.05);
}

.products-filter .active{
  background:#231f20;
  color:white;
}

.products-filter .icon{
  margin: auto 40px;
  width: 40px;
  height: 40px;
}
/* =========================
FEATURED PRODUCT (SHOPEE STYLE CLEAN)
========================= */

.featured-product{
  width: min(1200px, 92%);
  margin: auto;
  margin-bottom: 80px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.featured-image{
  background: #fff;
  border-radius: 24px;
  padding: 40px;

  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.featured-image img{
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.featured-content span{
  font-size: 12px;
  letter-spacing: 2px;
  color: #9a8778;
}

.featured-content h2{
  font-size: 44px;
  line-height: 1.1;
  margin: 16px 0;
  color: #231f20;
}

.featured-content p{
  color: #666;
  line-height: 1.7;
}

.featured-price{
  font-size: 32px;
  font-weight: 700;
  margin: 20px 0;
}

.btn-dark{
  padding: 14px 28px;
  background: #231f20;
  color: white;
  border-radius: 999px;
  text-decoration: none;
}

/* =========================
PRODUCT GRID (SHOPEE STYLE)
========================= */

.products-grid{
  width: min(1200px, 92%);
  margin: 50px auto;
  margin-bottom: 20px;

  display: grid;

  grid-template-columns: repeat(4, 1fr); /* FIXED */
  gap: 18px;
}

/* =========================
PRODUCT CARD
========================= */

.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:32px;
    margin: 50px auto;
}

.product-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.35s;
    display:flex;
    flex-direction:column;
    height:100%;
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

/* IMAGE */

.product-image{
    width:100%;
    aspect-ratio:1/1;
    background:#f7f7f7;
    overflow:hidden;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.product-card:hover .product-image img{
    transform:scale(1.06);
}

/* INFO */

.product-info{
    padding:22px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.category{
    display:inline-block;
    width:max-content;
    background:#f4e7d8;
    color:#9b6d41;
    padding:6px 12px;
    border-radius:50px;
    font-size:12px;
    font-weight:600;
    margin-bottom:14px;
}

.product-info h3{
    font-size:20px;
    line-height:1.35;
    font-weight:700;
    min-height:56px;
    margin-bottom:10px;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.product-info p{
    color:#666;
    line-height:1.6;
    margin-bottom:20px;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.price{
    font-size:24px;
    font-weight:700;
    color:#111;
    margin-top:auto;
    margin-bottom:20px;
}

.product-info .nav-cta{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:none;
    background:#111;
    color:#fff;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.product-info .nav-cta:hover{
    background:#d6a679;
}

/* =========================
CTA SECTION
========================= */

.products-cta{
  margin-top: 50px;
  padding: 20px 10px;
  text-align: center;

  background: #efe5de;
}

.products-cta h2{
  font-size: 48px;
  margin-bottom: 16px;
  color: #231f20;
}

.products-cta p{
  color: #666;
  margin-bottom: 24px;
}

.products-cta a{
  display: inline-block;
  padding: 14px 28px;
  background: #231f20;
  color: white;
  border-radius: 999px;
  text-decoration: none;
}

/* =========================
MOBILE SHOPEE STYLE
========================= */

@media (max-width: 768px){

  .featured-product{
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .featured-content h2{
    font-size: 32px;
  }

  .featured-price{
    font-size: 26px;
  }

  .products-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .product-info h3{
    font-size: 14px;
  }

  .price{
    font-size: 15px;
  }

    html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}
}