/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero-swiper {
  width: 100%;
  height: 100vh;
}

/* HERO — overlap di belakang navbar transparan (desktop only).
   Tarik banner naik sebesar tinggi navbar-intro, supaya bagian
   paling atas banner ada TEPAT di y=0 layar, "ketutup" navbar yang
   transparan. Nilai otomatis ikut var(--nav-height-intro) yang
   didefinisikan di navbar-base.css. */
@media (min-width: 901px) {
  .hero-swiper {
    margin-top: calc(-1 * var(--nav-height-intro, 92px));
    height: calc(100vh + var(--nav-height-intro, 92px));
  }
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-slide picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Backdrop blur — dari foto yang sama, cuma dipakai buat isi ruang
   kosong di mobile pas .hero-bg-img diganti jadi object-fit:contain
   (biar frame asli banner keliatan utuh, gak ke-crop). Mati total di
   desktop karena di sana cover-crop udah pas dan gak butuh ini. */
.hero-bg-blur {
  display: none;
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

@media (max-width: 767px) {
  .hero-bg-img {
    object-fit: contain;
  }
  .hero-bg-blur {
    display: block;
    filter: blur(35px) brightness(0.82) saturate(1.1);
    transform: scale(1.15); /* biar tepi hasil blur gak nunjukin batas kotak */
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  padding: 0 24px;
}
.hero-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  margin-bottom: 20px;
  display: block;
}
.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  margin: 0;
}
.hero-title em {
  font-style: italic;
  color: #c8e6c9;
}

/* CTA sekarang independen dari .hero-content — posisinya diikat
   ke bagian bawah slide (bukan ikut center bareng teks), sama rata
   di SEMUA banner. Angka "bottom" ini yang dipas-in biar CTA jatuh
   pas di bawah objek/produk di foto. */
.hero-btn {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-block;
  padding: 13px 40px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  transition: all 0.25s;
}
.hero-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
  transform: translateX(-50%) translateY(-2px);
}
.swiper-button-prev,
.swiper-button-next {
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.25);
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 14px;
  font-weight: 800;
}
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  width: 5px;
  height: 5px;
}
.swiper-pagination-bullet-active {
  background: #fff;
  width: 20px;
  border-radius: 3px;
}

/* ═══════════════════════════════════════════════
   MARQUEE TRUST STRIP
═══════════════════════════════════════════════ */
.trust-strip {
  background: var(--clr-forest, #1b4332);
  overflow: hidden;
  padding: 18px 0;
  cursor: default;
}
.trust-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.trust-strip:hover .trust-track {
  animation-play-state: paused;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.trust-item {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  padding: 0 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}
.trust-item::after {
  content: "·";
  color: rgba(255, 255, 255, 0.3);
  font-style: normal;
  font-size: 1.5rem;
}
.trust-item:last-child::after {
  display: none;
}

/* ═══════════════════════════════════════════════
   KENAPA PILIH KAMI — card grid trust section
   (menggantikan posisi lama trust-strip/marquee;
   marquee-nya sendiri sekarang ditaruh di bawah,
   sebelum footer — lihat blok MARQUEE TRUST STRIP)

   Cards mulai tersembunyi (opacity:0, translateY) dan
   di-reveal satu-satu (stagger) oleh home.js pakai
   IntersectionObserver — lihat blok WHY US di home.js.
═══════════════════════════════════════════════ */
.why-us-section {
  background: var(--clr-cream, #faf8f4);
  padding: 4rem 1.25rem;
  border-bottom: 1px solid #ebe6dc;
}
.why-us-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.why-us-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}
.why-us-eyebrow {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-gold, #d4af6a);
  margin-bottom: 0.5rem;
}
.why-us-title-main {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--clr-forest, #1b4332);
  margin: 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.why-us-card {
  position: relative;
  text-align: center;
  padding: 2rem 1.25rem 1.75rem;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #ece7db;
  box-shadow: 0 2px 10px rgba(27, 67, 50, 0.04);
  overflow: hidden;
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease;
}
.why-us-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.why-us-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--clr-gold, #d4af6a);
  transition:
    width 0.4s ease,
    left 0.4s ease;
}
.why-us-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(27, 67, 50, 0.1);
  border-color: rgba(212, 175, 106, 0.4);
}
.why-us-card.is-visible:hover {
  transform: translateY(-6px);
}
.why-us-card:hover::before {
  width: 100%;
  left: 0;
}

/* Varian "sorotan" — dipakai di card Gratis Ongkir, jadi anchor
   visual section ini (background beda tipis + border keemasan). */
.why-us-card--highlight {
  border-color: rgba(212, 175, 106, 0.55);
  background: linear-gradient(180deg, #fffdf7 0%, #fff 65%);
}
.why-us-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--clr-forest, #1b4332);
  padding: 0.22rem 0.55rem;
  border-radius: 20px;
  white-space: nowrap;
}

.why-us-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: transparent;
  color: var(--clr-forest, #1b4332);
  margin-bottom: 1rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.why-us-card:hover .why-us-icon {
  transform: scale(1.08) rotate(-4deg);
}

/* Logo asli (Halal/BPOM) — dipakai gantiin SVG icon generik. Dikasih
   ukuran lebih besar dari icon SVG (26px) karena logo butuh detail
   lebih jelas biar gak buram/susah dibaca di badge bulat ini. */
.why-us-icon--logo {
  width: 64px;
  height: 64px;
  background: transparent;
}
.why-us-icon--logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.why-us-card:hover .why-us-icon--logo img {
  transform: scale(1.08);
}

.why-us-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}
.why-us-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  color: #888;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
  }
  .why-us-section {
    padding: 2.75rem 1rem;
  }
  .why-us-card {
    padding: 1.5rem 0.75rem 1.25rem;
  }
  .why-us-heading {
    margin-bottom: 1.75rem;
  }
  .why-us-title-main {
    font-size: 1.5rem;
  }
}

