/* ===== Start Body ===== */
/* Background Body */
.animated-gradient {
  background: linear-gradient(270deg, #ff0808, #ffff08, #ff0808);
  background-size: 400% 400%;
  animation: gradientShine 6s ease-in-out infinite;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: white;
  display: flex;
  flex-direction: column;
}

/* Animasi Background Menyala */
@keyframes gradientShine {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Header Modern */
.header-modern {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: linear-gradient(270deg, #ff0808, #ffff08, #ff0808);
  background-size: 600% 600%;
  animation: gradientAnimation 8s linear infinite;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #ffffff;
}

/* Animasi Gradient Header */
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Kontainer Header dan Konten Tengah */
.header-container,
.content-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
}

/* Konten Tengah */
.content-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ===================== */
/* Full Width Container  */
/* ===================== */
.container {
  width: 100%;
  padding: 12px 32px; /* Tambahan padding horizontal */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ================= */
/* Kiri: Logo & Menu */
/* ================= */
.left-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Tombol Menu Mobile */
/* ==== Tombol Menu Modern (Glassmorphism) ==== */
.menu-button {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.menu-button:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* ==== Menu Mobile Modern Slide ==== */
.mobile-menu {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideDown 0.4s ease forwards;
  z-index: 40;
  border-radius: 0 0 12px 12px;
}

/* Slide animation */
@keyframes slideDown {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

/* === Sembunyikan menu === */
.hidden {
  display: none;
}

/* Optional: link style */
.mobile-menu a {
  color: #1f2937;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: #ef4444;
}

/* SVG Icon */
.icon {
  width: 24px;
  height: 24px;
  color: #374151;
}

/* Logo */
.logo {
  width: 112px;
  height: auto;
}

/* =================== */
/* Kanan: Icon Buttons */
/* =================== */
.right-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-button {
  position: relative;
  padding: 8px;
  border: none;
  background: none;
  border-radius: 6px;
  transition: background 0.3s ease;
  cursor: pointer;
}

.icon-button:hover {
  background-color: #e5e7eb;
}

/* Tooltip */
.tooltip {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000000;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.icon-button:hover .tooltip {
  opacity: 1;
}
/* ===== End Header ===== */

/* ===== Start Promo Bar ===== */
.slot-bar-wrapper {
  width: 100%;
  background-color: #19191a;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Slot bar horizontal scrollable */
.slot-bar {
  display: flex;
  justify-content: flex-start; /* kiri ke kanan */
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
  scroll-behavior: smooth;
}

/* Link style */
.slot-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.slot-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  color: #ffccbc;
}

.slot-link img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
/* ===== End Promo Bar ===== */

/* ==== Star Breadcrumb ==== */
.breadcrumb {
  width: 100%;
  font-size: 14px;
  background-color: #fff;
  padding: 8px 0;
  color: #ff0808;
  border-bottom: 1px solid #f3f3f3;
}

.breadcrumb-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  color: #ff0808;
}

.breadcrumb span {
  color: #ff0808;
}

.breadcrumb-current {
  color: #1f2937;
  font-weight: bold;
}
/* ===== End Breadcrumb ===== */

/* ===== Start Marquee ===== */
.marquee-container {
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
  background: linear-gradient(270deg, #ff0808, #ffff08, #ff0808);
  background-size: 600% 600%;
  animation: glowingGradient 8s linear infinite;
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.4);
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  animation: marquee-scroll 15s linear infinite;
  padding-left: 100%;
}

/* Marquee scroll ke kiri */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Gradien menyala terus */
@keyframes glowingGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* ===== End Marquee ===== */

/* ===== Start Image Image ===== */
.produk-container {
  max-width: 500px;
  margin: auto;
}

.produk-gambar-utama {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 20px;
  position: relative;
}

.produk-gambar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease-in-out;
}

.produk-gambar.active {
  opacity: 1;
  position: relative;
}

.produk-thumbnail {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.6;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease, border 0.3s;
  border: 2px solid transparent;
}

.thumb:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumb.active {
  opacity: 1;
  border-color: #ff0808;
}
/* ===== End Image Image ===== */

/* ===== Start Informasi Produk ===== */
.produk-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 40px auto;
  max-width: 500px;
  margin-left: -2px;
  margin-bottom: -20px;
  margin-top: -10px;
}

.produk-nama {
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.produk-harga {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.produk-rating {
  display: flex;
  align-items: left;
  gap: 0.25rem;
  color: #ffffff;
}

.produk-ulasan {
  font-size: 0.875rem;
  color: #4b5563;
}
/* ===== End Informasi Produk ===== */
