/* =============================================
   EN-JI BAG STORE — MAIN STYLESHEET
   Font: Playfair Display + DM Sans
   Palette: Warm cream & deep espresso
============================================= */

:root {
  --cream:       #f5f0ea;
  --cream-light: #faf7f3;
  --espresso:    #2c1a0e;
  --mocha:       #6b4226;
  --caramel:     #c07d4a;
  --blush:       #e8c4a8;
  --white:       #ffffff;
  --gray-soft:   #f0ebe4;
  --text-dark:   #1e1209;
  --text-mid:    #5a3e2b;
  --text-light:  #9a7a65;
  --radius-card: 14px;
  --shadow-soft: 0 4px 24px rgba(44, 26, 14, 0.10);
  --shadow-hover: 0 12px 40px rgba(44, 26, 14, 0.18);
  --transition:  0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--cream-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ─── NAVBAR ─────────────────────────────── */
.custom-navbar {
  background-color: rgba(250, 247, 243, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192, 125, 74, 0.15);
  padding: 14px 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--espresso) !important;
  text-decoration: none;
}

.brand-en    { color: var(--espresso); }
.brand-dash  { color: var(--caramel); }
.brand-ji    { color: var(--mocha); }

.custom-navbar .nav-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--text-mid) !important;
  padding: 6px 18px !important;
  border-radius: 50px;
  transition: all var(--transition);
  text-transform: uppercase;
  text-decoration: none;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  background-color: var(--espresso);
  color: var(--cream-light) !important;
}

.navbar-toggler {
  color: var(--espresso);
}

.navbar-toggler-icon {
  filter: invert(20%) sepia(50%) saturate(500%) hue-rotate(350deg);
}

/* ─── HERO / BANNER ──────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
}

.hero-section .beranda {
  width: 100%;
  max-height: 85vh;
  object-fit: cover;
  display: block;
}

.kotak {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(44, 26, 14, 0.62) 0%,
    rgba(44, 26, 14, 0.20) 55%,
    rgba(44, 26, 14, 0.0) 100%
  );
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 6%;
}

.hero-content {
  max-width: 520px;
  animation: fadeSlideUp 0.8s ease both;
}

.hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 28px;
}

.btn-hero {
  background-color: var(--caramel);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 12px 32px;
  border-radius: 50px;
  border: 2px solid var(--caramel);
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition);
}

.btn-hero:hover {
  background-color: transparent;
  color: var(--caramel);
  border-color: var(--caramel);
}

/* ─── SECTION HEADER ─────────────────────── */
.bestseller-section {
  padding: 70px 0 60px;
  background: var(--cream-light);
}

.section-header {
  margin-bottom: 40px;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--caramel);
  display: block;
  margin-bottom: 10px;
}

.produk-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--espresso);
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--caramel), var(--blush));
  border-radius: 2px;
  margin: 0 auto;
}

/* ─── PRODUCT CARDS ──────────────────────── */
.card-custom {
  border: none;
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all var(--transition);
}

.card-custom:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-img-link {
  display: block;
  text-decoration: none;
}

.img-container {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: var(--gray-soft);
}

.img-container img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card-custom:hover .img-container img {
  transform: scale(1.06);
}

.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 26, 14, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.card-hover-overlay span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.75);
  padding: 8px 20px;
  border-radius: 50px;
}

.card-custom:hover .card-hover-overlay {
  opacity: 1;
}

.card-body {
  padding: 14px 16px 16px !important;
}

.product-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--caramel);
  margin-bottom: 0;
}

/* ─── BUTTON LIHAT SEMUA ─────────────────── */
.btn-lihat-semua {
  background: transparent;
  border: 2px solid var(--espresso);
  color: var(--espresso);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 12px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition);
  display: inline-block;
}

.btn-lihat-semua:hover {
  background: var(--espresso);
  color: var(--cream-light);
}

/* ─── KEUNGGULAN SECTION ─────────────────── */
.keunggulan-section {
  background: var(--espresso);
  padding: 60px 0;
}

.keunggulan-item {
  padding: 20px;
}

.keunggulan-icon {
  font-size: 2rem;
  color: var(--caramel);
  margin-bottom: 14px;
}

.keunggulan-item h6 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream-light);
  margin-bottom: 6px;
}

.keunggulan-item p {
  font-size: 0.83rem;
  color: rgba(245, 240, 234, 0.65);
  margin: 0;
}

