/*
Theme Name: Jagoan Catering Harian
Theme URI: https://jagoancateringharian.com
Author: Selvas Catering
Description: Tema blok resmi Jagoan Catering Harian by Selvas Catering, dirancang untuk katalog langganan dan WooCommerce.
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: jagoan-catering-harian
Tags: block-patterns, full-site-editing, e-commerce, food-and-drink
*/

:root {
  --jch-charcoal: #1c2421;
  --jch-green: #173d32;
  --jch-yellow: #f4d96b;
  --jch-orange: #f26a3d;
  --jch-cream: #fbf7ec;
}

html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; }

.jch-card {
  border: 1px solid rgba(23, 61, 50, .12);
  box-shadow: 0 18px 45px rgba(28, 36, 33, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.jch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(28, 36, 33, .13);
}
.jch-pill { border-radius: 999px; }
.jch-price { font-variant-numeric: tabular-nums; }
.jch-soft-grid {
  background-image:
    linear-gradient(rgba(23,61,50,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,61,50,.035) 1px, transparent 1px);
  background-size: 34px 34px;
}
.jch-checklist { list-style: none; padding-left: 0; }
.jch-checklist li { margin: .65rem 0; }
.jch-checklist li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: .65rem;
  border-radius: 50%;
  color: var(--jch-green);
  background: var(--jch-yellow);
  font-weight: 800;
}
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt {
  background: var(--jch-green);
  border-radius: 999px;
  color: white;
}
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover { background: var(--jch-charcoal); }

@media (max-width: 781px) {
  .jch-mobile-center { text-align: center; }
  .jch-mobile-center .wp-block-buttons { justify-content: center; }
}
/* Sembunyikan rentang harga utama di halaman detail produk */
.single-product .wc-block-components-product-price {
    display: none !important;
}
