font-family{
  poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.navbar-nav .nav-link {
    font-size: 0.95rem;
}

.dropdown-menu {
    border-radius: 0.5rem;
}
.dropdown-menu .col-4 ul li a {
    font-size: 0.9rem;
}

.cursor-pointer {
  cursor: pointer;
}

.navbar-brand span:first-child {
  color: #2196f3; /* biru */
}

.navbar-brand span:nth-child(2) {
  color: #f57c00; /* oranye */
}

.navbar-brand span:last-child {
  font-size: 0.75rem;
}

@media screen and (max-width: 768px) {
  #searchSuggestion {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  .card-title {
    font-size: 1rem;
  }

  .promo-container {
    flex-direction: column;
  }

}

.tx_tittle{
  font-weight: bold;
  text-transform: uppercase;
}

.category-section {
  max-width: 100%;
  overflow: hidden;
}

.category-header {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.category-header i {
  color: #ffb400;
  margin-right: 10px;
}

.category-carousel {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.category-card {
  flex: 0 0 auto;
  width: 200px;
  background: white;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding: 12px;
  transition: transform 0.3s;
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-card img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 12px;
  font-weight: bolder;
  color: #333;
  margin: 0;
}

/* Hide scrollbar (optional) */
.category-carousel::-webkit-scrollbar {
  display: none;
}
.category-carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.promo-container {
  display: flex;
  gap: 16px;
}

.promo-main {
  flex: 2;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.promo-main img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.promo-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promo-box {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}

.promo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  padding: 10px;
  transition: 0.2s ease;
  text-align: left;
  height: 100%;
  position: relative;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.flash-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #e53935;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.product-title {
  font-size: 14px;
  font-weight: 600;
  margin: 6px 0;
  color: #333;
  min-height: 38px;
  overflow: hidden;
}

.product-variant {
  font-size: 12px;
  color: #777;
  margin-bottom: 4px;
}

.product-price {
  font-size: 16px;
  font-weight: bold;
  color: #e91e63;
}

.product-price-original {
  text-decoration: line-through;
  font-size: 12px;
  color: #888;
  margin-left: 6px;
}

.product-discount {
  font-size: 12px;
  background: #ff5252;
  color: #fff;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}


.add-cart {
  background: #2196f3;
  color: white;
  padding: 6px;
  text-align: center;
  border-radius: 6px;
  margin-top: 10px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
}

.add-cart:hover {
  background: #1976d2;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-info h2 {
  font-size: 24px;
  margin: 0;
}

.product-count {
  font-size: 14px;
  color: #888;
  margin-top: 4px;
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Toggle switch style */
.toggle-label {
  display: flex;
  align-items: center;
  font-weight: bold;
  gap: 8px;
  position: relative;
}

.toggle-label input[type="checkbox"] {
  display: none;
}

.slider {
  width: 40px;
  height: 20px;
  background-color: #ccc;
  border-radius: 999px;
  position: relative;
  transition: 0.3s;
}

.slider::before {
  content: "";
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 1px;
  left: 1px;
  transition: 0.3s;
}

/* ON state */
.toggle-label input:checked + .slider {
  background-color: #0d6efd;
}

.toggle-label input:checked + .slider::before {
  transform: translateX(20px);
}

/* Sort box */
.sort-box {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: white;
  font-size: 14px;
}

.sort-box label {
  margin-right: 4px;
  font-weight: bold;
}

.sort-box select {
  border: none;
  outline: none;
  background: none;
  color: #007bff;
  font-weight: 500;
}

.badge-waiting {
  background-color: #f39c12; /* orange */
  color: #fff;
}
.badge-submitted {
  background-color: #17a2b8; /* biru muda */
  color: #fff;
}
.badge-verification {
  background-color: #6f42c1; /* ungu */
  color: #fff;
}
.badge-paid {
  background-color: #28a745; /* hijau */
  color: #fff;
}
.badge-processing {
  background-color: #20c997; /* hijau toska */
  color: #fff;
}
.badge-shipped {
  background-color: #007bff; /* biru */
  color: #fff;
}
.badge-delivered {
  background-color: #00b894; /* hijau stabilo */
  color: #fff;
}
.badge-completed {
  background-color: #343a40; /* hitam */
  color: #fff;
}
.badge-cancelled {
  background-color: #dc3545; /* merah */
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 30px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 999;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

.breadcrumb-wrapper {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  color: #6c757d;
}

.breadcrumb li a {
  text-decoration: none;
  color: #007bff;
  transition: color 0.2s;
}

.breadcrumb li a:hover {
  color: #0056b3;
}

.breadcrumb li + li::before {
  content: "›";
  padding: 0 0.5rem;
  color: #ccc;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›"; /* Gunakan simbol modern */
  color: #999;
} 

.count-box {
  background-color: #f44336;
  color: white;
  font-weight: bold;
  font-size: 18px;
  padding: 6px 12px;
  border-radius: 6px;
  min-width: 40px;
  text-align: center;
}