/* ─── PRODUK PAGE HEADER ─────────────────── */
.produk-page-header {
  padding: 120px 0 40px;
  background: linear-gradient(135deg, var(--espresso) 0%, var(--mocha) 100%);
  text-align: center;
}

.produk-page-header .breadcrumb {
  justify-content: center;
  background: transparent;
}

.produk-page-header .breadcrumb-item a {
  color: var(--blush);
  text-decoration: none;
  font-size: 0.85rem;
}

.produk-page-header .breadcrumb-item.active {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.produk-page-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--blush);
}

.produk-page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.produk-page-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
}

/* ─── FILTER BAR ─────────────────────────── */
.filter-bar {
  background: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-soft);
  position: sticky;
  top: 72px;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  background: var(--gray-soft);
  border: none;
  color: var(--text-mid);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--espresso);
  color: var(--cream-light);
}

.produk-count {
  font-size: 0.83rem;
  color: var(--text-light);
  white-space: nowrap;
}

/* ─── PRODUK LIST SECTION ────────────────── */
.produk-list-section {
  padding: 40px 0 80px;
  background: var(--cream-light);
}

/* ─── DETAIL PAGE ────────────────────────── */
.detail-img-wrapper {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--gray-soft);
}

.detail-main-img {
  object-fit: cover;
  max-height: 480px;
}

.breadcrumb-item a {
  color: var(--caramel);
  text-decoration: none;
}

.detail-product-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 10px;
}

.detail-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--caramel);
  margin-bottom: 0;
}

.detail-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.detail-specs {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
}

.detail-specs li {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding: 7px 0;
  border-bottom: 1px solid var(--gray-soft);
}

.detail-specs li span {
  font-weight: 600;
  color: var(--espresso);
  min-width: 80px;
  display: inline-block;
}

.btn-detail-buy {
  background: var(--caramel);
  color: var(--white);
  border: 2px solid var(--caramel);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-detail-buy:hover {
  background: transparent;
  color: var(--caramel);
}

.btn-detail-back {
  background: transparent;
  color: var(--espresso);
  border: 2px solid var(--espresso);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-detail-back:hover {
  background: var(--espresso);
  color: var(--cream-light);
}

/* ─── FOOTER ─────────────────────────────── */
.custom-footer {
  background: var(--espresso);
  color: var(--cream-light);
  padding: 60px 0 30px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cream-light);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.footer-tagline {
  font-size: 0.87rem;
  color: rgba(245, 240, 234, 0.65);
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 240, 234, 0.25);
  color: var(--blush);
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition);
}

.footer-social-link:hover {
  background: var(--caramel);
  border-color: var(--caramel);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  font-size: 0.87rem;
  color: rgba(245, 240, 234, 0.65);
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(245, 240, 234, 0.65);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--blush);
}

.footer-divider {
  border-color: rgba(245, 240, 234, 0.12);
  margin: 30px 0 20px;
}

.footer-copy {
  font-size: 0.83rem;
  color: rgba(245, 240, 234, 0.45);
}

.footer-copy strong {
  color: rgba(245, 240, 234, 0.75);
}

/* ─── ANIMATIONS ─────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 768px) {
  .hero-section { min-height: 45vh; }
  .hero-content { max-width: 90%; }
  .hero-title   { font-size: 2rem; }
  .hero-desc    { font-size: 0.88rem; }

  .bestseller-section { padding: 50px 0 40px; }
  .produk-page-header { padding: 100px 0 30px; }
  .filter-bar { top: 68px; }

  .keunggulan-section { padding: 40px 0; }
  .keunggulan-item { padding: 12px; }

  .detail-main-img { max-height: 320px; }
  .detail-product-name { font-size: 1.5rem; }
}

@media (max-width: 576px) {
  .hero-section { min-height: 38vh; }
  .hero-title   { font-size: 1.6rem; }
  .btn-hero     { padding: 10px 24px; font-size: 0.82rem; }

  .product-name  { font-size: 0.82rem; }
  .product-price { font-size: 0.9rem; }
}

/* ─── DETAIL PAGE (UPDATED) ─────────────────── */
.detail-container {
  padding-top: 110px;
  padding-bottom: 70px;
}

.detail-breadcrumb {
  margin-bottom: 28px;
}

.detail-img-wrapper {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: var(--gray-soft);
}

.detail-main-img {
  object-fit: cover;
  max-height: 480px;
  display: block;
  transition: transform 0.5s ease;
}

