/* ============================================================
   MORIBLOOM.CSS — Crayon Theme
   Warna diambil dari logo: pink, orange, hijau, biru, ungu
   ============================================================ */

/* ── IMPORT FONT ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* ── CSS VARIABLES ──────────────────────────────────────────── */
:root {
  --c-pink:       #F7619A;
  --c-pink-light: #FFE4EF;
  --c-orange:     #FF8C3B;
  --c-orange-light: #FFF0E4;
  --c-green:      #6DBE5A;
  --c-green-light: #E8F9E4;
  --c-blue:       #3B9EE8;
  --c-blue-light: #E0F0FF;
  --c-purple:     #9B6FD4;
  --c-purple-light: #F0EAFF;
  --c-yellow:     #FFD93D;
  --c-yellow-light: #FFFBE0;
  --c-bg:         #FFF9FB;
  --c-white:      #FFFFFF;
  --c-text:       #3A2A35;
  --c-text-soft:  #7A5F6E;
  --c-border:     #F0C8D8;
  --radius-card:  18px;
  --radius-btn:   50px;
  --shadow-soft:  0 4px 16px rgba(247,97,154,0.13);
  --shadow-card:  0 6px 24px rgba(155,111,212,0.12);
}

/* ── BASE ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--c-bg);
  color: var(--c-text);
  margin: 0; padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Pola titik-titik crayon di background body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(247,97,154,0.07) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(59,158,232,0.06) 1px, transparent 1px);
  background-size: 28px 28px, 14px 14px;
  background-position: 0 0, 7px 7px;
  pointer-events: none;
  z-index: 0;
}

/* ── PRELOADER ───────────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.preloader .spinner-grow {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--c-pink);
  animation: preload-spin 0.8s ease infinite;
}
@keyframes preload-spin {
  0%   { transform: scale(0); opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}

/* ── PAGE WRAPPER ────────────────────────────────────────────── */
.page-content-wrapper {
  position: relative;
  z-index: 1;
  margin-top: 0 !important;
  padding-bottom: 90px;
}

/* ── LOGO AREA ───────────────────────────────────────────────── */
.logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px 0;
}
.logo-area img {
  height: 100px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(247,97,154,0.22));
}

/* ── DOODLE STRIP ────────────────────────────────────────────── */
.doodle-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px 4px;
}
.doodle-strip span {
  display: inline-block;
  border-radius: 50%;
  flex-shrink: 0;
}
.doodle-strip span:nth-child(1)  { width:10px; height:10px; background:var(--c-pink);   }
.doodle-strip span:nth-child(2)  { width:7px;  height:7px;  background:var(--c-orange); }
.doodle-strip span:nth-child(3)  { width:12px; height:12px; background:var(--c-green);  }
.doodle-strip span:nth-child(4)  { width:8px;  height:8px;  background:var(--c-blue);   }
.doodle-strip span:nth-child(5)  { width:10px; height:10px; background:var(--c-purple); }
.doodle-strip span:nth-child(6)  { width:7px;  height:7px;  background:var(--c-yellow); }
.doodle-strip span:nth-child(7)  { width:11px; height:11px; background:var(--c-pink);   }
.doodle-strip span:nth-child(8)  { width:8px;  height:8px;  background:var(--c-orange); }
.doodle-strip span:nth-child(9)  { width:9px;  height:9px;  background:var(--c-green);  }
.doodle-strip span:nth-child(10) { width:7px;  height:7px;  background:var(--c-blue);   }

