/*
Theme Name: AWIDEA PVC UV Marmer
Theme URI: https://awidea.co.id/
Author: AWIDEA
Author URI: https://awidea.co.id/
Description: Tema katalog PVC UV Marmer AWIDEA dengan 30 motif, pencarian kode, filter motif, galeri gambar, dan tombol pemesanan WhatsApp.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: awidea-pvc-marmer
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --green-950: #0a241b;
  --green-900: #123b2e;
  --green-800: #174b3a;
  --cream: #f5f0e7;
  --cream-2: #fbf8f2;
  --gold: #c8a45f;
  --gold-light: #e6cf9d;
  --ink: #152019;
  --muted: #627069;
  --line: #ddd8cc;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(10, 36, 27, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -100px; background: var(--white); color: var(--green-900); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  color: var(--white);
  background: rgba(10, 36, 27, .92);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: auto; height: 55px; object-fit: contain; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; height: 55px; object-fit: contain; }
.admin-bar .site-header { top: 32px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: 14px; font-weight: 650; }
nav a:hover, nav a:focus-visible { color: var(--white); }
.nav-cta { padding: 10px 18px; border: 1px solid rgba(230,207,157,.55); border-radius: 999px; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 83% 20%, rgba(200,164,95,.16), transparent 27%), linear-gradient(135deg, var(--green-950), var(--green-900));
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image: repeating-linear-gradient(125deg, transparent 0 75px, rgba(255,255,255,.08) 76px, transparent 77px 150px);
}
.hero-grid { min-height: 640px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 76px; padding-block: 70px 80px; position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--gold-light); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.eyebrow.dark { color: #8b6a2e; }
.hero h1, .section-heading h2, .spec-intro h2, .cta-card h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; }
.hero h1 { max-width: 700px; margin: 0; font-size: clamp(46px, 5.3vw, 76px); line-height: 1.02; }
.hero h1 em { color: var(--gold-light); font-weight: inherit; }
.hero-lead { max-width: 650px; margin: 25px 0 0; color: rgba(255,255,255,.74); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: #1f271f; background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 10px 28px rgba(200,164,95,.2); }
.button-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.button-ghost:hover { background: rgba(255,255,255,.12); }
.hero-facts { display: flex; gap: 0; margin: 38px 0 0; }
.hero-facts div { padding: 0 24px; border-left: 1px solid rgba(255,255,255,.17); }
.hero-facts div:first-child { padding-left: 0; border-left: 0; }
.hero-facts dt { color: var(--white); font-size: 16px; font-weight: 800; }
.hero-facts dd { margin: 2px 0 0; color: rgba(255,255,255,.55); font-size: 12px; }
.hero-visual { position: relative; min-height: 490px; }
.hero-photo { position: absolute; overflow: hidden; border-radius: 26px; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 28px 70px rgba(0,0,0,.34); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-main { width: min(420px, 86%); aspect-ratio: 1; top: 0; right: 0; transform: rotate(2deg); }
.hero-photo-small { width: 180px; aspect-ratio: 1; bottom: 0; left: 0; transform: rotate(-5deg); }
.collection-chip { position: absolute; right: 10px; bottom: 18px; padding: 11px 18px; border-radius: 999px; color: var(--green-950); background: var(--cream); box-shadow: var(--shadow); font-size: 13px; font-weight: 850; }

.catalog-section { padding: 96px 0 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.section-heading h2, .spec-intro h2 { margin: 0; color: var(--green-950); font-size: clamp(36px, 4vw, 54px); line-height: 1.08; }
.section-heading p:not(.eyebrow) { margin: 14px 0 0; color: var(--muted); }
.catalog-count { min-width: 116px; text-align: right; }
.catalog-count strong { display: block; color: var(--green-900); font: 500 44px/1 Georgia, serif; }
.catalog-count span { color: var(--muted); font-size: 12px; }
.catalog-tools { position: sticky; top: 92px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 30px; padding: 12px; border: 1px solid rgba(18,59,46,.12); border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 10px 35px rgba(10,36,27,.07); backdrop-filter: blur(16px); }
.search-box { position: relative; flex: 1; display: flex; align-items: center; }
.search-icon { position: absolute; left: 16px; color: var(--green-900); font-size: 23px; line-height: 1; }
.search-box input { width: 100%; min-height: 48px; padding: 10px 16px 10px 46px; color: var(--ink); border: 0; outline: 0; background: transparent; font-size: 15px; }
.search-box input::placeholder { color: #849089; }
.filter-group { display: flex; gap: 6px; }
.filter-button { min-height: 42px; padding: 8px 15px; color: var(--muted); border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: 13px; font-weight: 750; }
.filter-button:hover { color: var(--green-900); background: var(--cream); }
.filter-button.active { color: var(--white); background: var(--green-900); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card { overflow: hidden; border: 1px solid rgba(18,59,46,.11); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 34px rgba(10,36,27,.06); transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-image-button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--white); cursor: zoom-in; overflow: hidden; }
.product-image-button::after { content: "Perbesar"; position: absolute; right: 14px; bottom: 14px; padding: 7px 11px; border-radius: 999px; color: var(--white); background: rgba(10,36,27,.82); opacity: 0; transform: translateY(5px); transition: .2s ease; font-size: 12px; font-weight: 750; }
.product-card:hover .product-image-button::after, .product-image-button:focus-visible::after { opacity: 1; transform: none; }
.product-image-button img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: center; }
.product-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 19px; }
.product-info h3 { margin: 0; color: var(--green-950); font: 600 23px/1.15 Georgia, serif; }
.product-info p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.product-wa { white-space: nowrap; padding: 9px 13px; border-radius: 999px; color: var(--green-900); background: var(--cream); text-decoration: none; font-size: 12px; font-weight: 800; }
.product-wa:hover { color: var(--white); background: var(--green-900); }
.empty-state { padding: 58px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--white); }
.empty-state strong { color: var(--green-900); font: 600 28px/1.2 Georgia, serif; }
.empty-state p { color: var(--muted); }
.empty-state button { padding: 10px 16px; border: 0; border-radius: 999px; color: var(--white); background: var(--green-900); cursor: pointer; font-weight: 750; }
.catalog-note { margin: 26px 0 0; color: #748078; font-size: 13px; text-align: center; }

.spec-section { padding: 92px 0; background: var(--cream); }
.spec-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 78px; align-items: start; }
.spec-intro > p:not(.eyebrow) { color: var(--muted); margin: 22px 0; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--green-900); font-weight: 850; text-underline-offset: 5px; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit-grid article { min-height: 210px; padding: 26px; border: 1px solid rgba(18,59,46,.1); border-radius: 20px; background: rgba(255,255,255,.65); }
.benefit-grid span { color: #9a7938; font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.benefit-grid h3 { margin: 42px 0 7px; color: var(--green-900); font: 600 24px/1.15 Georgia, serif; }
.benefit-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.cta-section { padding: 28px 0 90px; background: var(--cream); }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 52px 58px; color: var(--white); border-radius: 28px; background: radial-gradient(circle at 88% 10%, rgba(200,164,95,.22), transparent 34%), var(--green-950); }
.cta-card h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); line-height: 1.1; }
.cta-card p:not(.eyebrow) { max-width: 670px; margin: 14px 0 0; color: rgba(255,255,255,.68); }
.cta-card .button { flex: 0 0 auto; }

.site-footer { padding: 34px 0 104px; color: rgba(255,255,255,.64); background: var(--green-950); }
.footer-wrap { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 28px; }
.footer-wrap p { margin: 0; font-size: 13px; }
.footer-brand .brand-logo { height: 52px; }
.image-dialog { width: min(760px, calc(100% - 28px)); max-height: 94vh; padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: var(--white); box-shadow: 0 30px 100px rgba(0,0,0,.42); }
.image-dialog::backdrop { background: rgba(4,16,11,.82); backdrop-filter: blur(8px); }
.image-dialog img { width: 100%; max-height: calc(94vh - 88px); object-fit: contain; background: #eeeae3; }
.dialog-close { position: absolute; z-index: 2; right: 14px; top: 14px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; color: var(--white); background: rgba(10,36,27,.82); cursor: pointer; font-size: 27px; line-height: 1; }
.dialog-caption { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; }
.dialog-caption div { display: flex; flex-direction: column; }
.dialog-caption strong { color: var(--green-900); font: 600 22px/1.1 Georgia, serif; }
.dialog-caption span { color: var(--muted); font-size: 12px; }
.dialog-caption a { padding: 10px 14px; border-radius: 999px; color: var(--white); background: var(--green-900); text-decoration: none; font-size: 12px; font-weight: 800; }
.mobile-wa { display: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 46px; padding-block: 64px 72px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 480px; width: min(600px, 100%); margin-inline: auto; }
  .spec-grid { grid-template-columns: 1fr; gap: 46px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-card { align-items: flex-start; flex-direction: column; gap: 30px; }
  .footer-wrap { grid-template-columns: 1fr 1fr; }
  .footer-wrap p:last-child { text-align: right; }
  .footer-wrap > p:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 70px; }
  .brand-logo { height: 43px; }
  .custom-logo { height: 43px; }
  nav > a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 8px 14px; font-size: 12px; }
  .hero-grid { padding-block: 52px 58px; }
  .hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-facts { justify-content: space-between; }
  .hero-facts div { padding: 0 10px; }
  .hero-facts dt { font-size: 13px; }
  .hero-facts dd { font-size: 10px; }
  .hero-visual { min-height: 350px; }
  .hero-photo-main { width: 82%; }
  .hero-photo-small { width: 125px; }
  .collection-chip { bottom: 8px; font-size: 11px; }
  .catalog-section { padding-block: 68px 70px; }
  .section-heading { align-items: start; }
  .section-heading h2, .spec-intro h2 { font-size: 38px; }
  .catalog-count { display: none; }
  .catalog-tools { top: 80px; align-items: stretch; flex-direction: column; padding: 8px; }
  .search-box input { min-height: 45px; }
  .filter-group { overflow-x: auto; padding-bottom: 2px; }
  .filter-button { flex: 0 0 auto; }
  .product-grid { grid-template-columns: 1fr; gap: 18px; }
  .product-body { padding: 16px; }
  .spec-section { padding-block: 70px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { min-height: 180px; }
  .benefit-grid h3 { margin-top: 26px; }
  .cta-section { padding-bottom: 70px; }
  .cta-card { padding: 36px 26px; border-radius: 22px; }
  .cta-card .button { width: 100%; }
  .footer-wrap { display: flex; align-items: flex-start; flex-direction: column; gap: 18px; }
  .footer-wrap p:last-child { text-align: left; }
  .site-footer { padding-bottom: 92px; }
  .mobile-wa { position: fixed; z-index: 40; left: 14px; right: 14px; bottom: 12px; display: flex; min-height: 52px; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 999px; color: var(--white); background: #178b4c; box-shadow: 0 10px 35px rgba(0,0,0,.24); text-decoration: none; font-size: 14px; font-weight: 850; }
  .dialog-caption { align-items: stretch; flex-direction: column; }
  .dialog-caption a { text-align: center; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
