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

html, body {
  width: 100%;
}

/* NAVBAR - Sama persis, cuma padding rem dan media untuk stack di mobile */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9375rem 1.875rem; /* 15px 30px */
  height: 110px;
  width: 100%;
  background-color: #2b2424;
  color: white;
  box-sizing: border-box;
  margin: 0 auto;
}

.logo-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.3125rem; /* 5px */
}

.logo img {
  height: auto;
  width: 100%;
  max-width: 200px;
}

.brand {
  font-size: 1.25rem; /* 20px */
  font-weight: bold;
  color: white;
  margin: 0;
  padding-bottom: 0;
  padding-left: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5625rem; /* 25px */
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 1rem; /* 16px */
  position: relative;
  padding: 0.5rem 0; /* Tambah padding untuk touch target 44px min */
  display: flex;
  align-items: center;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: white;
  transition: 0.3s;
}

.nav-links li a:hover::after,
.nav-links li a:focus::after { /* Tambah focus untuk accessibility */
  width: 100%;
}

/* BODY GLOBAL - Konsisten ke Poppins utama, tapi biarkan Georgia untuk heading seperti original */
body {
  font-family: 'Poppins', sans-serif; /* Ubah ke Poppins utama, fallback Arial */
  margin: 0;
  background-color: #faf8f5;
  color: #333;
}

/* === HERO BANNER === */
.hero-banner {
  position: relative;
  width: 100%;
  max-width: 1752px;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* Atau cover jika mau full tanpa gap */
}



/* === MINI NAVBAR === */
.category-nav {
  background-color: #f7f4f1;
  text-align: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  font-family: 'Segoe UI', sans-serif;
}

.category-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 30px;
  flex-wrap: wrap;
}

.category-nav li a {
  text-decoration: none;
  color: #5b4c3a;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease-in-out;
}

.category-nav li a:hover {
  border-bottom: 2px solid #5b4c3a;
  padding-bottom: 3px;
  color: #000;
}

.category-nav li a.active {
  border-bottom: 2px solid #5b4c3a;
  padding-bottom: 3px;
  color: #000;
}