/* ── HERO SLIDER ─────────────────────────────────────────────── */
.mori-slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  margin-top: 10px;
  aspect-ratio: 16 / 7;
  background: #ddd;
  outline: 3px solid var(--c-pink);
  outline-offset: 3px;
  box-shadow: 0 8px 28px rgba(247,97,154,0.22), 0 2px 0 var(--c-orange);
}
.mori-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}
.mori-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.mori-slide img.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Overlay slider: gradasi gelap tipis di bawah, gambar tampak asli */
.mori-slide .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.15) 30%,
    rgba(0, 0, 0, 0) 55%
  );
}
.mori-slide .slide-text-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 22px;
}
.mori-slide .slide-text h4 {
  color: #fff;
  font-weight: 900;
  font-size: 1.15rem;
  margin-bottom: 3px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
  letter-spacing: -0.01em;
}
.mori-slide .slide-text p {
  color: rgba(255,255,255,0.92);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* Tombol crayon di slider */
.btn-crayon {
  display: inline-block;
  background: #fff;
  color: var(--c-pink);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 7px 20px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  border: 2.5px solid var(--c-pink);
  box-shadow: 3px 3px 0 var(--c-orange);
  transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.01em;
}
.btn-crayon:active, .btn-crayon:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--c-orange);
  color: var(--c-pink);
  text-decoration: none;
}

/* Slider dots */
.mori-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.mori-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.7);
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.mori-dot.active {
  background: #fff;
  transform: scale(1.3);
  border-color: var(--c-pink);
}

/* ── SECTION LABEL CRAYON ────────────────────────────────────── */
.crayon-label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-text);
  margin: 18px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.crayon-label::after {
  content: '';
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    var(--c-pink) 0%,
    var(--c-orange) 33%,
    var(--c-green) 66%,
    var(--c-blue) 100%);
}

/* ── WRAPPER PRODUK / KATEGORI ───────────────────────────────── */
.product-catagories-wrapper {
  padding: 4px 0 12px;
}

/* ── GRID PRODUK ─────────────────────────────────────────────── */
.produk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* ── CARD PRODUK ─────────────────────────────────────────────── */
.produk-card {
  background: var(--c-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border: 2.5px solid var(--c-border);
  box-shadow: 4px 4px 0 var(--c-pink-light);
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.produk-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 22px; height: 22px;
  background: linear-gradient(225deg, var(--c-pink-light) 50%, transparent 50%);
  border-bottom-left-radius: 8px;
  z-index: 1;
}
.produk-card:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--c-pink-light);
}
.produk-card .card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--c-pink-light);
}
.produk-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.produk-card:hover .card-img-wrap img {
  transform: scale(1.04);
}
.produk-card .card-img-wrap .no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-pink);
  font-size: 2rem;
  opacity: 0.45;
}
.produk-card .card-info {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.produk-card .card-nama {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}
.produk-card .card-desc {
  font-size: 0.72rem;
  color: var(--c-text-soft);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}
.produk-card .card-warna {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 4px;
  flex-wrap: wrap;
}
.warna-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
  flex-shrink: 0;
}
.warna-more {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--c-text-soft);
}

/* ── CARD KATEGORI (dipakai di halaman lain bila ada) ────────── */
.catagory-card {
  border-radius: var(--radius-card) !important;
  border: 2.5px solid var(--c-border) !important;
  box-shadow: 3px 3px 0 var(--c-pink-light) !important;
  transition: transform 0.15s, box-shadow 0.15s !important;
  background: var(--c-white) !important;
}
.catagory-card:active, .catagory-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--c-pink-light) !important;
}
.product-catagories-wrapper .catagory-card {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-catagories-wrapper .catagory-card .card-body {
  padding: 1rem 0.5rem;
  width: 100%;
}
.product-catagories-wrapper .catagory-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.product-catagories-wrapper .catagory-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  max-height: none !important;
  margin: 0 auto 8px;
}
.product-catagories-wrapper .catagory-card span {
  font-size: 0.82rem;
  line-height: 1.3;
  text-align: center;
  font-weight: 700;
  color: var(--c-text);
}
.row > div:nth-child(6n+1) .catagory-card { box-shadow: 3px 3px 0 var(--c-pink-light)   !important; border-color: var(--c-pink)   !important; }
.row > div:nth-child(6n+2) .catagory-card { box-shadow: 3px 3px 0 var(--c-orange-light) !important; border-color: var(--c-orange) !important; }
.row > div:nth-child(6n+3) .catagory-card { box-shadow: 3px 3px 0 var(--c-green-light)  !important; border-color: var(--c-green)  !important; }
.row > div:nth-child(6n+4) .catagory-card { box-shadow: 3px 3px 0 var(--c-blue-light)   !important; border-color: var(--c-blue)   !important; }
.row > div:nth-child(6n+5) .catagory-card { box-shadow: 3px 3px 0 var(--c-purple-light) !important; border-color: var(--c-purple) !important; }
.row > div:nth-child(6n+6) .catagory-card { box-shadow: 3px 3px 0 var(--c-yellow-light) !important; border-color: var(--c-yellow) !important; }