@media (max-width: 380px) {
  .why-us-icon {
    width: 46px;
    height: 46px;
  }
  .why-us-icon--logo {
    width: 52px;
    height: 52px;
  }
  .why-us-icon--logo img {
    width: 64px;
    height: 64px;
  }
  .why-us-title {
    font-size: 1.02rem;
  }
  .why-us-desc {
    font-size: 0.72rem;
  }
  .why-us-badge {
    top: 0.6rem;
    right: 0.6rem;
    font-size: 0.56rem;
  }
}

/* Hormati preferensi user yang matiin animasi di OS/browser-nya */
@media (prefers-reduced-motion: reduce) {
  .why-us-card {
    opacity: 1;
    transform: none;
    transition:
      box-shadow 0.3s ease,
      border-color 0.3s ease;
  }
  .why-us-card:hover,
  .why-us-card.is-visible:hover {
    transform: none;
  }
  .why-us-icon,
  .why-us-icon--logo img {
    transition: none;
  }
  .why-us-card:hover .why-us-icon,
  .why-us-card:hover .why-us-icon--logo img {
    transform: none;
  }
}

/* ═══════════════════════════════════════════════
   PROMO SPLIT SECTION
═══════════════════════════════════════════════ */
.promo-split {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 520px;
}
.promo-img {
  position: relative;
  overflow: hidden;
}
.promo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.promo-split:hover .promo-img img {
  transform: scale(1.03);
}
.promo-body {
  background: #f5f0e8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem 4.5rem;
  position: relative;
}
.promo-body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(27, 67, 50, 0.12);
}
.promo-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-sage, #52796f);
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: block;
}
.promo-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
}
.promo-heading em {
  font-style: italic;
  color: var(--clr-forest, #1b4332);
}
.promo-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.84rem;
  color: #666;
  line-height: 1.75;
  max-width: 340px;
  margin-bottom: 2rem;
}
.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--clr-forest, #1b4332);
  text-decoration: none;
  border-bottom: 1.5px solid var(--clr-forest, #1b4332);
  padding-bottom: 3px;
  transition:
    gap 0.2s,
    opacity 0.2s;
}
.promo-cta:hover {
  gap: 0.9rem;
  opacity: 0.75;
  color: var(--clr-forest, #1b4332);
}
.promo-cta svg {
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   DIVIDER TEXT
   (dipakai di beberapa section home, bukan cuma katalog —
   TETAP di sini, jangan dihapus)
═══════════════════════════════════════════════ */
.section-divider {
  text-align: center;
  padding: 4rem 1.25rem 0;
  position: relative;
}
.section-divider::before {
  content: "";
  display: block;
  width: 40px;
  height: 1.5px;
  background: var(--clr-gold, #b5924c);
  margin: 0 auto 1.5rem;
}
.section-divider-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.15;
  margin: 0;
}
.section-divider-title em {
  font-style: italic;
  color: var(--clr-sage, #52796f);
}
.section-divider-sub {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.75rem;
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════
   NOTE: Section "FILTER BAR" dan "PRODUCT GRID" yang dulu
   ada di sini SUDAH DIPINDAH ke css/shop.css + shop-desktop.css.
   Kalau home.php nampilin katalog produk (partial yang sama
   dengan shop.php), pastikan home.php juga load kedua file itu.
   Jangan tambahkan lagi rule .prod-grid/.prod-card/.filter-bar
   di file ini — bakal duplikat & berpotensi konflik.
═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .promo-split {
    grid-template-columns: 1fr;
  }
  .promo-img {
    height: 320px;
  }
  .promo-body {
    padding: 2.5rem 1.5rem;
  }
  .promo-body::before {
    display: none;
  }
}

/* Hero di HP: gak dipaksa 100vh lagi. Sejak .hero-bg-img pakai
   object-fit:contain di breakpoint ini (biar frame banner gak
   ke-crop), motong tinggi container ke rasio yang mendekati rasio
   asli banner (landscape, ±2:1) — jadi gambar produk & CTA di
   dalam banner tetap dominan, bukan strip kecil dikelilingi blur.
   Sesuaikan angka vw ini kalau rasio banner asli berubah. */
@media (max-width: 767px) {
  .hero-swiper {
    height: 50vw;
    min-height: 260px;
    max-height: 70vh;
  }
}
.trust-strip,
.why-us-section,
.promo-split,
.featured-section,
.katalog-section {
  max-width: 100%;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════
   HOME — LATEST ARTICLES (list style, portal berita)
═══════════════════════════════════════════════ */
.home-articles-section {
  padding: 4rem 0 5rem;
  background: var(--clr-cream, #faf8f4);
  border-top: 1px solid #ebe6dc;
}
.home-articles-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.home-articles-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}
.home-article-row {
  background: #fff;
  border: 1px solid #ebe6dc;
  border-radius: 12px;
  display: flex;
  gap: 1.5rem;
  padding: 1.1rem;
  text-decoration: none;
  transition:
    opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  opacity: 0;
  transform: translateY(18px);
}
/* Reveal — dipicu bareng section masuk viewport (lihat home.js) */
.home-articles-section.is-visible .home-article-row {
  opacity: 1;
  transform: translateY(0);
}
.home-articles-section.is-visible .home-article-row:nth-child(1) {
  transition-delay: 0.05s;
}
.home-articles-section.is-visible .home-article-row:nth-child(2) {
  transition-delay: 0.14s;
}
.home-articles-section.is-visible .home-article-row:nth-child(3) {
  transition-delay: 0.23s;
}
.home-articles-section.is-visible .home-article-row:nth-child(4) {
  transition-delay: 0.32s;
}
.home-articles-section.is-visible .home-article-row:nth-child(n + 5) {
  transition-delay: 0.4s;
}

.home-article-row:hover {
  border-color: #d7cfc0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}
@media (prefers-reduced-motion: reduce) {
  .home-article-row {
    opacity: 1;
    transform: none;
    transition:
      box-shadow 0.2s ease,
      border-color 0.2s ease;
  }
}
.home-article-row-img {
  flex: none;
  width: 200px;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
}
.home-article-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.home-article-row:hover .home-article-row-img img {
  transform: scale(1.04);
}
.home-article-img-ph {
  width: 100%;
  height: 100%;
  background: #ede8e0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-article-row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-article-cat {
  font-family: "Inter", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--clr-forest, #1b4332);
  margin-bottom: 0.5rem;
}
.home-article-row-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.home-article-row-excerpt {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  color: #888;
  line-height: 1.6;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-article-date {
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  color: #aaa;
}
.home-articles-footer {
  text-align: center;
  margin-top: 2.5rem;
}
.home-articles-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--clr-forest, #1b4332);
  text-decoration: none;
  border-bottom: 1.5px solid var(--clr-forest, #1b4332);
  padding-bottom: 3px;
  transition:
    gap 0.2s,
    opacity 0.2s;
}
.home-articles-cta:hover {
  gap: 0.9rem;
  opacity: 0.75;
  color: var(--clr-forest, #1b4332);
}

@media (max-width: 600px) {
  .home-articles-section {
    padding: 3rem 0 3.5rem;
  }
  .home-articles-list {
    gap: 0.85rem;
    margin-top: 1.75rem;
  }
  .home-article-row {
    flex-direction: column;
    gap: 0.9rem;
    padding: 0.9rem;
  }
  .home-article-row-img {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 7px;
  }
}

/* ==========================================================
   FEATURED PRODUCTS - COVERFLOW CAROUSEL
   ========================================================== */

.featured-coverflow {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f4 100%);
  overflow: hidden;
  --tint-rgb:
    27, 67, 50; /* fallback: hijau forest, sebelum warna produk ke-extract */
}

/* Tint radial lembut di belakang carousel, warnanya ngikut warna dominan
   gambar produk yang lagi aktif (di-set via JS ke --tint-rgb). Didesaturasi
   pakai alpha rendah biar cuma jadi "nuansa", bukan warna terang norak. */
.featured-coverflow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 55% at 50% 45%,
    rgba(var(--tint-rgb), 0.16) 0%,
    rgba(var(--tint-rgb), 0) 72%
  );
  transition: background 0.8s ease;
  pointer-events: none;
  z-index: 0;
}

.featured-coverflow > .container {
  position: relative;
  z-index: 1;
}

.featured-heading {
  text-align: center;
  margin-bottom: 48px;
}

.featured-eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d4af6a;
}

.featured-title {
  margin-top: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  color: #1b4332;
}

/* ---------- entrance reveal (masuk viewport) ---------- */

.coverflow-wrapper,
.coverflow-dots {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.featured-coverflow.is-visible .coverflow-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.featured-coverflow.is-visible .coverflow-dots {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

/* ---------- wrapper ---------- */

.coverflow-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- viewport & track ---------- */

.coverflow-viewport {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  perspective: 1400px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.coverflow-viewport.is-dragging {
  cursor: grabbing;
}

.coverflow-track {
  position: absolute;
  inset: 0;
}

.coverflow-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transform-origin: center center;
  transform: translate(-50%, -50%) translateX(var(--tx, 0px))
    scale(var(--scale, 1));
  opacity: var(--opacity, 1);
  filter: blur(var(--blur, 0px));
  z-index: var(--z, 1);
  transition:
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  cursor: pointer;
}

.coverflow-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
  filter: drop-shadow(0 25px 25px rgba(27, 67, 50, 0.18));
}

/* Idle "breathing" float — cuma di gambar kartu aktif */
.coverflow-card.is-active img {
  animation: cf-float 4.4s ease-in-out infinite;
}

@keyframes cf-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.coverflow-viewport.is-dragging .coverflow-card img {
  animation-play-state: paused;
}

.coverflow-card.is-active {
  cursor: default;
}

.coverflow-card-img-ph {
  width: 70%;
  height: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f3ee;
  border-radius: 16px;
  color: #c9c2b3;
  font-size: 2.5rem;
}

/* ---------- dots ---------- */

.coverflow-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.coverflow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(27, 67, 50, 0.25);
  cursor: pointer;
  transition:
    background 0.25s ease,
    width 0.25s ease;
}

.coverflow-dot.is-active {
  width: 26px;
  border-radius: 5px;
  background: #d4af6a;
}

/* ---------- responsive ---------- */

@media (max-width: 991px) {
  .coverflow-viewport {
    height: 430px;
  }
  .coverflow-card {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 575px) {
  .featured-title {
    font-size: 2rem;
  }
  .coverflow-viewport {
    height: 320px;
  }
  .coverflow-card {
    width: 190px;
    height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-track {
    animation: none;
  }
  .coverflow-card.is-active,
  .coverflow-card.is-active img {
    animation: none;
  }
  .coverflow-wrapper,
  .coverflow-dots {
    transition: none;
  }
}