.detail-img-wrapper:hover .detail-main-img {
  transform: scale(1.03);
}

.detail-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--espresso);
  color: var(--cream-light);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
}

.detail-id-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 8px;
}

.detail-divider {
  border-color: var(--gray-soft);
  margin: 18px 0;
}

.detail-specs {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.detail-specs li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-mid);
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-soft);
  gap: 12px;
}

.detail-specs li span {
  font-weight: 600;
  color: var(--espresso);
  min-width: 90px;
  flex-shrink: 0;
}

/* ─── PREV / NEXT NAVIGATION ─────────────────── */
.detail-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-soft);
}

.detail-nav-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  background: var(--gray-soft);
  transition: all var(--transition);
  max-width: 48%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.detail-nav-btn:hover {
  background: var(--espresso);
  color: var(--cream-light);
}
/* ================= HERO SECTION ================= */

.hero-section{
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 650px;
  overflow: hidden;
}

/* IMAGE */

.hero-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */

.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.70),
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.15)
  );
  display: flex;
  align-items: center;
}

/* CONTENT */

.hero-content{
  max-width: 650px;
  color: white;
}

/* BADGE */

.hero-badge{
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
}

/* TITLE */

.hero-content h1{
  font-size: 70px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
}

/* DESCRIPTION */

.hero-content p{
  font-size: 18px;
  line-height: 1.9;
  color: rgba(255,255,255,0.9);
  margin-bottom: 35px;
  max-width: 580px;
}

/* BUTTON AREA */

.hero-buttons{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* BUTTON SHOP */

.btn-shop{
  background: #B76E79;
  color: white;
  text-decoration: none;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(183,110,121,0.35);
}

.btn-shop:hover{
  background: #a85f6a;
  transform: translateY(-3px);
  color: white;
}

/* BUTTON DETAIL */

.btn-detail{
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  text-decoration: none;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
  backdrop-filter: blur(10px);
}

.btn-detail:hover{
  background: rgba(255,255,255,0.12);
  color: white;
}

/* ================= PRODUK TITLE ================= */

.produk-section{
  padding: 80px 0 20px;
  background: #f8f5f5;
}

.produk-header{
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 20px;
}

.mini-title{
  color: #B76E79;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

.produk-title{
  font-size: 50px;
  font-weight: 800;
  color: #222;
  margin-top: 10px;
}

.lihat-semua{
  text-decoration: none;
  color: #B76E79;
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s;
}

.lihat-semua:hover{
  letter-spacing: 1px;
  color: #8F5A5A;
}

/* ================= RESPONSIVE ================= */

@media(max-width:992px){

  .hero-content h1{
    font-size: 52px;
  }

}

@media(max-width:768px){

  .hero-section{
    height: 85vh;
    min-height: 550px;
  }

  .hero-overlay{
    text-align: center;
    justify-content: center;
  }

  .hero-content{
    margin: auto;
  }

  .hero-content h1{
    font-size: 42px;
  }

  .hero-content p{
    font-size: 15px;
  }

  .hero-buttons{
    justify-content: center;
  }

  .produk-header{
    text-align: center;
    justify-content: center;
  }

  .produk-title{
    font-size: 38px;
  }

}

/* ================= HEADER PRODUK ================= */

.produk-page-header{
  position: relative;
  width: 100%;
  height: 420px;

  /* FOTO BACKGROUND */
  background-image: url('image/page3baground.webp');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;

  overflow: hidden;
}

/* OVERLAY GELAP */

.produk-page-header .overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.35)
  );
}

/* CONTENT */

.content-header{
  position: relative;
  z-index: 2;
  color: white;
}

/* BREADCRUMB */

.breadcrumb{
  margin-bottom: 20px;
}

.breadcrumb-item a{
  color: #f8d7dc;
  text-decoration: none;
}

.breadcrumb-item.active{
  color: #ffffff;
}

/* TITLE */

.produk-page-title{
  font-size: 65px;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

/* SUBTITLE */

.produk-page-subtitle{
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  line-height: 1.8;
}

/* RESPONSIVE */

@media(max-width:768px){

  .produk-page-header{
    height: 320px;
    text-align: center;
  }

  .produk-page-title{
    font-size: 42px;
  }

  .produk-page-subtitle{
    font-size: 15px;
  }

  .breadcrumb{
    justify-content: center;
  }

}