/* ── EMPTY STATE ─────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--c-text-soft);
  grid-column: 1 / -1;
}
.empty-state i {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.75rem;
  color: var(--c-pink);
  opacity: 0.4;
}
.empty-state p {
  font-weight: 700;
  font-size: 0.9rem;
}

/* ── FOOTER NAV ──────────────────────────────────────────────── */
.footer-nav-area {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  padding: 0 0 env(safe-area-inset-bottom, 0px);
}
.suha-footer-nav {
  background: var(--c-white);
  border-top: 2.5px solid var(--c-border);
  box-shadow: 0 -4px 20px rgba(247,97,154,0.14), 0 -1px 0 var(--c-pink-light);
  height: 64px;
}
.suha-footer-nav ul {
  margin: 0;
  list-style: none;
  height: 100%;
}
.suha-footer-nav ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--c-text-soft);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding: 6px 12px;
}
.suha-footer-nav ul li a i {
  font-size: 1.35rem;
  line-height: 1;
}
.suha-footer-nav ul li a:hover,
.suha-footer-nav ul li a.active {
  color: var(--c-pink);
}
.suha-footer-nav ul li a.active::after {
  content: '';
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--c-pink);
  margin-top: 2px;
}

/* ── INTERNET STATUS ─────────────────────────────────────────── */
.internet-connection-status {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  pointer-events: none;
}

/* ── CONTAINER ───────────────────────────────────────────────── */
.container {
  max-width: 540px;
  padding-left: 14px;
  padding-right: 14px;
}

/* ── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb {
  background: var(--c-pink-light);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--c-pink); }

/* ── SELECTION ───────────────────────────────────────────────── */
::selection {
  background: var(--c-pink-light);
  color: var(--c-pink);
}

/* ── ANIMASI MASUK ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.produk-card, .catagory-card {
  animation: fadeUp 0.35s ease both;
}
.produk-grid .produk-card:nth-child(1) { animation-delay: 0.05s; }
.produk-grid .produk-card:nth-child(2) { animation-delay: 0.10s; }
.produk-grid .produk-card:nth-child(3) { animation-delay: 0.15s; }
.produk-grid .produk-card:nth-child(4) { animation-delay: 0.20s; }
.produk-grid .produk-card:nth-child(5) { animation-delay: 0.25s; }
.produk-grid .produk-card:nth-child(6) { animation-delay: 0.30s; }

/* ── BREADCRUMB NAVIGASI KATEGORI ────────────────────────────── */
.mori-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin: 10px 0 4px;
  padding: 8px 14px;
  background: #fff;
  border: 2px dashed var(--c-pink);
  border-radius: 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.mori-breadcrumb a {
  color: var(--c-pink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.mori-breadcrumb a i { font-size: 16px; }
.mori-breadcrumb a:hover { text-decoration: underline; }
.mori-breadcrumb .sep {
  color: var(--c-text-soft);
  font-weight: 800;
}
.mori-breadcrumb .current {
  color: var(--c-text);
  background: var(--c-pink-light);
  padding: 1px 10px;
  border-radius: 10px;
}

/* ============================================================
   HALAMAN DETAIL PRODUK
   ============================================================ */
.detail-back { margin: 6px 0 2px; }
.detail-back a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-pink);
  text-decoration: none;
}

.detail-foto-wrap { margin: 8px 0 16px; }
.detail-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 2.5px solid var(--c-border);
  box-shadow: 4px 4px 0 var(--c-pink-light);
  background: var(--c-pink-light);
}
.detail-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
}
.detail-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.detail-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-nofoto {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  background: var(--c-pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-pink);
  font-size: 3rem;
  opacity: 0.5;
}
.detail-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.detail-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: 2px solid rgba(255,255,255,0.8);
  padding: 0; cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.detail-dot.active {
  background: #fff;
  transform: scale(1.3);
  border-color: var(--c-pink);
}