/* === KATEGORI === */
.product-containernew {
  display: flex;
  flex-wrap: wrap;
  gap: 24px; /* jarak antar produk */
  justify-content: center; /* atau flex-start kalau mau rata kiri */
  padding: 20px;
}
.product-cardnew {
  border: 1px solid #ddd;
  border-radius: 15px;
  padding: 10px;
  max-width: 220px;
  text-align: center;
  margin: 20px auto;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.product-imgnew {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
}

.product-namenew {
  font-size: 16px;
  color: #3c3c3c;
  margin: 8px 0 4px;
}
.product-price {
  font-size: 14px;
  color: #84714f;
  margin-bottom: 12px;
}

.shop-button {
  display: inline-block;
  padding: 8px 16px;
  background-color: #5b4c3a;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.shop-button:hover {
  background-color: #3d3124;
}




/* === MOBILE MEDIA QUERIES (Tambahan – Desktop Tetap Sama) === */
/* Tablet/Mobile: Stack vertikal untuk presisi, no wrap berantakan */
@media (max-width: 768px) {
  .category-nav {
    padding: 15px 10px; /* Naikkan padding vertikal biar lebih airy di mobile */
    border-bottom: 1px solid #ddd; /* Tetap tema */
  }

  .category-nav ul {
    display: flex; /* Ganti inline-flex ke flex penuh */
    flex-direction: column; /* Stack vertikal: 5 item jadi 1 kolom rapi */
    gap: 15px; /* Gap vertikal 15px (ganti horizontal 30px) – presisi, no 3 baris */
    align-items: center; /* Center semua item horizontal */
    justify-content: center; /* Center vertikal jika perlu */
    width: 100%; /* Full width biar nggak numpuk */
    padding: 0 20px; /* Padding samping biar nggak nempel edge */
  }

  .category-nav li {
    width: 100%; /* Setiap item full width untuk touch */
    text-align: center; /* Center text per item */
    border-bottom: 1px solid rgba(221, 221, 221, 0.5); /* Separator tipis antar item (mirip bar desktop, tapi vertikal) */
    padding-bottom: 8px; /* Space bawah per item */
  }

  .category-nav li:last-child {
    border-bottom: none; /* Hilangkan separator di item terakhir */
  }

  .category-nav li a {
    font-size: 16px; /* Naikkan font untuk readability/tap di mobile */
    padding: 12px 0; /* Padding vertikal lebih besar (min 44px tap target) */
    display: block; /* Full block untuk touch mudah */
    min-height: 44px; /* Accessibility: Min height untuk finger tap */
    letter-spacing: 0.3px; /* Sedikit kurangi spacing biar compact */
  }

  /* Hover/Active di Mobile: Ganti border ke bg subtle (biar nggak lompat di stack vertikal) */
  .category-nav li a:hover,
  .category-nav li a:focus,
  .category-nav li a.active {
    border-bottom: none; /* Hilangkan border di mobile */
    padding-bottom: 12px; /* Padding tetap dari base */
    color: #000;
    background-color: rgba(91, 76, 58, 0.1); /* Bg coklat tipis (#5b4c3a alpha) – sesuai tema wood, subtle highlight */
    border-radius: 4px; /* Sudut bulat ringan untuk modern feel */
  }
}

/* Small Mobile (HP Kecil): Lebih compact lagi */
@media (max-width: 480px) {
  .category-nav {
    padding: 12px 8px; /* Padding lebih kecil */
  }

  .category-nav ul {
    gap: 12px; /* Gap vertikal kurangi ke 12px */
    padding: 0 15px;
  }

  .category-nav li {
    padding-bottom: 6px;
  }

  .category-nav li a {
    font-size: 15px; /* Font sedikit lebih kecil tapi masih readable */
    padding: 10px 0;
    min-height: 40px; /* Adjust min height untuk small screen */
    letter-spacing: 0.2px;
  }

  .category-nav li a:hover,
  .category-nav li a:focus,
  .category-nav li a.active {
    background-color: rgba(91, 76, 58, 0.15); /* Alpha lebih tinggi untuk kontras di small screen */
  }
}









/* Small Mobile (HP Kecil): Tetap 2 per row, tapi lebih tight */
@media (max-width: 480px) {
  .product-containernew {
    gap: 12px; /* Gap minimal 12px */
    padding: 12px;
    justify-content: center; /* Kembali ke center jika space terlalu sempit */
  }

  .product-cardnew {
    max-width: 140px; /* Lebih kecil lagi: Masih 2 per row (total ~292px + gap = ~316px, fit 320px viewport) */
    padding: 6px;
    flex: 0 0 45%; /* 45% untuk extra space di very small */
    width: 45%;
    margin: 8px 0;
    border-radius: 10px;
  }

  /* CAROUSEL UNTUK PRODUCT IMAGES - Extend dari .product-imgnew */
.product-carousel {
  position: relative; /* Untuk position absolute panah & dots */
  width: 100%;
  height: 200px; /* Tinggi fixed biar konsisten, adjust sesuai img-mu (e.g., 180px mobile) */
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden; /* Hide img extra */
  background-color: #f8f9fa; /* Fallback kalau img loading */
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.3s ease; /* Smooth slide (opsional kalau mau slide effect) */
}

.carousel-img {
  position: absolute; /* Stack img di posisi sama, hide/show via opacity */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crop/fit img biar nggak distort */
  opacity: 0; /* Hidden default */
  border-radius: 8px;
  transition: opacity 0.3s ease; /* Fade in/out smooth */
}

.carousel-img.active {
  opacity: 1; /* Visible active img */
}

/* Panah Navigasi */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparan hitam */
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
  left: 5px; /* Dekat kiri */
}

.carousel-btn.next {
  right: 5px; /* Dekat kanan */
}

/* Dots Indicator (Optional) */
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: white;
}

/* Disable panah kalau cuma 1 gambar (optional) */
.product-carousel:has(.carousel-img:only-child) .carousel-btn {
  display: none;
}

  .product-namenew {
    font-size: 14px;
    margin: 5px 0 2px;
  }

  .product-price {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .shop-button {
    padding: 5px 10px;
    font-size: 12px;
    min-height: 32px; /* Pastikan tap area minimal */
  }
}





