/*
Theme Name: AWIDEA WPC Indoor Catalog Lite
Theme URI: https://katalogwpcindoor.awidea.co.id/
Author: AWIDEA
Description: Tema katalog WPC Indoor AWIDEA dengan filter ukuran, pencarian motif, kalkulator kebutuhan, dan pemesanan WhatsApp.
Version: 1.0.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: awidea-wpc
*/

:root {
  --green: #123b2e;
  --green-deep: #0a2a20;
  --green-soft: #e8f0ec;
  --cream: #f5f0e7;
  --cream-light: #fbf9f5;
  --gold: #c8a45f;
  --gold-dark: #a78342;
  --ink: #17201d;
  --muted: #65716b;
  --white: #ffffff;
  --line: #e5e1d9;
  --shadow: 0 16px 42px rgba(18, 59, 46, .10);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-light);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 90px 0; scroll-margin-top: 84px; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-title {
  margin: 0;
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: -.04em;
}
.section-intro { max-width: 720px; margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-head__copy { max-width: 760px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(200, 164, 95, .35);
  border-radius: 999px;
  color: #6f5527;
  background: #fff9ed;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { color: var(--green-deep); background: var(--gold); box-shadow: 0 10px 24px rgba(200, 164, 95, .24); }
.btn--gold:hover { background: #d6b56f; }
.btn--green { color: var(--white); background: var(--green); box-shadow: 0 10px 25px rgba(18, 59, 46, .18); }
.btn--green:hover { background: var(--green-deep); }
.btn--outline { border-color: rgba(255,255,255,.45); color: var(--white); background: rgba(255,255,255,.08); }
.btn--outline:hover { background: rgba(255,255,255,.16); }
.btn--block { width: 100%; }

.topbar { padding: 8px 0; color: #f9f3e6; background: var(--green-deep); font-size: .76rem; font-weight: 700; }
.topbar__inner { display: flex; justify-content: center; gap: 24px; text-align: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(200, 164, 95, .25);
  background: rgba(7,28,22,.96);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; min-height: 112px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { display: block; width: 146px; height: auto; }
.brand__mark {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50% 50% 50% 14%;
  color: var(--green-deep);
  background: linear-gradient(135deg, #e4c47d, var(--gold));
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}
.brand__name { display: block; color: var(--green); font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; line-height: 1; letter-spacing: .02em; }
.brand__tagline { display: block; margin-top: 4px; color: var(--gold-dark); font-size: .56rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: rgba(255,255,255,.84); font-size: .9rem; font-weight: 700; }
.site-nav a:not(.btn):hover { color: var(--gold); }
.site-header .btn--green { color: var(--green-deep); background: var(--gold); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--gold); background: rgba(255,255,255,.09); font-size: 1.3rem; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 76px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 8%, rgba(200,164,95,.22), transparent 34%),
    linear-gradient(125deg, var(--green-deep) 0%, var(--green) 58%, #265d49 100%);
}
.hero::after { content: ""; position: absolute; right: -120px; bottom: -240px; width: 560px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.03), 0 0 0 160px rgba(255,255,255,.02); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 64px; }
.hero .eyebrow { color: #eed89f; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(2.65rem, 6vw, 5rem); line-height: 1.04; letter-spacing: -.055em; }
.hero h1 span { color: var(--gold); }
.hero__lead { max-width: 650px; margin: 23px 0 0; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__micro { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: rgba(255,255,255,.72); font-size: .82rem; font-weight: 700; }
.hero__micro span::before { content: "✓"; margin-right: 7px; color: var(--gold); }
.hero-visual { position: relative; }
.hero-visual__frame { overflow: hidden; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.22); border-radius: 32px; background: #fff; box-shadow: 0 35px 80px rgba(0,0,0,.25); transform: rotate(2deg); }
.hero-visual__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual__badge { position: absolute; right: -18px; bottom: 28px; max-width: 205px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 18px; color: var(--green); background: rgba(255,255,255,.96); box-shadow: var(--shadow); font-size: .82rem; font-weight: 700; transform: rotate(-2deg); }
.hero-visual__badge strong { display: block; color: var(--gold-dark); font-size: 1.35rem; }

.trust-strip { position: relative; z-index: 3; margin-top: -24px; }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid rgba(18,59,46,.08); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.trust-item { padding: 24px 22px; text-align: center; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--green); font-size: 1.35rem; line-height: 1.2; }
.trust-item span { display: block; margin-top: 5px; color: var(--muted); font-size: .78rem; font-weight: 700; }

.size-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.size-card { position: relative; overflow: hidden; min-height: 240px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 9px 28px rgba(18,59,46,.05); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.size-card:hover { transform: translateY(-5px); border-color: rgba(200,164,95,.65); box-shadow: var(--shadow); }
.size-card::after { content: ""; position: absolute; right: -28px; bottom: -28px; width: 110px; aspect-ratio: 1; border-radius: 50%; background: var(--green-soft); }
.size-card__label { color: var(--gold-dark); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.size-card h3 { margin: 10px 0 0; color: var(--green); font-size: 1.6rem; line-height: 1.15; }
.size-card__spec { margin: 13px 0 0; color: var(--muted); font-size: .86rem; }
.size-card__coverage { position: relative; z-index: 1; margin-top: 20px; color: var(--green); font-size: .78rem; font-weight: 800; }
.size-card__link { position: relative; z-index: 1; display: inline-flex; margin-top: 20px; color: var(--gold-dark); font-size: .8rem; font-weight: 800; }

.catalog-toolbar { position: sticky; z-index: 25; top: 112px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.95); box-shadow: 0 10px 30px rgba(18,59,46,.06); backdrop-filter: blur(16px); }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: #435149; background: var(--white); font-size: .78rem; font-weight: 800; }
.filter-btn:hover, .filter-btn.is-active { border-color: var(--green); color: var(--white); background: var(--green); }
.catalog-search { position: relative; min-width: 260px; }
.catalog-search input { width: 100%; height: 42px; padding: 0 15px 0 40px; border: 1px solid var(--line); border-radius: 999px; outline: 0; background: var(--cream-light); }
.catalog-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,95,.14); }
.catalog-search::before { content: "⌕"; position: absolute; left: 15px; top: 4px; color: var(--muted); font-size: 1.25rem; }
.catalog-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; color: var(--muted); font-size: .85rem; }
.catalog-meta strong { color: var(--green); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 10px 28px rgba(18,59,46,.06); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card[hidden] { display: none !important; }
.product-card__image { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--cream); }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-card__image img { transform: scale(1.025); }
.product-card__series { position: absolute; left: 12px; bottom: 12px; padding: 7px 10px; border-radius: 999px; color: var(--white); background: rgba(10,42,32,.9); font-size: .68rem; font-weight: 800; backdrop-filter: blur(8px); }
.product-card__body { padding: 17px; }
.product-card__code { color: var(--gold-dark); font-size: .7rem; font-weight: 900; letter-spacing: .1em; }
.product-card h3 { margin: 5px 0 0; color: var(--green); font-size: 1.05rem; line-height: 1.3; }
.product-card__spec { margin: 9px 0 14px; color: var(--muted); font-size: .74rem; }
.product-card .btn { min-height: 42px; padding: 9px 14px; font-size: .78rem; }
.no-results { display: none; padding: 40px; border: 1px dashed #cfc9bd; border-radius: 18px; text-align: center; color: var(--muted); background: var(--white); }
.no-results.is-visible { display: block; }

.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit-card { padding: 28px 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.07); }
.benefit-card__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; color: var(--green-deep); background: var(--gold); font-size: 1.2rem; font-weight: 900; }
.benefit-card h3 { margin: 18px 0 8px; color: var(--white); font-size: 1.05rem; }
.benefit-card p { margin: 0; color: rgba(255,255,255,.68); font-size: .86rem; }
.benefits-section { color: var(--white); background: linear-gradient(135deg, var(--green-deep), var(--green)); }
.benefits-section .section-title { color: var(--white); }
.benefits-section .section-intro { color: rgba(255,255,255,.7); }

.calculator-wrap { display: grid; grid-template-columns: .86fr 1.14fr; overflow: hidden; border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.calculator-copy { padding: 48px; color: var(--white); background: linear-gradient(145deg, var(--green-deep), var(--green)); }
.calculator-copy h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
.calculator-copy p { color: rgba(255,255,255,.72); }
.calculator-copy ul { padding: 0; margin: 26px 0 0; list-style: none; }
.calculator-copy li { margin: 10px 0; color: rgba(255,255,255,.8); font-size: .88rem; }
.calculator-copy li::before { content: "✓"; margin-right: 9px; color: var(--gold); font-weight: 900; }
.calculator-form { padding: 48px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--green); font-size: .8rem; font-weight: 800; }
.field input, .field select { width: 100%; height: 50px; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); outline: 0; background: var(--cream-light); }
.field input:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,95,.14); }
.calc-result { display: none; margin-top: 18px; padding: 18px; border: 1px solid rgba(18,59,46,.12); border-radius: 14px; background: var(--green-soft); }
.calc-result.is-visible { display: block; }
.calc-result strong { display: block; color: var(--green); font-size: 1.25rem; }
.calc-result p { margin: 6px 0 14px; color: var(--muted); font-size: .82rem; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: .72rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.step__number { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--green-deep); background: var(--gold); font-weight: 900; }
.step h3 { margin: 17px 0 8px; color: var(--green); font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: .83rem; }

