:root {
  --primary: #a9e1b0;
  --primary-dark: #7ec987;
  --font: sans-serif;
}

html,
body {
  font-size: 14px;
  width: 100%;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
  font-weight: 400;
}

.global {
  width: 100%;
  overflow: unset;
}

.text-orange {
  color: #f17d64;
}
.text-white {
  color: #ffffff !important;
}

.bg-primary {
  background-color: #a9e1b0;
}
.bg-black {
  background-color: #222222;
}
.bg-white {
  background-color: #ffffff;
}

.widget_item h5 {
  font-weight: 700;
}
.widget_item .btn:hover {
  background-color: #a9e1b0;
}
.widget_item li a {
  color: #aaa;
}
.widget_item li a:hover {
  color: #fff;
}

/* slider */

.hero-swiper {
  width: 100%;
  height: 580px;
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  margin-bottom: 16px;
  border-radius: 14px;
}

.hero-swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .hero-swiper {
    height: 420px;
  }
}
@media (max-width: 480px) {
  .hero-swiper {
    height: 320px;
  }
}

.hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* Slide background image */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
  width: 100%;
  height: 100%;
}
.swiper-slide-active .slide-bg {
  transform: scale(1);
}

/* Overlay gradient */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
}

/* Slide content */
.slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}
.slide-inner {
  max-width: 560px;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .slide-inner {
    padding: 0 20px;
    max-width: 100%;
  }
}

.slide-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s 0.2s,
    transform 0.5s 0.2s;
}
.slide-title {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s 0.35s,
    transform 0.55s 0.35s;
}
.slide-title em {
  font-style: normal;
  color: #5ef5d4;
}
.slide-desc {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s 0.5s,
    transform 0.55s 0.5s;
}
.slide-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s 0.65s,
    transform 0.5s 0.65s;
}

/* Animate in on active slide */
.swiper-slide-active .slide-badge,
.swiper-slide-active .slide-title,
.swiper-slide-active .slide-desc,
.swiper-slide-active .slide-actions {
  opacity: 1;
  transform: translateY(0);
}

/* CTA Buttons */
.btn-slide-primary {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 8px;
  border: 2px solid var(--primary);
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-slide-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-slide-secondary {
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-slide-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* Prev / Next buttons */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition:
    background 0.2s,
    border 0.2s;
  color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-swiper .swiper-button-prev {
  left: 20px;
}

.hero-swiper .swiper-button-next {
  right: 20px;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
  font-size: 16px;
  font-weight: 900;
}

/* Slide counter */
.slide-counter {
  position: absolute;
  bottom: 20px;
  right: 24px;
  z-index: 10;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font);
}
.slide-counter .current {
  font-size: 22px;
  color: #fff;
}
.slide-counter .total {
  color: rgba(255, 255, 255, 0.5);
}

/* Produk Section */
.produk-section {
  padding: 40px 0 40px;
  background: #f8faf8;
}

/* Header */
.produk-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.produk-label {
  display: inline-block;
  background: #d4f5e2;
  color: #2a7a4e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 10px;
}
.produk-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a2e20;
  margin-bottom: 6px;
  line-height: 1.2;
}

.produk-subtitle {
  color: #6b7c71;
  font-size: 14px;
  margin: 0;
}
.btn-lihat-semua {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #2aac63;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid #2aac63;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-lihat-semua:hover {
  background: #2aac63;
  color: #fff;
  transform: translateY(-2px);
}

/* Filter Pills */
.kategori-pills {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.pill {
  background: #fff;
  border: 1.5px solid #d8e8dc;
  color: #5a7066;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s;
}
.pill:hover,
.pill.active {
  background: #2aac63;
  border-color: #2aac63;
  color: #fff;
}

/* Product Grid */
.produk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 992px) {
  .produk-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .produk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .produk-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .produk-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* Card */
.produk-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e6f0ea;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  cursor: pointer;
}
.produk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(42, 172, 99, 0.12);
}

/* Card Image */
.produk-img-wrap {
  position: relative;
  overflow: hidden;
  height: 180px;
  background: #f0f7f2;
}
.produk-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.produk-card:hover .produk-img-wrap img {
  transform: scale(1.06);
}

/* Badges */
.badge-diskon,
.badge-baru {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.badge-diskon {
  background: #ff5252;
  color: #fff;
}
.badge-baru {
  background: #2aac63;
  color: #fff;
}

/* Overlay */
.produk-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 46, 32, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 3;
}
.produk-card:hover .produk-overlay {
  opacity: 1;
}
.overlay-btn {
  background: #fff;
  color: #1a2e20;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transform: translateY(10px);
  transition: transform 0.25s 0.05s;
}
.produk-card:hover .overlay-btn {
  transform: translateY(0);
}

