:root {
  --primary-color: #D4AF37; /* Emas */
  --secondary-color: #F5F5F5; /* Off-white */
  --accent-color: #C19A49; /* Emas tua */
  --bg-color: #FFFFFF; /* Putih */
  --text-color: #333333; /* Hitam teks */
  --muted-gold: #E6D6A2; /* Emas muda */
  --light-gold: #FFF8E1; /* Emas sangat muda */
}

body {
  background-color: var(--bg-color);
  font-family: 'Poppins', sans-serif;
}

/* Navbar Styling */
.navbar {
  padding: 12px 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

.logo-main {
  display: block;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text-color);
  letter-spacing: 1px;
}

.logo-sub {
  display: block;
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-top: -8px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.custom-toggler {
  border: none;
  padding: 5px;
}

.toggler-icon {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  margin: 5px;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  margin: 0 5px;
  padding: 8px 15px !important;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background-color: var(--light-gold);
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.text-accent {
  color: var(--accent-color) !important;
}

/* Product Cards */
.product-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-card img {
  height: 220px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.card-title {
  font-weight: 600;
  color: var(--text-color);
}

.btn-buy {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  font-weight: 600;
  border: none;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-buy:hover {
  transform: scale(1.05);
  color: white;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Admin Styles */
.admin-container {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.admin-title {
  color: var(--text-color);
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--muted-gold);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
}

.btn-primary:hover {
  background-color: var(--accent-color);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, var(--light-gold) 100%);
  padding: 60px 0;
  margin-bottom: 40px;
  border-radius: 0 0 30px 30px;
}

.hero-title {
  font-weight: 700;
  color: var(--text-color);
}

.hero-text {
  color: #666;
  margin-bottom: 30px;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

/* Filter Styles */
.filter-bar-mobile {
  position: sticky;
  top: 70px;
  z-index: 100;
  background-color: var(--bg-color);
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.filter-bubble {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-color);
  border: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.filter-bubble:hover {
  background-color: var(--light-gold);
  transform: translateY(-2px);
}

.btn-pill {
  border-radius: 20px;
  padding: 6px 15px;
  font-size: 0.9rem;
  background-color: var(--bg-color);
  border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.btn-pill:hover {
  background-color: var(--light-gold);
}

/* Kategori Pills Mobile */
.kategori-pills {
  max-width: calc(100% - 100px);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 5px;
  scrollbar-width: none; /* Firefox */
}

.kategori-pills::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.kategori-pill {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 16px;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  color: #666;
  transition: all 0.2s ease;
}

.kategori-pill:hover {
  background-color: #f0f0f0;
  transform: translateY(-1px);
}

.kategori-pill.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Tokopedia-like Category Pills */
.tokopedia-categories {
  padding: 15px 0;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 20px;
}

.category-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  text-align: center;
  padding: 10px;
  margin-right: 15px;
  color: #757575;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 8px;
}

.category-pill:hover {
  color: #03ac0e;
  background-color: #f3f9f3;
}

.category-pill.active {
  color: #03ac0e;
  background-color: #f3f9f3;
}

.category-pill i {
  font-size: 24px;
  margin-bottom: 8px;
}

.category-pill span {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Mobile Filter Bar */
.filter-bar-mobile {
  background-color: #fff;
  z-index: 1020;
  border-bottom: 1px solid #e0e0e0;
}

.filter-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f5f5f5;
  color: #757575;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-bubble:hover {
  background-color: #e0e0e0;
}

.kategori-pills {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 5px;
  max-width: calc(100% - 100px);
}

.kategori-pill {
  display: inline-block;
  padding: 6px 12px;
  margin-right: 8px;
  background-color: #f5f5f5;
  color: #757575;
  border: none;
  border-radius: 16px;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kategori-pill:hover, .kategori-pill.active {
  background-color: #03ac0e;
  color: #fff;
}

/* Desktop Filter Sidebar */
.col-lg-3 .card {
  position: sticky;
  top: 90px;
}

.card-header {
  border-bottom: 1px solid var(--muted-gold);
  padding: 15px;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.dropdown-item:active, 
.dropdown-item:hover {
  background-color: var(--light-gold);
  color: var(--text-color);
}

.dropdown-item.active {
  background-color: var(--primary-color);
  color: white;
}

#tidak-ada-produk {
  padding: 40px 0;
  color: var(--text-color);
}

/* Responsive Filter */
@media (max-width: 991.98px) {
  .filter-bar-mobile {
    top: 60px;
  }
} 