/* ===== Start Menu Header ===== */
.topbar {
  background: linear-gradient(90deg, #003b25, #003b25);
  border-bottom: 1px solid #eee;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-img {
  height: 36px;
  object-fit: contain;
}

.search-bar {
  flex: 1;
  margin: 0 1rem;
  overflow: hidden;
}

.marquee-text {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
}

.topbar-menu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-login,
.btn-register {
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  color: #ffffff;
  transition: background 0.2s;
}

.btn-login:hover,
.btn-register:hover {
  background-color: transparent;
}

.menu-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.icon-track {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: #f87171;
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 9999px;
}
/* ===== End Menu Header ===== */

/* ===== Strat BreadCrumb ===== */
.breadcrumb-container {
  background: transparent;
  padding: 1rem;
  border-radius: 0.75rem;
}

.breadcrumb-link {
  color: #e5ff00;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb-link:hover {
  text-decoration: underline;
  color: #ffffff;
}

.breadcrumb-icon {
  width: 1rem;
  height: 1rem;
  color: #9ca3af; /* gray-400 */
}

.breadcrumb-current {
  font-weight: 600;
  color: #e5ff00; /* gray-800 */
}
/* ===== End BreadCrumb ===== */

/* ===== Start Image ===== */
.product-preview {
  max-width: 28rem; /* set sesuai md:max-w-md */
  margin-left: auto;
  margin-right: auto;
  margin-top: -30px;
}

.main-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb; /* gray-200 */
}

.main-image {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}

.slide-counter {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  font-size: 0.75rem;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.thumb-img {
  cursor: pointer;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  transition: border 0.2s ease;
}

.thumb-img:hover {
  border-color: #ef4444; /* red-500 */
}

.thumb-img.active {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
}
/* ===== End Image ===== */

/* ===== Start Info Produk ===== */
.info-produk {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.produk-judul {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: #e5ff00; /* gray-800 */
}

.produk-rating {
  color: #e5ff00; /* kuning bintang */
  font-size: 1rem;
  font-weight: 500;
}

.ulasan {
  color: #ffffff; /* gray-500 */
  font-size: 0.875rem;
}

.harga-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.produk-harga {
  color: #e5ff00; /* merah */
  font-size: 1.5rem;
  font-weight: bold;
  animation: pulseHarga 1.5s infinite;
}

@keyframes pulseHarga {
  0%,
  100% {
    transform: scale(1);
    color: #ffffff;
  }
  50% {
    transform: scale(1.05);
    color: #eeff00;
  }
}

.produk-coret {
  text-decoration: line-through;
  font-size: 0.875rem;
  color: #ffffff;
}

.produk-diskon {
  background-color: #dc2626;
  color: #e5ff00;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}
/* ===== End Info Produk ===== */

/* ===== Start Artikel ===== */
.artikel-wrapper {
  background: linear-gradient(90deg, #003b25, #003b25);
  color: white;
  padding: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: sans-serif;
}

.artikel-judul {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.4;
  border-bottom: 1px solid white;
  padding-bottom: 0.5rem;
}

.artikel-meta {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

.artikel-konten {
  font-size: 1rem;
  line-height: 1.7;
  max-height: 120px;
  overflow: hidden;
  transition: all 0.5s ease;
  position: relative;
}

.subjudul {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fde68a; /* text-yellow-200 */
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 1rem;
}

.artikel-btn {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  color: white;
  transition: color 0.3s ease;
}

.artikel-btn:hover {
  color: #fde68a; /* text-yellow-200 */
}

/* ===== End Artikel ===== */

/* ===== Star Info Toko ===== */
.info-toko-seller {
  background-color: #003b25;
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  max-width: 100%;
}

/* Header Toko */
.toko-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.toko-header-left {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.logo-toko {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 2px solid white;
  object-fit: cover;
}

.toko-nama {
  font-size: 1rem;
  font-weight: 600;
}

.toko-tag-group {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.badge-slot {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background-color: #ec4899;
  border-radius: 9999px;
  font-weight: 600;
}

.badge-rating {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background-color: #2563eb;
  border-radius: 0.375rem;
}

/* Follow Button */
.btn-follow {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border: 1px solid white;
  color: white;
  border-radius: 0.375rem;
  font-weight: 500;
  background: transparent;
  transition: 0.3s ease;
}

.btn-follow:hover {
  background-color: white;
  color: #2563eb;
}

/* Statistik */
.toko-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 600;
}

.stat-label {
  margin-top: 0.25rem;
}

/* Kunjungi Toko */
.btn-kunjungi {
  text-align: center;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 0.375rem;
  background: linear-gradient(to right, #ef4444, #facc15, #22c55e);
  color: white;
}
/* ===== End Info Toko ===== */

/* ===== Menu Footer ===== */
/* Tailwind */
/* ===== End Footer ===== */
