/*
Theme Name: Aurora Lux
Theme URI: https://auroralux.co.id
Author: Aurora Lux
Description: Tema lengkap Aurora Lux: beranda, koleksi, halaman produk, blog, dan halaman biasa dengan satu gaya (hijau tua, aksen emas, serif Instrument Serif).
Version: 2.0.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: aurora-lux
*/

:root {
  color-scheme: light;
  --paper: #faf7f0;
  --ink: #1c2e26;
  --muted: #586158;
  --forest: #132e27;
  --forest-dark: #0f251f;
  --gold: #e5c48e;
  --line: #dcd7ca;
  --display: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5.8vw, 7rem);
  --content: 78rem;
}

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

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
}

img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, select { font: inherit; }
button:not(:disabled), select { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #936030; outline-offset: 5px; }

.shell {
  width: min(var(--content), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: absolute;
  z-index: 10;
  margin: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--paper);
}

.header { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 4.75rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
}

.brand span {
  font-family: var(--display);
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img { width: 2.45rem; height: 2.45rem; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.8rem);
  font-size: 0.89rem;
  font-weight: 600;
}

.main-nav a, .header-contact { text-decoration: none; }
.main-nav a:hover { color: #78603e; }
.header-contact {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.52rem 0;
  border-bottom: 1px solid #a49c87;
  font-size: 0.84rem;
  font-weight: 650;
  white-space: nowrap;
}
.header-contact:hover { border-color: var(--forest); }

.menu-toggle, .mobile-contact { display: none; }

.hero {
  min-height: clamp(30rem, 42vw, 42rem);
  display: grid;
  grid-template-columns: 46.5% 53.5%;
  background: var(--forest);
  color: var(--paper);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: clamp(3.3rem, 6.8vw, 6.8rem);
  padding-inline-start: max(var(--gutter), calc((100vw - var(--content)) / 2));
  padding-inline-end: clamp(1.7rem, 3.3vw, 3.35rem);
  background: radial-gradient(ellipse at left bottom, #203d32 0%, transparent 70%);
}

.eyebrow {
  font-size: 0.72rem;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow, .story .eyebrow { color: var(--gold); }
.hero h1, .section-heading h2, .story h2, .dialog-copy h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 0.99;
}

.hero h1 {
  margin: 1.3rem 0 1.45rem;
  font-size: clamp(3.1rem, 5.44vw, 6rem);
}

.hero h1 em, .story h2 em { color: var(--gold); font-weight: 400; }
.hero h1 em { font-size: 0.88em; }

.hero-description {
  max-width: 25rem;
  color: #e3e6dc;
  font-size: clamp(0.98rem, 1.23vw, 1.08rem);
  line-height: 1.65;
}

.hero .button { margin-top: 2rem; }

.hero-media { position: relative; min-width: 0; min-height: 0; }
.hero-media img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 53%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  min-height: 3.15rem;
  padding: 0.72rem 1.05rem 0.72rem 1.2rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.button span { font-size: 1.1rem; line-height: 1; }
.arrow-out {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 0.54rem;
  height: 0.54rem;
  border-top: 1px solid;
  border-right: 1px solid;
}
.arrow-out::before {
  position: absolute;
  top: -1px;
  right: 0;
  width: 128%;
  height: 1px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
  content: "";
}

.button-light { color: var(--forest-dark); background: #f1e2c3; }
.button-light:hover { background: #fff3d8; }
.button-dark { color: var(--paper); background: var(--forest); }
.button-dark:hover { background: #20483c; }
.button-outline { border-color: var(--forest); background: transparent; color: var(--forest); }
.button-outline:hover { background: var(--forest); color: var(--paper); }

.collection, .journal { padding-block: clamp(3.55rem, 6vw, 6.4rem); }

.section-heading h2 { font-size: clamp(2.8rem, 4.45vw, 4.6rem); }
.collection-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.3rem 3rem;
  margin-bottom: 2.25rem;
}
.collection-heading p {
  max-width: 22rem;
  padding-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  padding-block: 0.8rem;
  border-block: 1px solid var(--line);
  margin-bottom: 1.65rem;
}
.filter-options { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.filter-options button {
  padding: 0.55rem 0.9rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.filter-options button:hover { border-color: var(--line); }
.filter-options button[aria-pressed="true"] {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}
.sort-control select {
  max-width: 100%;
  padding: 0.55rem 0.5rem;
  border: 0;
  border-bottom: 1px solid #aaa494;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.82rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.3rem clamp(0.95rem, 1.85vw, 1.9rem);
}
.product-card { min-width: 0; }
.product-link { display: block; text-decoration: none; }
.product-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1.045;
  background: #e9e2d6;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.product-link:hover img, .product-link:focus-visible img { transform: scale(1.035); }

.product-info {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  padding-block: 0.98rem 0.86rem;
  border-bottom: 1px solid var(--line);
}
.product-link:hover .product-info { border-color: #91866e; }
.product-category {
  margin-bottom: 0.26rem;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.product-info h3 {
  font: 400 clamp(1.6rem, 2.35vw, 2.12rem) / 1.03 var(--display);
  overflow-wrap: anywhere;
}
.product-price {
  margin-top: 0.42rem;
  color: #3c4a3c;
  font-size: 0.88rem;
  font-weight: 550;
}
.product-arrow {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #cfc8b8;
  font-size: 1rem;
  transition: background-color 160ms ease, color 160ms ease;
}
.product-link:hover .product-arrow { background: var(--forest); color: var(--paper); }

.catalog-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.2rem;
}
.catalog-more p { color: var(--muted); font-size: 0.84rem; }

.story {
  background: var(--forest-dark);
  color: var(--paper);
  display: grid;
  grid-template-columns: 54% 46%;
  align-items: stretch;
}
.story-photo {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  object-fit: cover;
  object-position: 58% center;
}
.story-copy {
  align-self: center;
  padding: clamp(2.8rem, 5vw, 5rem) max(var(--gutter), calc((100vw - var(--content)) / 2)) clamp(2.8rem, 5vw, 5rem) clamp(2rem, 4.45vw, 4rem);
}
.story h2 { font-size: clamp(2.75rem, 4.05vw, 4.8rem); margin-block: 1.05rem 1.1rem; }
.story-copy > p:not(.eyebrow) { color: #dfe5d9; max-width: 28rem; }
.text-link {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  width: fit-content;
  font-weight: 650;
  font-size: 0.87rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.18rem;
}
.text-link:hover { opacity: 0.82; }
.story .text-link { color: var(--gold); margin-top: 1.5rem; }

.journal-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.1vw, 2rem); }
.journal-card a { display: block; text-decoration: none; border-bottom: 1px solid var(--line); }
.journal-card a:hover { border-color: #91866e; }
.journal-image { aspect-ratio: 2.05 / 1; overflow: hidden; background: #e9e2d6; }
.journal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.journal-card a:hover img { transform: scale(1.035); }
.journal-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.92rem 0 0.98rem;
}
.journal-title h3 { font: 400 clamp(1.65rem, 2.45vw, 2.4rem) / 1.06 var(--display); }
.journal-title span { font-size: 1.04rem; }

.footer { background: var(--forest); color: var(--paper); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1fr 0.65fr;
  gap: 2.35rem clamp(1.5rem, 3vw, 3rem);
  padding: 3.35rem 0 1.5rem;
  font-size: 0.88rem;
}
.footer-brand > p { color: #cfd8cc; margin-top: 0.63rem; }
.footer-inner h2 { font-size: 0.82rem; margin-bottom: 0.58rem; color: var(--gold); }
.footer nav, .footer-contact { display: flex; flex-direction: column; gap: 0.32rem; }
.footer a:not(.brand) { color: #f0f0e7; text-decoration: none; width: fit-content; }
.footer a:not(.brand):hover { text-decoration: underline; text-underline-offset: 0.2em; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  grid-column: 1 / -1;
  padding-top: 1.1rem;
  border-top: 1px solid #466056;
  color: #cbd6cc;
  font-size: 0.77rem;
}

body.dialog-open { overflow: hidden; }
.product-dialog {
  width: min(52rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.product-dialog::backdrop { background: rgb(10 26 20 / 72%); }
.close-form { position: absolute; z-index: 1; top: 0.6rem; right: 0.6rem; }
.dialog-close {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  line-height: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  font-size: 1.7rem;
}
.dialog-close:hover { background: #ece7db; }
.dialog-content { display: grid; grid-template-columns: 47% 53%; align-items: stretch; }
.dialog-image { width: 100%; height: 100%; min-width: 0; object-fit: cover; }
.dialog-copy { align-self: center; padding: 3.15rem clamp(1.3rem, 3.3vw, 2.8rem) 2rem; }
.dialog-copy .eyebrow { color: var(--muted); letter-spacing: 0.12em; }
.dialog-copy h2 { font-size: clamp(2.65rem, 4.4vw, 4.3rem); margin: 0.42rem 0 0.74rem; }
.dialog-price { font-size: 1.12rem; font-weight: 650; }
.product-specs {
  margin-block: 0.95rem 0;
  padding-block: 0.82rem;
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.34rem 0.95rem;
  font-size: 0.83rem;
}
.product-specs dt { color: var(--muted); }
.product-specs dd { margin: 0; font-weight: 600; }
.dialog-copy .button { margin-top: 1.15rem; }
.dialog-note { margin-block: 0.58rem 0.85rem; color: var(--muted); font-size: 0.8rem; }

@media (max-width: 1000px) {
  .hero { min-height: 30rem; grid-template-columns: 50% 50%; }
  .hero h1 { font-size: clamp(3.18rem, 6vw, 4.4rem); }
  .story-copy { padding-inline-end: var(--gutter); }
  .footer-inner { grid-template-columns: 1.2fr 0.68fr 1fr; }
}

@media (max-width: 750px) {
  .collection-heading { flex-direction: column; align-items: flex-start; gap: 0.7rem; margin-bottom: 1.55rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-info h3 { font-size: clamp(1.65rem, 4.4vw, 2.05rem); }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 2.75rem var(--gutter) 2.65rem; }
  .hero h1 { font-size: clamp(3.1rem, 8.2vw, 4.6rem); margin-block: 0.95rem 1.05rem; }
  .hero .button { margin-top: 1.35rem; }
  .hero-media { min-height: clamp(15rem, 67vw, 24rem); }
  .story { grid-template-columns: 1fr; }
  .story-photo { height: auto; min-height: 0; aspect-ratio: 1.7 / 1; }
  .story-copy { padding: 2.65rem var(--gutter) 3rem; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 4rem; grid-template-columns: 1fr auto; gap: 0; padding-block: 0.68rem; }
  .brand img { width: 2.15rem; height: 2.15rem; }
  .brand span { font-size: 1.52rem; }
  .header-contact { display: none; }
  .main-nav {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    column-gap: 1.2rem;
    row-gap: 0.6rem;
    padding: 0.9rem 0 0.25rem;
  }
  .menu-ready .main-nav { display: none; }
  .menu-ready .menu-open .main-nav { display: flex; }
  .mobile-contact { display: block; }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.64rem;
    padding: 0.5rem 0.15rem 0.5rem 0.55rem;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 0.83rem;
    font-weight: 650;
  }
  .menu-icon {
    display: inline-block;
    width: 1rem;
    height: 0.48rem;
    border-block: 1px solid currentColor;
  }
  .catalog-controls { flex-wrap: wrap; padding-block: 0.61rem; }
  .filter-options { gap: 0.25rem; }
  .filter-options button { padding-inline: 0.62rem; font-size: 0.8rem; }
  .sort-control select { padding-inline: 0.22rem; }
  .product-info { align-items: end; gap: 0.33rem; }
  .product-category { font-size: 0.62rem; }
  .product-arrow { width: 1.75rem; height: 1.75rem; }
  .product-price { font-size: 0.8rem; }
  .journal-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.34fr); padding-top: 2.55rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { overflow-wrap: anywhere; }
  .dialog-content { grid-template-columns: 1fr; }
  .dialog-image { max-height: 15rem; aspect-ratio: 1.5 / 1; object-position: center; }
  .dialog-copy { padding: 1.35rem 1.3rem 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* =========================================================
   Tambahan untuk seluruh situs (halaman dalam)
   ========================================================= */

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

h4, h5, h6 { margin: 0; }

/* Menu */
.main-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: inherit; margin: 0; padding: 0; list-style: none; }
.main-nav a[aria-current],
.main-nav .current-menu-item > a { border-bottom: 1px solid var(--forest); padding-bottom: 0.15rem; }

/* Placeholder bila foto belum diisi */
.hero-media--empty { background: linear-gradient(135deg, #1c3b31 0%, #0f251f 100%); }
.story-photo--empty { background: linear-gradient(135deg, #1c3b31 0%, #0b1d18 100%); }

/* Judul halaman */
.section-heading h1, .page-header h1, .not-found h1 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 0.99;
}
.section-heading h1 { font-size: clamp(2.8rem, 4.45vw, 4.6rem); }
.page-header { padding-block: clamp(2.6rem, 5vw, 4.8rem) clamp(1.6rem, 3vw, 2.6rem); }
.page-header .eyebrow { color: var(--muted); margin-bottom: 0.8rem; }
.page-header h1 { font-size: clamp(2.8rem, 4.6vw, 4.8rem); max-width: 22ch; overflow-wrap: anywhere; }
.page-lead { max-width: 36rem; margin-top: 1rem; color: var(--muted); }
.post-header h1 { max-width: 26ch; }
.page-header .search-form { margin-top: 1.5rem; }

.breadcrumb { padding-block: 1.15rem 0.2rem; font-size: 0.8rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.3rem 0.6rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.6rem; color: #a49c87; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.collection--page { padding-top: clamp(1.6rem, 3vw, 2.8rem); }

/* Isi artikel dan halaman */
.entry { padding-bottom: clamp(3.5rem, 6vw, 6rem); }
.page-header + .entry { padding-top: 1rem; }
.entry-content {
  max-width: 46rem;
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 1.78;
  overflow-wrap: anywhere;
}
.entry-content > * + * { margin-top: 1.15rem; }
.entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin-top: 2.3rem;
}
.entry-content h2 { font-size: clamp(2rem, 3vw, 2.7rem); }
.entry-content h3 { font-size: clamp(1.65rem, 2.3vw, 2.1rem); }
.entry-content h4 { font-size: 1.4rem; }
.entry-content a { color: var(--forest); text-decoration-color: #a49c87; text-underline-offset: 0.2em; }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; }
.entry-content li + li { margin-top: 0.35rem; }
.entry-content img { height: auto; }
.entry-content figure { margin: 1.6rem 0; }
.entry-content figcaption, .wp-caption-text { margin-top: 0.5rem; color: var(--muted); font-size: 0.82rem; }
.entry-content blockquote {
  margin-inline: 0;
  padding: 0.2rem 0 0.2rem 1.3rem;
  border-left: 2px solid var(--gold);
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.3;
}
.entry-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 0.95rem; }
.entry-content th, .entry-content td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { font-weight: 650; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.2rem; }
.entry-content pre, .entry-content code { font-size: 0.9rem; background: #efe9dc; }
.entry-content code { padding: 0.1rem 0.3rem; }
.entry-content pre { padding: 1rem; overflow-x: auto; }
.entry-content pre code { padding: 0; background: none; }
.alignleft { float: left; margin: 0.3rem 1.4rem 1rem 0; }
.alignright { float: right; margin: 0.3rem 0 1rem 1.4rem; }
.aligncenter { margin-inline: auto; }
.entry-content::after { content: ""; display: table; clear: both; }

/* Daftar isi (plugin Easy Table of Contents) */
#ez-toc-container, .ez-toc-container {
  padding: 1rem 1.2rem !important;
  border: 1px solid var(--line) !important;
  background: #f3eee2 !important;
  box-shadow: none !important;
  font-family: var(--body);
}
#ez-toc-container .ez-toc-title { font-family: var(--display); font-size: 1.5rem !important; font-weight: 400 !important; }
#ez-toc-container a { text-decoration: none; }

/* Artikel tunggal */
.post-meta { color: var(--muted); font-size: 0.72rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; }
.post-meta a { text-decoration: none; }
.post-header { padding-bottom: 1.5rem; }
.post-cover { aspect-ratio: 2.4 / 1; overflow: hidden; background: #e9e2d6; margin-bottom: clamp(1.8rem, 3.5vw, 3rem); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Daftar artikel */
.archive-list { padding-block: 1.5rem clamp(3.5rem, 6vw, 6rem); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6rem clamp(1rem, 2vw, 2rem); }
.post-card a { display: block; height: 100%; text-decoration: none; border-bottom: 1px solid var(--line); }
.post-card a:hover { border-color: #91866e; }
.post-card .journal-image { aspect-ratio: 3 / 2; }
.post-card:hover img { transform: scale(1.035); }
.post-card-body { padding: 0.95rem 0 1.1rem; }
.post-card h2 { margin-top: 0.4rem; font: 400 clamp(1.55rem, 2.1vw, 1.95rem) / 1.08 var(--display); }
.post-card .excerpt { margin-top: 0.6rem; color: var(--muted); font-size: 0.9rem; }
.journal .post-grid { margin-top: 0; }

.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin-top: 3rem; }
.page-numbers {
  min-width: 2.6rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  text-align: center;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
a.page-numbers:hover { border-color: var(--forest); }
.page-numbers.current { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.page-numbers.dots { border-color: transparent; }

/* Formulir */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #bdb6a3;
  border-radius: 0;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}
input:focus, textarea:focus { outline: 2px solid #936030; outline-offset: 2px; }
input[type="submit"], .comment-form .submit {
  min-height: 3.15rem;
  padding: 0.72rem 1.4rem;
  border: 0;
  background: var(--forest);
  color: var(--paper);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
}
input[type="submit"]:hover, .comment-form .submit:hover { background: #20483c; }
.search-form { display: flex; gap: 0.6rem; max-width: 32rem; }
.search-form input[type="search"] { flex: 1; }

/* Komentar dan ulasan */
.comments-area { max-width: 46rem; margin: 3.5rem auto 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.comments-title, .comment-reply-title, #reviews h2 { font: 400 clamp(1.8rem, 2.6vw, 2.3rem) / 1.1 var(--display); }
.comment-list, #reviews ol.commentlist { padding: 0; list-style: none; }
.comment-list .children { list-style: none; padding-left: 1.2rem; }
.comment-body, #reviews li.review { padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.comment-meta, .comment-metadata { color: var(--muted); font-size: 0.82rem; }
.comment-metadata a { text-decoration: none; }
.comment-form label, #review_form label { display: block; margin-bottom: 0.3rem; font-size: 0.85rem; font-weight: 600; }
.comment-form p, #review_form p { margin-top: 1rem; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-form-cookies-consent { display: flex; gap: 0.5rem; align-items: baseline; }

/* Halaman produk */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
  padding-block: 1.2rem clamp(2.8rem, 5vw, 5rem);
}
.product-main { aspect-ratio: 1 / 1; overflow: hidden; background: #e9e2d6; }
.product-main img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.7rem 0 0; padding: 0; list-style: none; }
.product-thumbs button { width: 4.4rem; height: 4.4rem; padding: 0; border: 1px solid var(--line); background: #e9e2d6; overflow: hidden; }
.product-thumbs button[aria-current="true"] { border-color: var(--forest); }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-summary { padding-top: clamp(0rem, 2vw, 1.5rem); }
.product-summary .eyebrow { color: var(--muted); letter-spacing: 0.12em; }
.product-summary h1 { margin: 0.6rem 0 0.9rem; font: 400 clamp(2.5rem, 4vw, 4rem) / 1 var(--display); letter-spacing: -0.018em; }
.product-price-lg { font-size: 1.3rem; font-weight: 650; }
.product-summary .lead { margin-top: 1rem; color: var(--muted); }
.product-summary .button { margin-top: 1.4rem; }
.product-section { padding-block: clamp(2.2rem, 4vw, 3.6rem); border-top: 1px solid var(--line); }
.product-section > h2 { margin-bottom: 1.4rem; font: 400 clamp(2rem, 3vw, 2.8rem) / 1.05 var(--display); letter-spacing: -0.012em; }
.product-section .entry-content, .product-section .comments-area { margin-inline: 0; }
.product-section .comments-area { margin-top: 0; padding-top: 0; border-top: 0; }
.related-products .product-grid { margin-top: 0; }

/* 404 */
.not-found { max-width: 40rem; padding-block: clamp(3rem, 7vw, 6rem); }
.not-found .eyebrow { color: var(--muted); }
.not-found h1 { margin-block: 0.8rem 1rem; font-size: clamp(2.8rem, 5vw, 4.6rem); }
.not-found p { color: var(--muted); }
.not-found .search-form, .not-found .button { margin-top: 1.5rem; }

@media (max-width: 1000px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 750px) {
  .product-detail { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .entry-content { font-size: 1rem; }
  .post-cover { aspect-ratio: 1.7 / 1; }
}

.entry-content .wp-caption { max-width: 100%; margin: 1.6rem 0; }
.entry-content .wp-caption img { width: 100%; height: auto; }