/* === FOOTER === */
   .footer {
     position: relative;
     background-image: url("foot.png");
     background-size: cover;
     background-position: center top; /* Fix: Mulai dari top, biar bagian atas gambar nggak kepotong */
     background-repeat: no-repeat;
     background-attachment: scroll; /* Non-fixed default, biar smooth di semua device (hilangkan parallax jika bikin crop) */
     padding: 1.5rem 1.25rem; /* Kurangi dari 2.5rem ke 1.5rem top/bottom – space lebih compact */
     color: white;
     margin-top: 0; /* Eksplisit: No margin atas, biar nggak overlap/crop dengan section sebelumnya */
     width: 100%;
   }

   .footer-overlay {
     position: absolute;
     top: 0;
     left: 0;
     height: 100%;
     width: 100%;
     background: rgba(129, 99, 81, 0.5); /* Tetap ringan */
     z-index: 1;
   }

   .footer-content {
     position: relative;
     z-index: 2;
     display: grid;
     grid-template-columns: 1fr 1fr 1fr;
     gap: 1rem; /* Kurangi dari 1.5rem ke 1rem – lebih tight tanpa berantakan */
     max-width: 1200px;
     margin: 0 auto;
   }

   .footer-column {
     min-width: 200px;
     padding: 0.5rem 0; /* Kurangi padding internal vertikal */
   }

   .footer-column h4,
   .footer-subtitle {
     margin-bottom: 0.75rem; /* Kurangi dari 0.9375rem ke 0.75rem (12px) – space lebih efisien */
     font-size: 1.125rem;
     font-weight: bold;
     border-bottom: 2px solid rgba(255, 255, 255, 0.3);
     display: inline-block;
     padding-bottom: 0.3125rem;
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
   }

   .footer-social p {
     margin: 0.25rem 0 0; /* Kurangi dari 0.3125rem ke 0.25rem (4px) */
     font-size: 0.9375rem;
     color: #ffffff;
     font-weight: 500;
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
     line-height: 1.4;
   }

   .footer-nav ul {
     list-style: none;
     padding: 0;
   }

   .footer-nav ul li a {
     color: white;
     text-decoration: none;
     line-height: 1.5; /* Kurangi sedikit dari 1.6 biar compact */
     display: block;
     font-size: 0.9375rem;
     font-weight: 500;
     padding: 0.2rem 0; /* Spacing antar link lebih kecil */
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
     transition: color 0.3s ease;
   }

   .footer-nav ul li a:hover,
   .footer-nav ul li a:focus {
     color: #ddd;
     text-decoration: none;
   }

   .footer-location p {
     margin: 0.25rem 0; /* Kurangi spacing */
     font-size: 0.875rem;
     line-height: 1.4; /* Compact */
     word-break: break-word;
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
     color: #ffffff;
   }

   .footer-location h4 a {
     color: white;
     text-decoration: none;
     font-weight: bold;
   }

   .footer-location h4 a:hover,
   .footer-location h4 a:focus {
     color: #ddd;
     text-decoration: underline;
   }

   .footer-social {
     text-align: left;
     display: flex;
     flex-direction: column;
   }

   .social-icons {
     display: flex;
     gap: 0.75rem;
     flex-wrap: wrap;
     margin-top: 0.5rem;
     align-items: center;
   }

   .social-icons a {
     display: inline-block;
     transition: transform 0.3s ease;
     min-height: 44px;
     min-width: 44px;
     display: flex;
     align-items: center;
     justify-content: center;
   }

   .social-icons img {
     width: 24px;
     height: 24px;
     border-radius: 4px;
   }

   .social-icons a:hover,
   .social-icons a:focus {
     transform: scale(1.1);
   }

   /* Copyright – Kurangi space atas */
   .footer-bottom {
     text-align: center;
     margin-top: 1rem; /* Kurangi dari 1.5rem ke 1rem */
     font-size: 0.875rem;
     color: #f7f7f7;
     position: relative;
     z-index: 2;
     padding-top: 0.75rem; /* Kurangi dari 1rem */
     border-top: 1px solid rgba(255, 255, 255, 0.2);
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
   }

   /* === MEDIA QUERIES UNTUK FOOTER (Lebih Compact di Mobile) === */
   @media (max-width: 768px) {
     .footer {
       padding: 1rem 1rem; /* Lebih kecil: 1rem top/bottom */
       margin-top: 0;
     }

     .footer-content {
       grid-template-columns: 1fr;
       gap: 0.75rem; /* Kurangi gap lebih lanjut */
       text-align: center;
       padding: 0;
     }

     .footer-social {
       text-align: center;
       order: 3;
     }

     .social-icons {
       justify-content: center;
       gap: 0.5rem;
     }

     .social-icons a {
       min-height: 40px;
       min-width: 40px;
     }

     .social-icons img {
       width: 22px;
       height: 22px;
     }

     /* Fonts tetap, tapi spacing lebih tight */
     .footer-column h4,
     .footer-subtitle {
       font-size: 1rem;
       margin-bottom: 0.5rem; /* Lebih kecil di mobile */
     }

     .footer-nav ul li a,
     .footer-social p,
     .footer-location p {
       font-size: 0.875rem;
       padding: 0.15rem 0; /* Link spacing minimal */
     }

     .footer-bottom {
       margin-top: 0.75rem; /* Bahkan lebih kecil */
       padding-top: 0.5rem;
     }
   }

   @media (max-width: 480px) {
     .footer {
       padding: 0.75rem 0.75rem; /* Very compact untuk small phone */
     }

     .footer-content {
       gap: 0.5rem;
     }

     .social-icons {
       gap: 0.375rem;
     }

     .footer-location p {
       font-size: 0.8125rem;
       line-height: 1.3; /* Super compact */
     }
   }
   











   /* HAMBURGER ELEMENTS - Global: Hidden di desktop, visible di mobile via media query */