.detail-info { padding-bottom: 90px; }
.detail-nama {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--c-text);
  line-height: 1.25;
  margin: 0 0 10px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.detail-kategori {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.kat-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-purple);
  background: var(--c-purple-light);
  padding: 3px 12px;
  border-radius: 50px;
  text-decoration: none;
}
.detail-block {
  margin-bottom: 18px;
  background: var(--c-white);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  box-shadow: 3px 3px 0 var(--c-pink-light);
  overflow: hidden;
}
.detail-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--c-pink);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-label i { font-size: 1rem; }

.detail-warna {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.warna-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.warna-dot-lg {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px rgba(0,0,0,0.14);
}
.warna-nama {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--c-text-soft);
}

.detail-tabel {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.detail-tabel td {
  padding: 5px 0;
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: break-word;
}
.detail-tabel td:first-child {
  color: var(--c-text-soft);
  font-weight: 600;
  width: 45%;
}
.detail-tabel td:last-child {
  color: var(--c-text);
  font-weight: 700;
}

.detail-deskripsi {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--c-text);
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Tombol WhatsApp mengambang */
.wa-float {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 12px 26px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45), 0 2px 0 #128C7E;
  border: 2.5px solid #fff;
  transition: transform 0.15s;
}
.wa-float:active { transform: translateX(-50%) translateY(2px); }
.wa-float i { font-size: 1.3rem; }

/* ============================================================
   SEKSI KATEGORI DI HALAMAN DEPAN
   (label ikon + nama + garis, lalu produk unggulan sliding)
   ============================================================ */
.kat-seksi {
  margin: 20px 0;
}

/* Header kategori: ikon + nama + garis crayon */
.kat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  text-decoration: none;
}
.kat-label-ikon {
  width: 78px;
  height: 78px;
  object-fit: contain;
  flex-shrink: 0;
}
.kat-label-nama {
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-text);
  white-space: nowrap;
  flex-shrink: 0;
}
.kat-label::after {
  content: '';
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    var(--c-pink) 0%,
    var(--c-orange) 33%,
    var(--c-green) 66%,
    var(--c-blue) 100%);
}

/* Slider produk unggulan (geser horizontal) */
.kat-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.kat-slider::-webkit-scrollbar { height: 0; display: none; }

.kat-produk-card {
  flex: 0 0 auto;
  width: 132px;
  scroll-snap-align: start;
  background: var(--c-white);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 2px solid var(--c-border);
  box-shadow: 3px 3px 0 var(--c-pink-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.kat-produk-card:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--c-pink-light);
}
.kat-produk-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--c-pink-light);
}
.kat-produk-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kat-produk-img .no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-pink);
  font-size: 1.5rem;
  opacity: 0.45;
}
.kat-produk-info {
  padding: 7px 8px 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.kat-produk-nama {
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}
.kat-produk-desc {
  font-size: 0.66rem;
  color: var(--c-text-soft);
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: break-word;
}
.kat-produk-warna {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
  margin-top: 2px;
}

/* Kartu "Lihat Semua" di ujung slider */
.kat-lihat-card {
  flex: 0 0 auto;
  width: 96px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 14px;
  border: 2px dashed var(--c-pink);
  background: var(--c-pink-light);
  color: var(--c-pink);
  transition: transform 0.15s;
}
.kat-lihat-card:active { transform: scale(0.97); }
.kat-lihat-panah {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.kat-lihat-teks {
  font-size: 0.74rem;
  font-weight: 800;
  text-align: center;
}

/* Kategori kosong */
.kat-kosong {
  text-align: center;
  padding: 18px;
  color: var(--c-text-soft);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--c-white);
  border: 2px dashed var(--c-border);
  border-radius: 14px;
}
.kat-kosong i {
  color: var(--c-pink);
  opacity: 0.5;
  margin-right: 4px;
}