/* Kebun Hijau — Toko Tanaman Hias & Berkebun */
:root {
  --primary: #2e7d32;
  --primary-dark: #1b5e20;
  --primary-light: #4caf50;
  --accent: #a5d6a7;
  --bg: #f1f8e9;
  --bg2: #e8f5e9;
  --white: #ffffff;
  --text: #1a2e1a;
  --text-muted: #5a7a5a;
  --border: #c8e6c9;
  --shadow: 0 2px 12px rgba(46,125,50,0.10);
  --radius: 14px;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* ========== DEMO BAR ========== */
.demo-bar {
  background: #1b5e20;
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  letter-spacing: 0.02em;
}
.demo-bar a {
  color: #a5d6a7;
  text-decoration: underline;
  font-weight: 600;
}

/* ========== HEADER / NAV ========== */
header {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.3rem;
}
.logo-icon {
  width: 38px;
  height: 38px;
}

/* Hamburger menu via checkbox hack */
.menu-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.3s;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}
nav ul li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  font-size: 0.95rem;
}
nav ul li a:hover,
nav ul li a.active {
  background: var(--accent);
  color: var(--primary-dark);
}
.nav-cta a {
  background: var(--primary) !important;
  color: #fff !important;
}
.nav-cta a:hover { background: var(--primary-dark) !important; }

