/*
Theme Name: Tuan Kuda Kopi
Theme URI: https://tuankudakopi.xyz/
Description: Child theme Astra untuk fondasi e-commerce kopi yang ringan, crawlable, dan SEO-first.
Author: Tuan Kuda Kopi
Template: astra
Version: 1.0.4
Text Domain: tuankuda-kopi
*/

:root {
  --tkk-espresso: #24130d;
  --tkk-coffee: #4b2719;
  --tkk-copper: #b96f32;
  --tkk-cream: #fff8ee;
  --tkk-sand: #f2e3ce;
  --tkk-ink: #211b18;
  --tkk-muted: #6f625a;
  --tkk-white: #ffffff;
  --tkk-radius: 18px;
  --tkk-shadow: 0 16px 44px rgba(36, 19, 13, .11);
}

body {
  color: var(--tkk-ink);
  background: #fffdf9;
}

.site-header { border-bottom: 1px solid rgba(75, 39, 25, .1); }
.site-branding img, .custom-logo { max-height: 68px; width: auto; }
.ast-site-title-wrap { display: none; }
.main-header-menu a { font-weight: 650; }

.tkk-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.tkk-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 48px;
  align-items: center;
  margin: 24px 0 56px;
  padding: clamp(40px, 7vw, 82px);
  border-radius: 28px;
  color: var(--tkk-cream);
  background:
    radial-gradient(circle at 82% 18%, rgba(185,111,50,.3), transparent 30%),
    linear-gradient(135deg, #1f100b 0%, #4b2719 100%);
  box-shadow: var(--tkk-shadow);
}

.tkk-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  bottom: -150px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
}

.tkk-hero__content, .tkk-hero__visual { position: relative; z-index: 1; }
.tkk-hero__visual { text-align: center; }
.tkk-hero__visual img { width: min(100%, 440px); height: auto; filter: drop-shadow(0 18px 28px rgba(0,0,0,.28)); }
.tkk-eyebrow { margin: 0 0 14px; color: #e5b47d; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tkk-hero h1 { margin: 0 0 20px; color: #fffaf2; font-size: clamp(2.35rem, 5vw, 4.6rem); line-height: 1.04; letter-spacing: -.035em; }
.tkk-hero p { max-width: 690px; margin: 0 0 26px; color: #f4e7d9; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.75; }

.tkk-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tkk-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; background: var(--tkk-copper); color: #fff !important; font-weight: 750; text-decoration: none !important; transition: transform .2s ease, background .2s ease; }
.tkk-button:hover { background: #cc7c38; transform: translateY(-2px); }
.tkk-button--ghost { border: 1px solid rgba(255,255,255,.45); background: transparent; }
.tkk-button--ghost:hover { background: rgba(255,255,255,.1); }

.tkk-breadcrumb { margin: 26px 0 0; color: var(--tkk-muted); font-size: .9rem; }
.tkk-breadcrumb a { color: var(--tkk-coffee); }

.tkk-section { margin: 56px 0; }
.tkk-section > h2 { margin-bottom: 14px; font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--tkk-espresso); }
.tkk-lead { max-width: 780px; color: var(--tkk-muted); font-size: 1.08rem; line-height: 1.8; }
.tkk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.tkk-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tkk-card { height: 100%; padding: 28px; border: 1px solid #eadccb; border-radius: var(--tkk-radius); background: #fff; box-shadow: 0 10px 30px rgba(36,19,13,.055); }
.tkk-card h2, .tkk-card h3 { margin: 0 0 10px; color: var(--tkk-espresso); }
.tkk-card p { margin: 0 0 18px; color: var(--tkk-muted); line-height: 1.7; }
.tkk-card a { font-weight: 750; color: var(--tkk-coffee); }
.tkk-card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; background: var(--tkk-sand); color: var(--tkk-coffee); font-size: 1.25rem; }

.tkk-note { padding: 24px 28px; border-left: 4px solid var(--tkk-copper); border-radius: 0 var(--tkk-radius) var(--tkk-radius) 0; background: var(--tkk-cream); }
.tkk-note p:last-child { margin-bottom: 0; }
.tkk-prose { max-width: 820px; }
.tkk-prose p, .tkk-prose li { line-height: 1.82; }
.tkk-prose h2 { margin-top: 48px; }
.tkk-prose h3 { margin-top: 30px; }
.tkk-prose li { margin-bottom: 8px; }

.tkk-faq { margin-top: 28px; }
.tkk-faq details { margin-bottom: 12px; padding: 18px 20px; border: 1px solid #eadccb; border-radius: 14px; background: #fff; }
.tkk-faq summary { cursor: pointer; color: var(--tkk-espresso); font-weight: 750; }
.tkk-faq details p { margin: 12px 0 0; color: var(--tkk-muted); }

.tkk-products { margin-top: 28px; }
.tkk-empty { padding: 28px; border: 1px dashed #c7a98a; border-radius: var(--tkk-radius); background: var(--tkk-cream); color: var(--tkk-muted); }
.woocommerce ul.products li.product { padding: 16px 16px 22px; border: 1px solid #eadccb; border-radius: 16px; background: #fff; }
.woocommerce ul.products li.product img { border-radius: 12px; }

.tkk-article-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #eadccb; }
.tkk-article-nav a { padding: 10px 14px; border-radius: 999px; background: var(--tkk-cream); color: var(--tkk-coffee); font-weight: 700; }

@media (max-width: 860px) {
  .tkk-hero { grid-template-columns: 1fr; gap: 28px; padding: 40px 28px; }
  .tkk-hero__visual { order: -1; }
  .tkk-hero__visual img { width: min(82%, 380px); }
  .tkk-grid, .tkk-grid--2 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .tkk-page { padding-inline: 16px; }
  .tkk-hero { margin-top: 14px; border-radius: 20px; }
  .tkk-hero h1 { font-size: 2.35rem; }
  .tkk-actions { display: grid; }
  .tkk-button { width: 100%; }
}
