/* ===============================
   RESET & BASE
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: 'LatoFont', sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===============================
   LAYOUT WRAPPER
================================ */
.men-backpack-page {
  width: 100%;
  overflow-x: hidden;
}

/* ===============================
   HERO
================================ */
.hero {
  width: 100vw;
  height: 90vh;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;

  /* full bleed */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .25);
} */

/* ===============================
   INTRO SECTION
================================ */
.intro {
  max-width: 1200px;
  margin: 80px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 0 20px;
}

.intro h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.intro p {
  font-size: 15px;
  color: #444;
}

.intro img {
  width: 100%;
  border-radius: 4px;
}

.intro-text {
  text-align: justify;
}

/* ===============================
   BEST SELLER
================================ */
.best-seller {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px;
}

.bs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.bs-header h2 {
  font-size: 22px;
  font-weight: 500;
}

.bs-nav {
  display: flex;
  gap: 6px;
}

.bs-btn {
  background: transparent;
  border: none;
  cursor: pointer;
}

.bs-btn img {
  width: 32px;
  height: 32px;
}



/* garis */
.best::after {
  content: "";
  display: block;
  height: 2px;
  background: #ddd;
  margin-bottom: 24px;
}

/* viewport */
.bs-viewport {
  overflow: hidden;
}

/* track */
.bs-track {
  display: flex;
  gap: 14px;
  transition: transform 0.4s ease;
}

/* item */
.bs-item {
  flex: 0 0 278px;
  text-align: center;
}

.bs-item img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #f5f5f5;
  padding: 5px;
}

.bs-item p {
  font-size: 13px;
  margin-top: 8px;
  color: #333;
}


/* ===============================
   BANNER SECTION
================================ */
.full-banner {
  position: relative;
}


.full-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* CTA WRAPPER */
.banner-cta {
  position: absolute;
  bottom: 10vh;
  right: 15%;
  transform: translateX(-50%);


}



/* BUTTON */
.btn-shop {
  display: inline-block;
  padding: 14px 42px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: #222;
  background: #e0e0e0;
  border: 1px solid #bdbdbd;

  text-decoration: none;
  transition: all .3s ease;
}

/* HOVER */
.btn-shop:hover {
  background: #222;
  color: #fff;
}


@media (max-width: 912px) {

  /* FULL BANNER MOBILE */
  .full-banner {
    height: auto;
    width: auto;
    /* mobile-safe viewport */
  }

  .full-banner img {
    object-position: center;
    /* jaga fokus gambar */
  }

  /* CTA POSITION */
  .banner-cta {
    bottom: 16px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* BUTTON RESPONSIVE */
  .btn-shop {

    padding: 7px 12px;
    font-size: 12px;

  }


  /* CTA WRAPPER */
  .banner-cta {
    position: absolute;
    bottom: 2vh;
    left: 75%;


  }


}

@media (max-width: 768px) {

  /* FULL BANNER MOBILE */
  .full-banner {
    height: auto;
    width: auto;
    /* mobile-safe viewport */
  }

  .full-banner img {
    object-position: center;
    /* jaga fokus gambar */
  }

  /* CTA POSITION */
  .banner-cta {
    bottom: 16px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* BUTTON RESPONSIVE */
  .btn-shop {

    padding: 5px 10px;
    font-size: 8px;

  }


  /* CTA WRAPPER */
  .banner-cta {
    position: absolute;
    bottom: 1vh;
    left: 75%;


  }

  .intro h2 {
    font-size: 17px;
    margin-bottom: 20px;
  }


}

/* ===============================
   PRODUCT SHOWCASE
================================ */
.collection {
  padding: 10px 0;
  background: #fff;
  margin-top: 2px;
}

.collection h2 {
  font-size: 32px;
  margin-bottom: 40px;
}



/* WRAPPER */
.slider-wrapper {
  position: relative;
  max-width: auto;
  margin: auto;
}

.masculine {
  text-align: center;
  margin: 0 !important;
  padding: 0 !important;

}

/* VIEWPORT — KUNCI 1.1 SLIDE */
.slider-viewport {
  width: 620px;
  overflow: hidden;
}


.slide {
  flex: 0 0 620px;
}


/* TRACK */
.slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
}

/* SLIDE */
.slide {
  flex: 0 0 620px;
  /* 1 slide penuh */
}



/* BUTTON */
.slider-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #000;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
}

.slider-btn.prev {
  background: #000;
  color: #fff;
}




.slider-btn:hover {
  background: #333;
}


.nav-titles {
  position: relative;
}

.nav-title {
  display: none;
  transition: opacity .3s ease, transform .3s ease;
}

.nav-title.active {
  display: block;
}

.nav-title {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}

.nav-title.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}



/* ===============================
   FOOTER STRIP
================================ */
.footer-strip {
  background: #f5a623;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-strip img {
  height: 32px;
}

.footer-strip .social {
  display: flex;
  gap: 15px;
}


/*NEW */
/* GRID LAYOUT */
.collection-editorial {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 40px;
}




/* LEFT TEXT */
.editorial-left {
  font-size: 14px;
  color: #202020;
  max-width: 260px;

}

/* CENTER SLIDER */
.editorial-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* RIGHT NAV */
.editorial-right {
  display: flex;
  flex-direction: column;

  /* kiri rapi seperti contoh */
  gap: 12px;
}


/* BUTTON */
.nav-buttons {
  display: flex;
}

.nav-buttons .slider-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #000;
  background: #fff;
  font-size: 16px;
}

.nav-buttons .slider-btn.prev {
  background: #000;
  color: #fff;
}

.nav-title {
  font-size: 14px;
  line-height: 1.2;
  align-items: flex-start;
}


@media (max-width: 912px) {

  .slider-track {
    gap: 0;
    /* penting */
  }

  .slide {
    flex: 0 0 100%;
  }

  .slide img {
    height: auto;
    aspect-ratio: 1 / 1;
    /* square, modern */
    object-fit: cover;
  }


  .collection-editorial {
    display: flex;
    flex-direction: column;
  }

  /* .editorial-left {
    font-size: 14px;
    color: #202020;
    max-width: 260px;
  
  } */


  .editorial-center {
    position: relative;
    display: block;
    width: 100%;

  }

  .slider-viewport {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }



  .slide {
    flex: 0 0 100%;
    width: 100%;
  }

  .slide img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: block;
  }

  .editorial-right {
    position: absolute;
    bottom: 0;
    right: 30px;
    /* atau left:0 kalau mau kiri */
    display: flex;
    flex-direction: column;
  }


  .intro,
  .product-showcase {
    grid-template-columns: 1fr;
  }

  .hero {
    width: auto;
    height: auto;
    top: 50px;

  }

  .banner img {
    width: auto;
    height: auto;
  }

}