/* ========== MAIN LAYOUT ========== */
main { min-height: 80vh; }
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
section { padding: 56px 0; }
.section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-sub {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1rem;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #388e3c 60%, #66bb6a 100%);
  color: #fff;
  padding: 72px 20px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(165,214,167,0.15);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.hero-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-white { background: #fff; color: var(--primary); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: var(--primary-dark); }

/* ========== STATS STRIP ========== */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px;
}
.stats-strip .container {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* ========== PRODUCT CARDS ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(46,125,50,0.18);
}
.product-thumb {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.product-thumb svg { width: 90px; height: 90px; opacity: 0.9; }
.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}
.product-badge.sale { background: #e53935; }
.product-badge.new { background: #0277bd; }
.product-info { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.product-cat {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.product-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.product-price .old {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}
.btn-card {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 9px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.btn-card:hover { background: var(--primary); color: #fff; }

/* ========== KATEGORI SECTION ========== */
.kategori-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.kategori-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  display: block;
}
.kategori-card:hover {
  border-color: var(--primary);
  background: var(--bg2);
  transform: translateY(-3px);
}
.kategori-card svg { width: 48px; height: 48px; margin-bottom: 10px; }
.kategori-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.kategori-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ========== KEUNGGULAN ========== */
.keunggulan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.keunggulan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  border: 1px solid var(--border);
  text-align: center;
}
.keunggulan-card svg { width: 44px; height: 44px; margin-bottom: 12px; }
.keunggulan-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--primary); }
.keunggulan-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ========== BANNER CTA ========== */
.banner-cta {
  background: linear-gradient(120deg, #1b5e20, #2e7d32);
  border-radius: 18px;
  padding: 48px 32px;
  text-align: center;
  color: #fff;
  margin: 0 0 40px;
}
.banner-cta h2 { font-size: 1.8rem; margin-bottom: 12px; }
.banner-cta p { opacity: 0.9; margin-bottom: 24px; }

/* ========== KATALOG PAGE ========== */
.katalog-header {
  background: var(--primary);
  color: #fff;
  padding: 48px 20px 40px;
  text-align: center;
}
.katalog-header h1 { font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.katalog-header p { opacity: 0.9; }

.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.filter-btn {
  padding: 7px 16px;
  border-radius: 20px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ========== PRODUK DETAIL ========== */
.produk-breadcrumb {
  padding: 14px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.produk-breadcrumb a { color: var(--primary); text-decoration: none; }
.produk-breadcrumb a:hover { text-decoration: underline; }

.produk-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.produk-gallery {
  background: var(--bg2);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.produk-gallery svg { width: 55%; height: 55%; }
.produk-gallery-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
}

.produk-info-detail .cat-tag {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.produk-info-detail h1 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.2;
}
.produk-stars { color: #f9a825; font-size: 1.1rem; margin-bottom: 16px; }
.produk-stars span { color: var(--text-muted); font-size: 0.85rem; margin-left: 6px; }
.produk-harga {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}
.produk-harga-old {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 20px;
}
.produk-desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.variasi-label {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.variasi-opts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.variasi-btn {
  padding: 7px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: transparent;
  font-family: var(--font);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}
.variasi-btn.selected, .variasi-btn:hover {
  border-color: var(--primary);
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.qty-row label { font-weight: 700; font-size: 0.9rem; }
.qty-input {
  width: 70px;
  padding: 8px 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  text-align: center;
  font-family: var(--font);
}
.produk-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.produk-btns .btn { flex: 1; text-align: center; }

.spesifikasi {
  background: var(--bg2);
  border-radius: 10px;
  padding: 20px;
  margin-top: 24px;
}
.spesifikasi h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: var(--primary); }
.spek-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.spek-row:last-child { border-bottom: none; }
.spek-key { color: var(--text-muted); }
.spek-val { font-weight: 600; }

.related-section { padding-top: 48px; padding-bottom: 48px; }

/* ========== ORDER PAGE ========== */
.order-header {
  background: var(--primary);
  color: #fff;
  padding: 48px 20px 40px;
  text-align: center;
}
.order-header h1 { font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.order-header p { opacity: 0.9; }

.order-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  padding: 48px 0;
  align-items: start;
}
.order-form-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.order-form-box h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--primary);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: 9px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.form-group textarea { min-height: 90px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.pembayaran-opts { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.pay-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.pay-opt:has(input:checked),
.pay-opt:hover { border-color: var(--primary); background: var(--bg2); }
.pay-opt input { accent-color: var(--primary); }
.pay-opt-info strong { display: block; font-size: 0.95rem; }
.pay-opt-info span { font-size: 0.82rem; color: var(--text-muted); }
.pay-icon { width: 32px; height: 32px; flex-shrink: 0; }

.order-summary {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}
.order-summary h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; color: var(--primary); }
.summary-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.summary-thumb {
  width: 56px;
  height: 56px;
  background: var(--bg2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.summary-thumb svg { width: 32px; height: 32px; }
.summary-name { font-size: 0.9rem; font-weight: 700; }
.summary-sub { font-size: 0.82rem; color: var(--text-muted); }
.summary-price { font-size: 0.95rem; font-weight: 700; color: var(--primary); margin-top: 4px; }
.summary-totals { padding: 14px 0; }
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 5px 0;
}
.summary-row.total {
  border-top: 2px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

/* ========== KONTAK PAGE ========== */
.kontak-header {
  background: var(--primary);
  color: #fff;
  padding: 48px 20px 40px;
  text-align: center;
}
.kontak-header h1 { font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.kontak-header p { opacity: 0.9; }

.kontak-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 48px 0;
}
.kontak-info-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kontak-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.kontak-card svg { width: 36px; height: 36px; flex-shrink: 0; margin-top: 2px; }
.kontak-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--primary); }
.kontak-card p, .kontak-card a {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: none;
}
.kontak-card a:hover { color: var(--primary); }

.wa-big {
  background: #25d366;
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: background 0.2s, transform 0.2s;
}
.wa-big:hover { background: #128c7e; transform: translateY(-2px); }
.wa-big svg { width: 48px; height: 48px; margin-bottom: 10px; }
.wa-big h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.wa-big p { font-size: 0.9rem; opacity: 0.9; }

.jam-buka {
  background: var(--bg2);
  border-radius: 10px;
  padding: 20px;
}
.jam-buka h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: var(--primary); }
.jam-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.jam-row:last-child { border-bottom: none; }
.jam-row .hari { color: var(--text-muted); }
.jam-row .waktu { font-weight: 600; }
.jam-row.tutup .waktu { color: #e53935; }

.kontak-form-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.kontak-form-box h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; color: var(--primary); }

/* ========== FOOTER ========== */
footer {
  background: #1b5e20;
  color: #c8e6c9;
  padding: 48px 20px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 40px;
}
.footer-brand .logo { color: #a5d6a7; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 800; text-decoration: none; }
.footer-brand p { font-size: 0.9rem; opacity: 0.8; line-height: 1.7; }
.footer-col h4 { font-size: 0.95rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: #a5d6a7; text-decoration: none; font-size: 0.9rem; opacity: 0.85; transition: opacity 0.2s; }
.footer-col ul li a:hover { opacity: 1; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(165,214,167,0.3);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.75;
  flex-wrap: wrap;
  gap: 8px;
}

/* ========== SUCCESS MESSAGE ========== */
.success-msg {
  display: none;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 16px 20px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  margin-top: 16px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 2px solid var(--border); padding: 12px 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
  .menu-toggle:checked ~ .header-inner nav { display: block; }
  nav ul { flex-direction: column; gap: 2px; }
  nav ul li a { display: block; }

  .produk-detail { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .kontak-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-strip .container { gap: 24px; }
  .hero { padding: 48px 20px 40px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .kategori-grid { grid-template-columns: repeat(2, 1fr); }
}
