/* ===================================================================
   THE JEMBRONG — produk.css (khusus produk.html)
   =================================================================== */

/* ---------- PAGE HEADER ---------- */
.produk-header { padding-top: 70px; padding-bottom: 30px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; background: transparent; color: var(--color-text); }
.produk-header h1 { font-size: 40px; font-weight: 600; }
.produk-header p { color: var(--color-text-muted); max-width: 560px; font-size: 15px; line-height: 1.7; }
.shopee-note { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 100px; background: #FFF0EC; margin-top: 4px; }
.shopee-note .icon { width: 16px; height: 16px; background: var(--color-white); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; padding: 2px; box-sizing: border-box; flex-shrink: 0; }
.shopee-note .icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.shopee-note span.label { font-size: 13px; font-weight: 600; color: #EE4D2D; }

/* ---------- FILTER TABS ---------- */
.filter-tabs { padding-top: 20px; padding-bottom: 40px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
/* .tab kini di style.css (shared) */

/* ---------- GRID PRODUK ---------- */
.produk-grid { padding-bottom: 100px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.produk-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.25s ease, transform 0.25s ease; }
.produk-card:hover { box-shadow: 0 16px 34px -18px rgba(11,61,62,0.35); transform: translateY(-3px); }
.produk-card .thumb { width: 100%; aspect-ratio: 1/1; position: relative; overflow: hidden; }
.produk-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.produk-card:hover .thumb img { transform: scale(1.06); }
.produk-card .badge { position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 100px; }
.produk-card .badge.gold { background: var(--color-gold); color: var(--color-primary); }
.produk-card .badge.red { background: var(--color-accent); color: var(--color-white); }
.produk-card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.produk-card-body .cat { font-size: 11px; color: var(--color-text-faint); font-weight: 700; }
.produk-card-body h3 { font-size: 15px; font-weight: 700; line-height: 1.4; }
.produk-card-body .price { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 800; color: var(--color-primary); }
/* .shopee-btn kini di style.css (shared) */

/* ---------- CTA TOKO ---------- */
.shop-cta-wrap { padding: 0 28px 28px; }
.shop-cta { width: 100%; box-sizing: border-box; border-radius: 24px; background: #FFF0EC; padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.shop-cta-left { display: flex; align-items: center; gap: 16px; }
.shop-cta-icon { width: 52px; height: 52px; border-radius: 14px; background: #EE4D2D; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.shop-cta-icon span { width: 26px; height: 26px; background: var(--color-white); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; padding: 3px; box-sizing: border-box; flex-shrink: 0; }
.shop-cta-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.shop-cta-text { display: flex; flex-direction: column; gap: 2px; }
.shop-cta-text strong { font-size: 16px; font-weight: 700; }
.shop-cta-text span { font-size: 13px; color: var(--color-text-muted); }
.shop-cta-btn { padding: 14px 28px; border-radius: 10px; background: #EE4D2D; color: var(--color-white); font-size: 14px; font-weight: 700; transition: background 0.15s ease; }
.shop-cta-btn:hover { background: #D8431F; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .produk-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .produk-header { padding-top: 40px; padding-bottom: 24px; }
  .produk-header h1 { font-size: 25px; }
  .produk-header p { font-size: 13.5px; }
  .shopee-note .label { font-size: 12px; }

  .filter-tabs { padding-top: 14px; padding-bottom: 28px; gap: 8px; }
  .tab { padding: 8px 16px; font-size: 12px; }

  .produk-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; padding-bottom: 50px; }
  .produk-card-body { padding: 14px; gap: 8px; }
  .produk-card-body h3 { font-size: 13.5px; }
  .produk-card-body .price { font-size: 16px; }
  .shopee-btn { padding: 10px; font-size: 12px; }

  .shop-cta-wrap { padding: 0 18px 18px; }
  .shop-cta { border-radius: 18px; padding: 26px 22px; flex-direction: column; align-items: flex-start; }
  .shop-cta-btn { width: 100%; text-align: center; }
}

@media (max-width: 400px) {
  .produk-grid { grid-template-columns: 1fr; }
  .produk-header h1 { font-size: 22px; }
}

/* ---------- Backend ---------- */
.produk-card .thumb { display: block; }
.produk-card .price-old { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 600; color: #A7A9E0; }
.produk-card.sold-out .thumb img { filter: grayscale(0.7); opacity: 0.75; }
.shopee-btn.ask { background: #25D366; }
.shopee-btn.ask:hover { background: #1EBE59; }
.shopee-btn.ask svg { flex-shrink: 0; }
a.tab { text-decoration: none; display: inline-block; }
.produk-empty { text-align: center; color: var(--color-text-muted); padding-top: 20px; padding-bottom: 90px; }
.produk-empty a { color: var(--color-primary); font-weight: 700; }
.produk-pages { display: flex; justify-content: center; gap: 10px; margin-top: -60px; padding-bottom: 90px; }
.produk-pages .page { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; border: 1px solid var(--color-border); color: inherit; text-decoration: none; }
.produk-pages .page.active { background: var(--color-primary); color: #FFFFFF; border-color: var(--color-primary); }