.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.faq-list summary { position: relative; padding: 18px 48px 18px 20px; color: var(--green); font-weight: 800; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 14px; color: var(--gold-dark); font-size: 1.35rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: .86rem; }

.final-cta { padding: 72px 0; color: var(--white); background: linear-gradient(120deg, var(--green-deep), var(--green)); }
.final-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-cta h2 { max-width: 700px; margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; }
.final-cta p { margin: 12px 0 0; color: rgba(255,255,255,.72); }
.site-footer { padding: 54px 0 26px; color: rgba(255,255,255,.72); background: #071c16; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr; gap: 50px; }
.site-footer .brand__name { color: var(--white); }
.site-footer .brand__logo { width: 185px; }
.site-footer h3 { margin: 0 0 14px; color: var(--white); font-size: .92rem; }
.site-footer p, .site-footer a { font-size: .82rem; }
.site-footer nav { display: grid; gap: 8px; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .74rem; }
.wa-float { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 999px; color: var(--white); background: #20a85a; box-shadow: 0 16px 35px rgba(0,0,0,.22); font-size: .85rem; font-weight: 900; transition: transform .2s ease; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float__icon { display: grid; width: 25px; height: 25px; place-items: center; border: 2px solid currentColor; border-radius: 50%; font-size: .8rem; }

.content-page { min-height: 60vh; padding: 80px 0; }
.content-page article { max-width: 780px; margin-inline: auto; }
.content-page h1 { color: var(--green); font-size: clamp(2.3rem, 5vw, 4rem); }

@media (max-width: 1100px) {
  .site-nav { gap: 18px; }
  .site-nav a:not(.btn) { font-size: .82rem; }
  .hero__grid { gap: 38px; }
  .size-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .topbar__item:nth-child(2) { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .site-nav { position: fixed; inset: 144px 18px auto; display: none; align-items: stretch; padding: 22px; border: 1px solid rgba(200,164,95,.28); border-radius: 20px; background: var(--green-deep); box-shadow: var(--shadow); }
  .site-nav.is-open { display: grid; }
  .site-nav a:not(.btn) { padding: 8px; font-size: .95rem; }
  .hero { padding-top: 54px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 590px; margin-inline: auto; }
  .trust-strip__grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
  .size-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-toolbar { position: static; align-items: stretch; flex-direction: column; }
  .catalog-search { min-width: 100%; }
  .benefit-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .calculator-wrap, .faq-grid { grid-template-columns: 1fr; }
  .calculator-copy, .calculator-form { padding: 38px; }
  .final-cta__inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .site-container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 68px 0; }
  .topbar__inner { gap: 12px; }
  .topbar__item:nth-child(3) { display: none; }
  .header-inner { min-height: 92px; }
  .brand__logo { width: 112px; }
  .brand__mark { width: 37px; }
  .brand__name { font-size: 1.45rem; }
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 2.7rem; }
  .hero__actions .btn { width: 100%; }
  .hero-visual__badge { right: 6px; bottom: 12px; }
  .trust-strip { margin-top: -18px; }
  .trust-item { padding: 19px 12px; }
  .trust-item strong { font-size: 1.08rem; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .size-grid { grid-template-columns: 1fr; }
  .size-card { min-height: 205px; }
  .filter-group { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
  .filter-btn { flex: 0 0 auto; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card__body { padding: 12px; }
  .product-card h3 { font-size: .9rem; }
  .product-card__spec { font-size: .68rem; }
  .product-card .btn { padding: 8px 9px; font-size: .68rem; }
  .benefit-grid, .steps { grid-template-columns: 1fr; }
  .calculator-copy, .calculator-form { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .wa-float { right: 14px; bottom: 14px; padding: 13px; }
  .wa-float__label { display: none; }
}
