/*
Theme Name: Nata Clean
Theme URI: https://www.sabunnataclean.com
Author: Nata Clean
Description: Tema khusus Nata Clean — supplier sabun & trashbag untuk usaha di Jogja. Ringan, mobile-first, SEO lokal, katalog produk bisa diisi dari dashboard.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: nataclean
*/

:root {
  --nc-primary: #0E6B5C;
  --nc-primary-dark: #094A40;
  --nc-wa: #17803F;
  --nc-ink: #12302E;
  --nc-muted: #4A6662;
  --nc-bg: #F6FAF8;
  --nc-soft: #E6F2EE;
  --nc-soft-2: #EEF5F2;
  --nc-line: #DCE8E3;
  --nc-badge: #FCE9A8;
  --nc-badge-ink: #5C4300;
  --nc-radius: 16px;
  --nc-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--nc-ink);
  background: var(--nc-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nc-primary); }
a:hover { color: var(--nc-primary-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: #fff; padding: 10px 14px; clip: auto; width: auto; height: auto; }

.nc-container { max-width: var(--nc-max); margin: 0 auto; padding: 0 24px; }
.nc-section { padding: 72px 0 0; }
.nc-section:last-of-type { padding-bottom: 72px; }
.nc-section-title { font-size: 34px; font-weight: 800; margin: 0; }
.nc-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.nc-lead { font-size: 17px; color: #3B5753; max-width: 760px; margin: 10px 0 0; }

/* Buttons */
.nc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.2;
  padding: 15px 24px; border-radius: 12px; border: 2px solid transparent; min-height: 48px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.nc-btn:hover { transform: translateY(-1px); }
.nc-btn--wa { background: var(--nc-wa); color: #fff; box-shadow: 0 8px 20px rgba(15,60,40,.22); }
.nc-btn--wa:hover { background: #126B34; color: #fff; }
.nc-btn--light { background: #fff; color: var(--nc-primary); border-color: #fff; }
.nc-btn--outline { background: #fff; color: var(--nc-primary); border-color: var(--nc-primary); }
.nc-btn--block { width: 100%; }

/* Header */
.nc-header { background: #fff; border-bottom: 1px solid var(--nc-line); position: sticky; top: 0; z-index: 50; }
.nc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.nc-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--nc-ink); }
.nc-brand__mark { width: 40px; height: 40px; border-radius: 12px; background: var(--nc-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex: 0 0 auto; }
.nc-brand__text { display: flex; flex-direction: column; }
.nc-brand__name { font-weight: 800; font-size: 20px; line-height: 1.1; }
.nc-brand__tag { font-size: 12px; color: var(--nc-muted); }
.nc-brand .custom-logo { max-height: 48px; width: auto; }
.nc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 24px; }
.nc-nav a { text-decoration: none; color: var(--nc-ink); font-weight: 600; font-size: 15px; }
.nc-nav a:hover, .nc-nav .current-menu-item > a { color: var(--nc-primary); }
.nc-header__cta { padding: 11px 18px; border-radius: 999px; font-size: 15px; min-height: 44px; }
.nc-menu-toggle { display: none; background: none; border: 1px solid var(--nc-line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--nc-ink); }

@media (max-width: 960px) {
  .nc-menu-toggle { display: inline-flex; }
  .nc-header__cta { display: none; }
  .nc-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--nc-line); display: none; }
  .nc-nav.is-open { display: block; }
  .nc-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px; }
  .nc-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--nc-soft-2); }
}

/* Hero */
.nc-hero { background-color: #A9CDB6; background-size: cover; background-position: left 60%; }
.nc-hero__img { display: none; width: 100%; height: auto; }
.nc-hero__inner { display: flex; justify-content: flex-end; align-items: center; min-height: clamp(560px, 52vw, 760px); padding-top: 64px; padding-bottom: 64px; }
.nc-hero__text { width: min(520px, 100%); display: flex; flex-direction: column; gap: 20px; }
.nc-hero__badge { align-self: flex-start; background: #fff; color: var(--nc-primary); font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 999px; }
.nc-hero h1 { margin: 0; font-size: 50px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: #0F2925; }
.nc-hero__desc { margin: 0; font-size: 18px; color: #1C3833; }
.nc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 820px) {
  .nc-hero { background-image: none !important; background-color: #DDEDE3; }
  .nc-hero__img { display: block; }
  .nc-hero__inner { min-height: 0; padding-top: 28px; padding-bottom: 40px; justify-content: flex-start; }
  .nc-hero h1 { font-size: 34px; }
  .nc-hero__desc { font-size: 16px; }
}

/* Keunggulan */
.nc-usp-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 16px; }
.nc-usp-big { background: var(--nc-primary); color: #fff; border-radius: 20px; padding: 28px; display: flex; gap: 18px; align-items: flex-start; }
.nc-usp-big__icon { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; }
.nc-usp-big h3 { font-size: 22px; margin: 0 0 6px; }
.nc-usp-big p { margin: 0; font-size: 15px; color: #E1F0EB; }
.nc-usp-small { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.nc-card-mini { background: #fff; border: 1px solid var(--nc-line); border-radius: var(--nc-radius); padding: 20px; }
.nc-card-mini strong { display: block; font-size: 16px; }
.nc-card-mini span { font-size: 14px; color: var(--nc-muted); }

/* Kategori */
.nc-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.nc-cat { text-decoration: none; color: var(--nc-ink); background: #fff; border: 1px solid var(--nc-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s ease; }
.nc-cat:hover { box-shadow: 0 12px 30px rgba(18,48,46,.08); color: var(--nc-ink); }
.nc-cat__img { height: 220px; background: var(--nc-soft); display: flex; align-items: center; justify-content: center; padding: 16px; }
.nc-cat__img img { max-height: 100%; width: auto; object-fit: contain; }
.nc-cat__body { padding: 24px; }
.nc-cat__body strong { display: block; font-size: 22px; }
.nc-cat__body span { color: var(--nc-muted); }
.nc-cat__more { display: block; color: var(--nc-primary); font-weight: 700; margin-top: 8px; }

/* Produk card */
.nc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.nc-product { background: #fff; border: 1px solid var(--nc-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.nc-product__img { position: relative; height: 230px; background: var(--nc-soft-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.nc-product__img img { width: 100%; height: 100%; object-fit: cover; }
.nc-product__img--empty { color: var(--nc-muted); font-size: 14px; font-weight: 600; }
.nc-product__badge { position: absolute; top: 12px; left: 12px; background: var(--nc-badge); color: var(--nc-badge-ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.nc-product__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.nc-product__name { font-size: 17px; font-weight: 700; margin: 0; }
.nc-product__name a { color: var(--nc-ink); text-decoration: none; }
.nc-product__size { font-size: 14px; color: var(--nc-muted); }
.nc-product__price { font-size: 20px; font-weight: 800; color: var(--nc-primary); }
.nc-product__price del { font-size: 14px; font-weight: 500; color: #6B7F7C; margin-left: 6px; }
.nc-product__actions { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; }
.nc-product__actions .nc-btn { flex: 1 1 auto; padding: 12px; font-size: 14px; min-height: 44px; }

/* Usaha */
.nc-usaha-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.nc-usaha-grid .nc-card-mini strong { font-size: 17px; }

/* Tentang */
.nc-about { background: var(--nc-primary); color: #fff; border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.nc-about__text { flex: 1 1 420px; }
.nc-about__text h2 { font-size: 34px; font-weight: 800; }
.nc-about__text p { color: #E1F0EB; font-size: 17px; }
.nc-about__img { flex: 1 1 420px; border-radius: 20px; overflow: hidden; }
.nc-about__img img { width: 100%; height: 300px; object-fit: cover; }

/* Testimoni */
.nc-testi { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.nc-testi__item { background: #fff; border: 1px solid var(--nc-line); border-radius: 18px; padding: 24px; margin: 0; }
.nc-testi__item blockquote { margin: 0 0 12px; }
.nc-testi__item figcaption { font-weight: 700; font-size: 14px; }

/* FAQ & Lokasi */
.nc-two { display: flex; flex-wrap: wrap; gap: 32px; }
.nc-two > div { flex: 1 1 460px; min-width: 0; }
.nc-faq details { background: #fff; border: 1px solid var(--nc-line); border-radius: 14px; padding: 0 18px; margin-bottom: 12px; }
.nc-faq summary { font-weight: 700; padding: 18px 0; cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
.nc-faq summary::-webkit-details-marker { display: none; }
.nc-faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--nc-primary); }
.nc-faq details[open] summary::after { content: '–'; }
.nc-faq details p { margin: 0 0 18px; color: #3B5753; }
.nc-map { border-radius: 18px; overflow: hidden; border: 1px solid var(--nc-line); background: #E3E9F2; aspect-ratio: 16 / 10; }
.nc-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.nc-map--empty { display: flex; align-items: center; justify-content: center; color: #3B4A60; font-weight: 600; text-align: center; padding: 20px; }
.nc-address { margin-top: 16px; }

/* Footer */
.nc-footer { background: var(--nc-ink); color: #D5E5E0; margin-top: 72px; }
.nc-footer__inner { padding-top: 48px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.nc-footer__col { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.nc-footer__col strong { color: #fff; }
.nc-footer a { color: #D5E5E0; text-decoration: none; }
.nc-footer a:hover { color: #fff; }
.nc-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 24px; font-size: 14px; }

/* WA floating */
.nc-wa-float { position: fixed; right: 20px; bottom: 20px; width: 60px; height: 60px; border-radius: 999px; background: var(--nc-wa); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.22); z-index: 60; }
.nc-wa-float:hover { background: #126B34; }

/* Archive / Katalog */
.nc-page-head { background: var(--nc-soft); padding: 48px 0; }
.nc-page-head h1 { font-size: 42px; font-weight: 800; margin: 8px 0; }
.nc-page-head p { margin: 0; color: #3B5753; max-width: 680px; }
.nc-breadcrumb { font-size: 14px; color: var(--nc-muted); }
.nc-breadcrumb a { text-decoration: none; }
.nc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 24px; }
.nc-chip { text-decoration: none; font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--nc-line); background: #fff; color: var(--nc-ink); min-height: 44px; display: inline-flex; align-items: center; }
.nc-chip.is-active { background: var(--nc-primary); border-color: var(--nc-primary); color: #fff; }
.nc-pagination { margin: 32px 0 0; }
.nc-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nc-pagination .page-numbers { padding: 10px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--nc-line); text-decoration: none; }
.nc-pagination .current { background: var(--nc-primary); color: #fff; border-color: var(--nc-primary); }

/* Single produk */
.nc-single { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 24px; }
.nc-single__media { flex: 1 1 440px; }
.nc-single__media .nc-single__main { background: #fff; border: 1px solid var(--nc-line); border-radius: 24px; overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; }
.nc-single__media img { width: 100%; height: 100%; object-fit: contain; }
.nc-single__info { flex: 1 1 440px; display: flex; flex-direction: column; gap: 16px; }
.nc-single__info h1 { font-size: 38px; font-weight: 800; margin: 0; }
.nc-single__price { font-size: 32px; font-weight: 800; color: var(--nc-primary); }
.nc-single__price del { font-size: 18px; color: #6B7F7C; font-weight: 500; margin-left: 10px; }
.nc-single__meta { background: #fff; border: 1px solid var(--nc-line); border-radius: 16px; padding: 4px 18px; }
.nc-single__meta div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--nc-soft-2); }
.nc-single__meta div:last-child { border-bottom: 0; }
.nc-single__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nc-single__actions .nc-btn { flex: 1 1 200px; }
.nc-perks { font-size: 14px; color: var(--nc-muted); }
.nc-content { background: #fff; border: 1px solid var(--nc-line); border-radius: 18px; padding: 28px; margin-top: 40px; }
.nc-content > *:last-child { margin-bottom: 0; }

/* Halaman & blog */
.nc-entry { max-width: 820px; margin: 0 auto; padding: 48px 24px 0; }
.nc-entry h1 { font-size: 40px; font-weight: 800; }
.nc-entry img { border-radius: 14px; }
.nc-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.nc-post-card { background: #fff; border: 1px solid var(--nc-line); border-radius: 18px; overflow: hidden; }
.nc-post-card__body { padding: 20px; }
.nc-post-card h2 { font-size: 20px; }
.nc-post-card h2 a { color: var(--nc-ink); text-decoration: none; }

@media (max-width: 640px) {
  .nc-section { padding-top: 56px; }
  .nc-section-title { font-size: 28px; }
  .nc-about { padding: 28px; }
  .nc-about__text h2 { font-size: 28px; }
  .nc-page-head h1, .nc-single__info h1, .nc-entry h1 { font-size: 30px; }
  .nc-usp-big { padding: 22px; }
}
.nc-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