/* Card Info */
.produk-info {
  padding: 14px 16px 16px;
}
.kategori-tag {
  font-size: 11px;
  font-weight: 600;
  color: #2aac63;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.produk-nama {
  font-size: 13.5px;
  font-weight: 700;
  color: #1a2e20;
  margin: 6px 0 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.produk-harga {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.harga-coret {
  font-size: 12px;
  color: #aaa;
  text-decoration: line-through;
}
.harga-utama {
  font-size: 15px;
  font-weight: 800;
  color: #e8353a;
}
.produk-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}
.produk-rating i {
  font-size: 12px;
  color: #f5a623;
}
.produk-rating span {
  font-size: 12px;
  color: #999;
  margin-left: 4px;
}

/* Show More Button */
.show-more-wrap {
  text-align: center;
}
.btn-show-more {
  display: inline-flex;
  align-items: center;
  background: #2aac63;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(42, 172, 99, 0.28);
}
.btn-show-more:hover {
  background: #1e8a50;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 172, 99, 0.35);
}

/* Hidden card state for filter */
.produk-card.hidden {
  display: none;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0 60px;
}
.faq-item {
  border: 1px solid #e6f0ea;
  border-radius: 8px;
  margin-bottom: 16px;
}
.head-title {
  margin-bottom: 40px;
}
.accordion-button:not(.collapsed) {
  color: #00a885;
  background-color: #f0fdf9;
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 168, 133, 0.25);
}

.accordion-button.collapsed::after {
  content: "+";
  color: #999;
}

/* Footer */
.footer {
  background: #222222;
}
.footer-box {
  border-radius: 16px;
  padding: 30px 30px;
  overflow: hidden;
  padding-top: 40px;
}
.main_footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  margin-top: 10px;
}

/* Floating WhatsApp Button */

.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  animation: wa-pulse 2.5s infinite;
}
.floating-wa:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
  color: #fff;
}
@keyframes wa-pulse {
  0%,
  100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 4px 28px rgba(37, 211, 102, 0.75);
  }
}

/* detail produk */

/* Detail produk */
.detail-section {
  padding: 48px 0 60px;
  background: #f8faf8;
}

/* Gambar produk */
.detail-img-wrap {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e6f0ea;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.no-foto-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #aaa;
  background: #f0f7f2;
  font-size: 13px;
  gap: 12px;
}

/* Info produk */
.detail-info {
  padding: 0 0 0 16px;
}
@media (max-width: 768px) {
  .detail-info {
    padding: 24px 0 0;
  }
}

.detail-kategori {
  font-size: 12px;
  font-weight: 700;
  color: #2aac63;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.detail-nama {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a2e20;
  line-height: 1.25;
  margin-bottom: 16px;
}
@media (max-width: 576px) {
  .detail-nama {
    font-size: 1.4rem;
  }
}

/* Harga */
.detail-harga-wrap {
  margin-bottom: 20px;
}
.detail-harga-utama {
  font-size: 2rem;
  font-weight: 800;
  color: #e8353a;
  line-height: 1;
}
.detail-harga-coret {
  font-size: 1rem;
  color: #aaa;
  text-decoration: line-through;
  margin-left: 10px;
}
.detail-badge-diskon {
  display: inline-block;
  background: #ff5252;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  margin-left: 8px;
  vertical-align: middle;
}

/* Spesifikasi */
.detail-specs {
  background: #f0f7f2;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.detail-specs table {
  width: 100%;
  font-size: 13px;
}
.detail-specs td {
  padding: 5px 8px 5px 0;
  vertical-align: top;
}
.detail-specs td:first-child {
  color: #7a9080;
  font-weight: 600;
  white-space: nowrap;
  width: 120px;
}
.detail-specs td:last-child {
  color: #1a2e20;
  font-weight: 500;
}

/* Deskripsi */
.detail-deskripsi {
  background: #fff;
  border: 1px solid #e6f0ea;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.detail-deskripsi h6 {
  font-weight: 700;
  color: #1a2e20;
  margin-bottom: 10px;
}
.detail-deskripsi p {
  font-size: 14px;
  line-height: 1.75;
  color: #4a5e50;
  margin: 0;
}

/* Tombol WA */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}
.btn-wa:hover {
  background: #1ebe5a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}
.btn-wa i {
  font-size: 20px;
}

/* Produk terkait */
.terkait-section {
  padding: 48px 0;
  background: #fff;
}
.terkait-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a2e20;
  margin-bottom: 24px;
}

/* Breadcrumb */
.detail-breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: #7a9080;
}
.detail-breadcrumb a {
  color: #2aac63;
  text-decoration: none;
}
.detail-breadcrumb a:hover {
  text-decoration: underline;
}
.detail-breadcrumb .sep {
  margin: 0 8px;
}

/* Navbar */

/* Navbar Topbar */
.navbar-topbar {
  padding: 6px 0;
  font-size: 12px;
  color: #4a6a50;
}

/* Navbar active link */
.navbar .nav-link.active {
  color: #2aac63 !important;
}
.navbar .nav-link:hover {
  color: #2aac63 !important;
}

/* Navbar icon button */
.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-icon-btn:hover {
  background: #f0f7f2;
  color: #2aac63 !important;
}