.nav-toggle {
  display: none; /* Checkbox hidden selalu, fungsional via :checked */
}

.hamburger {
  display: none; /* Hidden di desktop - jangan tambah properties lain di sini biar clean */
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 10px;
  transition: all 0.3s ease;
  transform-origin: left center;
}

/* MEDIA QUERY MOBILE: Hamburger Visible + Dropdown Menu (Override Semua) */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem; /* Kompak: 12px top/bottom, 16px left/right */
    height: auto; /* Auto fit konten (logo + space untuk hamburger) */
    justify-content: flex-start; /* Mulai dari kiri, biar wrapper centered tanpa expand */
    align-items: center;
    position: relative; /* Parent untuk absolute positioning hamburger */
  }

  .logo-brand-wrapper {
    justify-content: center; /* Center logo + brand */
    flex: none; /* Nggak ambil sisa space */
    max-width: 70%; /* Batasi lebar, biar ruang kanan untuk hamburger */
    margin-right: 1.5rem; /* Jarak 24px aman dari hamburger */
  }

  .logo img {
    max-width: 140px; /* Scale down di mobile */
  }

  .brand {
    font-size: 1rem; /* 16px - lebih kompak */
    white-space: nowrap; /* Text nggak wrap/pecah */
  }

  /* Show & Position Hamburger di Mobile */
  .hamburger {
    display: flex !important; /* Paksa visible */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001; /* Di atas navbar */
    position: absolute; /* Keluar dari flow normal */
    right: 1rem; /* 16px dari kanan edge */
    top: 50%;
    transform: translateY(-50%); /* Center vertikal */
    background: none;
    border: none; /* No extra styling */
  }

  .hamburger span {
    background-color: white !important; /* Pastiin garis putih kontras */
  }

  /* Animasi Hamburger Jadi X Saat Dibuka */
  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Ubah Nav Links Jadi Dropdown Overlay */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(43, 36, 36, 0.95); /* Match navbar bg */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* Gap besar untuk touch */
    margin: 0;
    padding: 0;
    transform: translateY(-100%); /* Hidden di atas */
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
    opacity: 0;
  }

  /* Munculkan Menu Saat Checkbox Checked */
  .nav-toggle:checked ~ .nav-links {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links li a {
    font-size: 1.25rem; /* 20px besar untuk mobile */
    padding: 1rem;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links li a::after {
    display: none; /* No underline di mobile */
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }
}

     .under-dev-notice {
       text-align: center;
       padding: 1rem;
       background: #f8f9fa;
       color: #6c757d;
       font-style: italic;
       border-radius: 5px;
       margin: 1rem 0;
     }
     