/*
Theme Name: Bali Hotel Amenities
Theme URI: https://balihotelamenities.net/
Author: Orensa Global
Description: Client-editable WordPress theme for Bali Hotel Amenities by Orensa, including products, categories, pages, and catalogue leads.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: balihotel
*/

:root {
  --forest: #4a2f2a;
  --forest-dark: #261815;
  --moss: #8a6a5a;
  --sand: #ead9bd;
  --ivory: #f7f0e6;
  --cream: #fbf7f0;
  --clay: #b96042;
  --chat: #b96042;
  --ink: #2d2420;
  --muted: #776b64;
  --line: #ded2c6;
  --serif: "Bodoni 72", Didot, "Iowan Old Style", Georgia, serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; background: #fff; color: #000; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.topbar { position: fixed; z-index: 50; inset: 0 0 auto; height: 90px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(22px, 4.5vw, 72px); color: white; border-bottom: 1px solid rgba(255,255,255,.22); transition: background .35s, color .35s, height .35s, box-shadow .35s; }
.topbar.scrolled { height: 76px; color: var(--ink); background: rgba(251,248,241,.94); backdrop-filter: blur(16px); box-shadow: 0 10px 35px rgba(16,42,37,.08); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 13px; width: max-content; }
.brand img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.brand > span { display: grid; gap: 4px; }
.brand strong { font-size: 12px; letter-spacing: .25em; }
.brand small { font-size: 7px; letter-spacing: .35em; opacity: .74; }
.desktop-nav { display: flex; gap: 34px; align-items: center; }
.desktop-nav a { position: relative; padding: 30px 0; font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.desktop-nav a::after { content: ""; position: absolute; bottom: 22px; left: 0; width: 0; height: 1px; background: currentColor; transition: width .25s; }
.desktop-nav a:hover::after { width: 100%; }
.nav-cta { justify-self: end; display: flex; align-items: center; gap: 14px; padding: 13px 17px; border: 1px solid currentColor; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .17em; }
.nav-cta span { font-size: 14px; transition: transform .2s; }
.nav-cta:hover span { transform: translate(3px,-3px); }
.menu-button, .mobile-menu { display: none; }
.mobile-menu-links { display: grid; gap: 12px; }

.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: flex-end; color: white; background: var(--forest-dark); }
.hero-image, .hero-wash { position: absolute; inset: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transform: scale(1.04); animation: heroZoom 12s ease-out forwards; }
.hero-wash { background: linear-gradient(90deg, rgba(9,35,29,.84) 0%, rgba(9,35,29,.55) 43%, rgba(9,35,29,.08) 75%), linear-gradient(0deg, rgba(5,23,19,.48), transparent 48%); }
.hero-copy { position: relative; z-index: 2; width: min(790px, 76vw); margin: 0 0 clamp(90px, 12vh, 135px) clamp(28px, 7vw, 112px); }
.kicker { display: flex; align-items: center; gap: 16px; margin: 0 0 30px; font-size: 8px; text-transform: uppercase; letter-spacing: .25em; }
.kicker span { display: flex; align-items: center; gap: 15px; }
.kicker span::before { content: ""; width: 40px; height: 1px; background: var(--sand); }
.kicker b { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.4); color: var(--sand); font-weight: 500; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; line-height: .88; }
h1 { font-size: clamp(75px, 11.5vw, 180px); }
h1 em, h2 em { color: var(--sand); font-weight: 400; }
.hero-lead { max-width: 535px; margin: 34px 0 32px; color: rgba(255,255,255,.76); font-size: clamp(14px, 1.3vw, 17px); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button { min-height: 51px; display: inline-flex; align-items: center; gap: 26px; padding: 0 24px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; transition: transform .25s, background .25s, color .25s; }
.button span { font-size: 14px; }
.button-light { background: var(--ivory); color: var(--forest); border: 1px solid var(--ivory); }
.button-light:hover { color: white; background: transparent; transform: translateY(-2px); }
.underlink { padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.7); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; }
.hero-note { position: absolute; z-index: 2; right: 0; bottom: 0; display: grid; grid-template-columns: auto 1fr; gap: 18px; width: 340px; padding: 28px 34px; color: var(--ink); background: var(--sand); }
.hero-note span { font-family: var(--serif); font-size: 28px; }
.hero-note p { margin: 2px 0 0; font-family: var(--serif); font-size: 16px; line-height: 1.45; }
.scroll-cue { position: absolute; z-index: 2; left: 22px; bottom: 105px; display: flex; align-items: center; gap: 12px; font-size: 7px; letter-spacing: .18em; writing-mode: vertical-rl; transform: rotate(180deg); }
.scroll-cue span { width: 1px; height: 42px; background: rgba(255,255,255,.6); animation: pulse 1.8s infinite; }

.section-pad { padding: clamp(92px, 11vw, 170px) clamp(24px, 7vw, 112px); }
/* Gutenberg pages created by the client in Pages > Add New. */
.page-content { max-width: 1100px; margin: 0 auto; color: var(--ink); }
.page-content > * { max-width: 760px; margin-right: auto; margin-left: auto; }
.page-content > .alignwide { max-width: 100%; }
.page-content > .alignfull { width: 100vw; max-width: none; margin-right: calc(50% - 50vw); margin-left: calc(50% - 50vw); }
.page-content h2, .page-content h3, .page-content h4 { margin-top: 1.5em; margin-bottom: .5em; font-family: var(--serif); font-weight: 400; line-height: 1; }
.page-content h2 { font-size: clamp(42px, 5vw, 70px); }
.page-content h3 { font-size: clamp(28px, 3vw, 42px); }
.page-content p, .page-content li { color: var(--muted); font-size: 16px; line-height: 1.85; }
.page-content a:not(.wp-element-button) { color: var(--clay); text-decoration: underline; text-underline-offset: 4px; }
.page-content figure { margin-top: 34px; margin-bottom: 34px; }
.page-content figcaption { color: var(--muted); font-size: 12px; text-align: center; }
.page-content .wp-element-button { padding: 15px 22px; color: white; background: var(--forest); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section-tag { margin: 0 0 24px; color: var(--clay); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .23em; }
h2 { font-size: clamp(49px, 7vw, 108px); }
.intro { display: grid; grid-template-columns: .75fr 1.25fr; grid-template-areas: "mark copy" "stats stats"; gap: 80px 8vw; background: var(--ivory); }
.intro-mark { grid-area: mark; align-self: start; color: rgba(23,61,53,.08); font-family: var(--serif); font-size: clamp(105px, 18vw, 270px); line-height: .7; letter-spacing: -.08em; }
.intro-mark sup { color: var(--clay); font-family: var(--sans); font-size: 12px; letter-spacing: 0; vertical-align: top; }
.intro-copy { grid-area: copy; max-width: 740px; }
.intro-copy h2 em { color: var(--clay); }
.intro-copy > p:last-child { max-width: 590px; margin: 38px 0 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.intro-stats { grid-area: stats; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-stats div { display: grid; gap: 9px; padding: 28px 34px; border-right: 1px solid var(--line); }
.intro-stats div:last-child { border-right: 0; }
.intro-stats strong { font-family: var(--serif); font-size: 42px; font-weight: 400; }
.intro-stats span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .18em; }

.collection { background: var(--cream); }
.collection-head { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 70px; margin-bottom: 70px; }
.collection-head h2 em { color: var(--clay); }
.collection-head > p { max-width: 450px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.collection-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; grid-auto-rows: 380px; gap: 18px; }
.product-card { position: relative; overflow: hidden; min-height: 360px; color: white; background: var(--forest); }
.product-card-feature { grid-row: span 2; }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.product-card:nth-child(2) img { object-position: 62% center; }
.product-card:nth-child(5) img { object-position: 64% center; }
.product-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,22,18,.04) 20%, rgba(4,22,18,.88)); }
.product-index { position: absolute; top: 23px; left: 24px; font-size: 8px; letter-spacing: .18em; }
.product-copy { position: absolute; z-index: 2; left: 25px; right: 70px; bottom: 25px; }
.product-copy > p { margin: 0 0 9px; color: var(--sand); font-size: 7px; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; }
.product-copy h3 { margin: 0 0 9px; font-family: var(--serif); font-size: clamp(28px, 2.5vw, 40px); font-weight: 400; line-height: 1; }
.product-copy > span { color: rgba(255,255,255,.65); font-size: 9px; line-height: 1.5; }
.circle-link { position: absolute; z-index: 3; right: 22px; bottom: 22px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; transition: background .25s, border .25s, transform .25s; }
.product-card:hover img { transform: scale(1.06); }
.product-card:hover .circle-link { color: var(--forest); background: var(--sand); border-color: var(--sand); transform: rotate(45deg); }
.product-card-text { color: white; background: var(--forest); }
.product-card-text .product-copy > span { color: rgba(255,255,255,.62); }
.leaf-mark { position: absolute; top: 50%; left: 50%; margin: 0; color: rgba(255,255,255,.12); font-family: var(--serif); font-size: 150px; line-height: 1; transform: translate(-50%,-55%); }
.tone-clay { background: var(--clay); }
.tone-clay .product-copy > p { color: #f5d9cb; }

.marquee { overflow: hidden; padding: 24px 0; color: var(--sand); background: var(--forest-dark); }
.marquee > div { width: max-content; display: flex; align-items: center; gap: 35px; animation: marquee 26s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 29px; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--clay); }

.story { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(60px, 10vw, 150px); background: var(--ivory); }
.story-visual { position: relative; height: min(72vw, 720px); }
.story-visual::before { content: ""; position: absolute; z-index: 2; inset: -18px 18px 18px -18px; border: 1px solid var(--clay); pointer-events: none; }
.story-visual img { width: 100%; height: 100%; object-fit: cover; }
.story-visual > span { position: absolute; z-index: 3; right: -16px; bottom: 35px; padding: 15px 20px; background: var(--forest); color: white; font-size: 7px; letter-spacing: .2em; }
.story-copy h2 { font-size: clamp(48px, 6vw, 89px); }
.story-copy h2 em { color: var(--clay); }
.story-lead { max-width: 620px; margin: 38px 0 42px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.values article { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.values article:last-child { border-bottom: 1px solid var(--line); }
.values article > span { padding-top: 5px; color: var(--clay); font-size: 8px; letter-spacing: .15em; }
.values h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 21px; font-weight: 400; }
.values p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

.quote-band { display: grid; place-items: center; min-height: 420px; padding: 80px 24px; text-align: center; color: white; background: var(--forest); }
.quote-band p { max-width: 1050px; margin: 0 0 30px; font-family: var(--serif); font-size: clamp(38px, 5.5vw, 82px); line-height: 1.08; letter-spacing: -.03em; }
.quote-band em { color: var(--sand); }
.quote-band span { font-size: 7px; letter-spacing: .24em; }

.download { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(70px, 11vw, 170px); background: var(--sand); }
.download-copy h2 { font-size: clamp(52px, 6vw, 90px); }
.download-copy h2 em { color: var(--clay); }
.download-copy > p:not(.section-tag) { max-width: 450px; margin: 32px 0; color: #5e665f; font-size: 14px; line-height: 1.8; }
.catalog-chip { display: flex; align-items: center; gap: 15px; margin-top: 38px; }
.catalog-chip > b { display: grid; place-items: center; width: 51px; height: 61px; border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); font-size: 9px; letter-spacing: .12em; }
.catalog-chip > span { display: grid; gap: 5px; }
.catalog-chip strong { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.catalog-chip small { color: #70766f; font-size: 8px; letter-spacing: .08em; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 27px 25px; align-content: start; }
.lead-form label { display: grid; gap: 8px; }
.lead-form label > span { color: #6d6f67; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .17em; }
.lead-form input { width: 100%; height: 54px; padding: 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); outline: 0; font-size: 13px; transition: border .2s; }
.lead-form input::placeholder { color: color-mix(in srgb, var(--ink) 45%, transparent); }
.lead-form input:focus { border-bottom-color: var(--clay); }
.download-button { grid-column: 1 / -1; min-height: 58px; display: flex; justify-content: space-between; align-items: center; padding: 0 22px; color: white; background: var(--forest); border: 1px solid var(--forest); cursor: pointer; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; transition: background .25s, color .25s, transform .25s; }
.download-button b { font-size: 17px; }
.download-button:hover { color: var(--forest); background: transparent; transform: translateY(-2px); }
.form-status { grid-column: 1 / -1; min-height: 18px; margin: -10px 0 0; color: var(--forest); font-size: 10px; }

footer { padding: 80px clamp(24px, 7vw, 112px) 24px; color: white; background: var(--forest-dark); }
.footer-top { display: grid; grid-template-columns: 1fr 1.2fr .8fr; align-items: center; gap: 50px; padding-bottom: 65px; border-bottom: 1px solid rgba(255,255,255,.13); }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 65px; height: 65px; border-radius: 50%; }
.footer-brand p { display: grid; gap: 6px; margin: 0; }
.footer-brand strong { letter-spacing: .3em; font-size: 13px; }
.footer-brand span { color: rgba(255,255,255,.5); font-size: 7px; letter-spacing: .18em; }
.footer-line { margin: 0; font-family: var(--serif); font-size: clamp(27px, 3vw, 44px); line-height: 1.06; }
.footer-line em { color: var(--sand); }
.footer-chat { justify-self: end; display: flex; justify-content: space-between; align-items: center; gap: 30px; width: min(100%, 240px); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.5); font-size: 9px; text-transform: uppercase; letter-spacing: .16em; }
.footer-chat span { font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 60px; padding: 55px 0; }
.footer-grid address { color: rgba(255,255,255,.55); font-size: 11px; font-style: normal; line-height: 1.8; }
.footer-grid > div { display: grid; align-content: start; gap: 10px; }
.footer-grid > div > span { margin-bottom: 9px; color: var(--sand); font-size: 7px; letter-spacing: .2em; }
.footer-grid a { color: rgba(255,255,255,.65); font-size: 10px; }
.footer-grid a:hover { color: var(--sand); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.35); font-size: 7px; letter-spacing: .14em; }
.whatsapp { position: fixed; z-index: 45; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 11px; padding: 8px 15px 8px 8px; color: white; background: var(--chat); border-radius: 999px; box-shadow: 0 14px 35px rgba(0,0,0,.22); transition: transform .25s; }
.whatsapp:hover { transform: translateY(-3px); }
.whatsapp span { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; font-size: 9px; font-weight: 700; }
.whatsapp b { font-size: 9px; }

/* Konten tetap terlihat di HTML Editor cPanel dan saat JavaScript tidak berjalan. */
.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1500px) {
  .desktop-nav, .nav-cta { display: none; }
  .topbar { grid-template-columns: 1fr auto; height: 76px; }
  .menu-button { justify-self: end; display: grid; place-content: center; gap: 7px; width: 46px; height: 46px; padding: 0; color: inherit; background: transparent; border: 0; cursor: pointer; }
  .menu-button span { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .25s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu { position: fixed; z-index: 44; inset: 0; display: grid; align-content: center; gap: 12px; padding: 100px 8vw 50px; color: white; background: var(--forest-dark); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, visibility .3s, transform .3s; }
  .mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-family: var(--serif); font-size: 32px; }
  .hero-copy { width: min(760px, 86vw); }
  .hero-note { width: 300px; }
  .collection-grid { grid-template-columns: 1fr 1fr; }
  .product-card-feature { grid-row: auto; }
  .story { grid-template-columns: 1fr; }
  .story-visual { height: 700px; }
  .download { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-line { order: 3; grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .topbar { padding: 0 18px; }
  .brand img { width: 44px; height: 44px; }
  .hero { min-height: 820px; }
  .hero-image img { object-position: 62% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(9,35,29,.86), rgba(9,35,29,.3)), linear-gradient(0deg, rgba(5,23,19,.6), transparent 55%); }
  .hero-copy { margin: 0 23px 160px; width: auto; }
  h1 { font-size: clamp(68px, 24vw, 103px); }
  .kicker b { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero-note { width: calc(100% - 28px); padding: 22px 24px; }
  .scroll-cue { display: none; }
  .section-pad { padding-left: 23px; padding-right: 23px; }
  .intro { grid-template-columns: 1fr; grid-template-areas: "mark" "copy" "stats"; gap: 55px; }
  .intro-mark { font-size: 150px; }
  .intro-stats { grid-template-columns: 1fr; }
  .intro-stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .intro-stats div:last-child { border-bottom: 0; }
  .collection-head { grid-template-columns: 1fr; gap: 30px; }
  .collection-grid { grid-template-columns: 1fr; grid-auto-rows: 420px; }
  .product-card { min-height: 420px; }
  .story-visual { height: 520px; margin-left: 18px; }
  .lead-form { grid-template-columns: 1fr; }
  .download-button, .form-status { grid-column: auto; }
  .footer-top, .footer-grid { grid-template-columns: 1fr; }
  .footer-chat { justify-self: start; }
  .footer-line { order: initial; grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 9px; }
  .whatsapp { right: 13px; bottom: 13px; padding: 7px; }
  .whatsapp b { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.collection-empty { grid-column: 1 / -1; align-self: center; margin: 0; padding: 40px 0; color: var(--forest); font-size: 12px; letter-spacing: .04em; text-align: center; }

/* ---- Kartu kategori: seluruh kartu jadi tautan ---- */
.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; }
.card-link { position: absolute; z-index: 4; inset: 0; }
.product-copy .product-count { display: block; margin-top: 10px; color: var(--sand); font-size: 8px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.product-card .circle-link { pointer-events: none; }

/* ---- Halaman kategori ---- */
.cat-hero { position: relative; display: flex; align-items: flex-end; min-height: 460px; padding: 130px clamp(20px, 6vw, 90px) 60px; overflow: hidden; color: white; background: var(--forest); }
.cat-hero-image { position: absolute; inset: 0; }
.cat-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.cat-hero-wash { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,22,18,.55) 0%, rgba(4,22,18,.9) 85%); }
.cat-hero-plain { min-height: 360px; }
.cat-hero-copy { position: relative; z-index: 2; max-width: 760px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: rgba(255,255,255,.62); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.crumbs a:hover { color: var(--sand); }
.crumbs b { color: var(--sand); font-weight: 600; }
.cat-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 6vw, 84px); font-weight: 400; line-height: .98; }
.cat-lead { max-width: 620px; margin: 20px 0 0; color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.75; }

.cat-items { background: var(--cream); }
.cat-items-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.cat-empty { max-width: 560px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.cat-empty-cta { margin: 26px 0 0; }

.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.item-card { display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.item-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px color-mix(in srgb, var(--forest) 10%, transparent); }
.item-media { position: relative; height: 230px; overflow: hidden; background: var(--forest); }
.item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.item-card:hover .item-media img { transform: scale(1.05); }
.item-placeholder { position: absolute; top: 50%; left: 50%; color: rgba(255,255,255,.16); font-family: var(--serif); font-size: 84px; transform: translate(-50%,-52%); }
.item-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.item-body h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.15; }
.item-desc { margin: 0 0 14px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.item-specs { margin: 0 0 16px; padding: 0; list-style: none; }
.item-specs li { position: relative; padding-left: 14px; color: var(--ink); font-size: 11px; line-height: 1.9; }
.item-specs li::before { content: "·"; position: absolute; left: 2px; color: var(--clay); font-weight: 700; }
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.item-price { color: var(--forest); font-size: 12px; font-weight: 600; }
.item-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--clay); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.item-cta:hover { text-decoration: underline; }

.cat-others { background: var(--ivory); }
.other-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 34px; }
.other-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: white; border: 1px solid var(--line); transition: background .25s, color .25s; }
.other-card span { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.other-card h3 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.other-card b { color: var(--clay); font-size: 10px; letter-spacing: .1em; }
.other-card:hover { color: white; background: var(--forest); }
.other-card:hover span { color: rgba(255,255,255,.6); }
.other-card:hover b { color: var(--sand); }

@media (max-width: 720px) {
  .cat-hero { min-height: 380px; padding-top: 110px; }
  .item-grid { grid-template-columns: 1fr; }
}

/* ---- Halaman produk (produk.php) ---- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cat-items .button, .detail-wrap .button { color: var(--sand); background: var(--forest); border: 1px solid var(--forest); }
.cat-items .button:hover, .detail-wrap .button:hover { color: var(--forest); background: transparent; transform: translateY(-2px); }
.cat-items .underlink, .detail-wrap .underlink { color: var(--ink); border-bottom-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.cat-items .underlink:hover, .detail-wrap .underlink:hover { color: var(--clay); border-bottom-color: var(--clay); }

.search-form { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 26px; }
.search-form label { flex: 1 1 260px; }
.search-form input[type=search] { width: 100%; height: 51px; padding: 0 16px; font: inherit; font-size: 13px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 0; }
.search-form input[type=search]:focus { outline: 2px solid var(--forest); outline-offset: 1px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.chip { padding: 9px 15px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: white; border: 1px solid var(--line); transition: color .2s, background .2s, border-color .2s; }
.chip:hover { color: var(--forest); border-color: var(--forest); }
.chip-on { color: var(--sand); background: var(--forest); border-color: var(--forest); }

.results-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 30px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.results-line p { margin: 0; color: var(--muted); font-size: 12px; }

.item-media { display: block; }
.item-arrow { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; color: var(--forest); background: var(--sand); border-radius: 50%; font-size: 14px; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.item-card:hover .item-arrow { opacity: 1; transform: translateY(0); }
.item-cat { margin: 0 0 8px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.item-body h3 a:hover { color: var(--clay); }

.cat-empty-block { max-width: 520px; padding: 40px 0; text-align: left; }
.cat-empty-block img { margin-bottom: 20px; opacity: .5; }
.cat-empty-block h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.cat-empty-block p { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.cat-empty-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 0; }

.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.page-info { color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.button-outline { color: var(--forest); background: transparent; border: 1px solid var(--line); }
.button-outline:hover { color: var(--sand); background: var(--forest); border-color: var(--forest); }

/* ---- Detail produk ---- */
.detail-wrap { padding-top: 130px; background: var(--cream); }
.crumbs-dark { margin-bottom: 34px; color: var(--muted); }
.crumbs-dark a:hover { color: var(--clay); }
.crumbs-dark b { color: var(--forest); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.detail-visual { overflow: hidden; background: var(--forest); }
.detail-visual img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.detail-copy h1 { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(32px, 4vw, 54px); font-weight: 400; line-height: 1.02; }
.detail-price { margin: 0 0 10px; color: var(--clay); font-size: 17px; font-weight: 600; }
.detail-note { margin: 0 0 26px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.detail-description { margin: 0 0 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink); font-size: 13px; line-height: 1.9; }
.detail-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.detail-return { margin: 54px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-wrap { padding-top: 110px; }
  .pagination { flex-direction: column; }
}

/* ========================================================================
   RESPONSIVE STABILITY 1.4.0
   Mobile-first safety overrides for catalogue, pages, forms and navigation.
   ===================================================================== */
html { scroll-padding-top: 96px; overflow-x: clip; }
body { min-width: 0; overflow-x: clip; }
main, section, article, header, footer, nav, form, div { min-width: 0; }
img, video, iframe, embed, object { max-width: 100%; }
p, h1, h2, h3, h4, a, span { overflow-wrap: anywhere; }
:where(a, button, input, textarea, select):focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.button, .nav-cta, .footer-chat, .chip, .item-cta, .page-numbers { min-height: 44px; }

.topbar { column-gap: clamp(16px, 3vw, 44px); }
.desktop-nav { gap: clamp(16px, 2.5vw, 34px); }
.brand-logo-image { flex: 0 0 auto; object-fit: contain; }
.brand > span { min-width: 0; }

.collection-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: clamp(300px, 27vw, 390px);
  align-items: stretch;
}
.product-card { grid-column: span 4; min-width: 0; min-height: 0; }
.product-card-feature { grid-column: span 8; grid-row: span 2; }
.product-copy { min-width: 0; }
.product-copy h3, .product-copy > span { max-width: 100%; }
.product-copy > span { display: block; line-height: 1.6; }
.card-link:focus-visible { outline: 4px solid var(--sand); outline-offset: -6px; }

.cat-hero-copy { width: min(100%, 760px); }
.cat-hero h1 { overflow-wrap: anywhere; }
.search-form { align-items: stretch; }
.search-form label { min-width: 0; }
.search-form .button { justify-content: center; flex: 0 0 auto; }
.chips { max-width: 100%; }
.chip { display: inline-flex; align-items: center; flex: 0 0 auto; white-space: nowrap; }
.results-line { align-items: center; }
.item-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); align-items: stretch; }
.item-card { min-width: 0; height: 100%; }
.item-media { height: auto; aspect-ratio: 4 / 3; }
.item-body h3, .item-desc { overflow-wrap: anywhere; }
.item-foot { align-items: flex-end; }
.item-cta { padding: 6px 0; }
.item-card:focus-within { border-color: var(--forest); box-shadow: 0 18px 40px color-mix(in srgb, var(--forest) 10%, transparent); }
.pagination { justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; padding: 0 14px; }
.pagination .current { color: var(--sand); background: var(--forest); border-color: var(--forest); }

.detail-grid > *, .detail-description > * { min-width: 0; }
.detail-description img, .detail-description video, .detail-description iframe { height: auto; }
.detail-description table, .page-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.detail-description pre, .page-content pre { max-width: 100%; overflow-x: auto; }
.detail-actions .button { justify-content: center; }

.page-content { width: min(100%, 1100px); }
.page-content > * { width: min(100%, 760px); }
.page-content > .alignwide { width: 100%; }
.page-content img { height: auto; }
.page-content iframe { width: 100%; }
.page-content input, .page-content textarea, .page-content select { max-width: 100%; }
.post-featured-image { overflow: hidden; }
.post-featured-image img { width: 100%; height: auto; }

.lead-form input { min-width: 0; }
.download-button:disabled { cursor: wait; opacity: .65; }
.form-status:not(:empty) { padding-top: 8px; }
.footer-grid a { display: inline-flex; align-items: center; min-height: 32px; overflow-wrap: anywhere; }

@media (max-width: 1500px) {
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .product-card { grid-column: auto; grid-row: auto; min-height: 0; aspect-ratio: 1 / 1; }
  .product-card-feature { grid-column: 1 / -1; min-height: 0; aspect-ratio: 16 / 9; }
  .mobile-menu { overflow-y: auto; overscroll-behavior: contain; }
  .mobile-menu-links { align-content: start; }
  .mobile-menu a { display: flex; align-items: center; min-height: 54px; }
}

@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-visual { max-width: 680px; }
  .pagination { flex-direction: row; }
  .footer-grid { gap: 36px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 80px; }
  .topbar { height: 72px; }
  .topbar.scrolled { height: 68px; }
  .brand { max-width: calc(100vw - 88px); }
  .brand strong { font-size: 11px; }
  .brand small { font-size: 7px; }
  .menu-button { width: 48px; height: 48px; }
  .mobile-menu { padding: 92px 22px 34px; }
  .mobile-menu a { font-size: clamp(25px, 9vw, 34px); }

  .hero { min-height: max(720px, 100svh); }
  .hero-copy { margin-right: 22px; margin-left: 22px; }
  .hero-copy h1 { font-size: clamp(56px, 20vw, 92px); }
  .hero-lead { font-size: 15px; line-height: 1.7; }
  .hero-note { right: 14px; left: 14px; width: auto; }
  .hero-actions .button { width: 100%; justify-content: space-between; }

  .section-pad { padding-top: 80px; padding-bottom: 80px; }
  .collection-head { margin-bottom: 42px; }
  .collection-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 14px; }
  .product-card, .product-card-feature { grid-column: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .product-copy { right: 64px; left: 22px; bottom: 22px; }
  .product-copy h3 { font-size: clamp(29px, 10vw, 40px); }
  .circle-link { right: 18px; bottom: 18px; width: 44px; height: 44px; }
  .story-visual { width: calc(100% - 18px); height: min(125vw, 520px); }

  .download { gap: 54px; }
  .lead-form { gap: 22px; }
  .lead-form input { height: 52px; font-size: 16px; }
  .download-button { width: 100%; min-height: 56px; }
  .catalog-chip { align-items: flex-start; }

  .cat-hero { min-height: 340px; padding: 104px 22px 48px; }
  .cat-hero h1 { font-size: clamp(42px, 14vw, 64px); }
  .crumbs { max-width: 100%; gap: 6px; letter-spacing: .12em; }
  .cat-items { padding-top: 56px; }
  .search-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .search-form label, .search-form .button { width: 100%; }
  .search-form input[type=search] { font-size: 16px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; margin-right: -23px; margin-left: -23px; padding: 0 23px 12px; scroll-padding-inline: 23px; }
  .results-line { align-items: flex-start; }
  .item-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .item-media { aspect-ratio: 16 / 11; }
  .item-body { padding: 20px; }
  .item-body h3 { font-size: 27px; }
  .item-foot { align-items: center; }
  .item-cta { min-height: 44px; }
  .item-arrow { opacity: 1; transform: none; }
  .pagination { gap: 8px; margin-top: 34px; }

  .detail-wrap { padding-top: 100px; }
  .detail-actions { display: grid; grid-template-columns: 1fr; gap: 18px; }
  .detail-actions .button { width: 100%; }
  .detail-return { margin-top: 40px; }
  .page-content h2 { font-size: clamp(36px, 12vw, 52px); }
  .page-content h3 { font-size: clamp(27px, 9vw, 38px); }
  .page-content p, .page-content li { font-size: 15px; }

  footer { padding-bottom: 86px; }
  .footer-top { gap: 32px; padding-bottom: 44px; }
  .footer-grid { gap: 30px; padding: 42px 0; }
  .footer-bottom { line-height: 1.6; }
}

@media (max-width: 380px) {
  .brand > span { display: none; }
  .hero-copy h1 { font-size: clamp(52px, 19vw, 72px); }
  .hero-note { padding: 18px 20px; }
  .product-card, .product-card-feature { min-height: 0; }
  .item-foot { align-items: flex-start; flex-direction: column; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .mobile-menu { align-content: start; }
  .mobile-menu a { min-height: 46px; padding: 8px 0; font-size: 24px; }
}

@media (hover: none) {
  .product-card:hover img, .item-card:hover .item-media img { transform: none; }
  .item-arrow { opacity: 1; transform: none; }
}
/* ========================================================================
   CLIENT CONTENT MODULES 1.4.0
   About gallery, FAQ, News & Events, Housekeeping pages, and catalogue QR.
   ===================================================================== */
.story-visual.story-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, .75fr);
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 12px;
  width: 100%;
  height: min(62vw, 700px);
  margin: 0;
}
.story-gallery::before { inset: -18px 18px 18px -18px; }
.story-gallery figure { position: relative; min-width: 0; min-height: 0; margin: 0; overflow: hidden; background: var(--forest); }
.story-gallery-main { grid-row: 1 / -1; }
.story-gallery figure img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.story-gallery figure:hover img { transform: scale(1.025); }
.story-gallery figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 36px 16px 14px; color: #fff; background: linear-gradient(transparent, rgba(7,29,24,.82)); font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.story-gallery > .story-badge { right: -16px; bottom: 35px; }
.story-lead { margin-bottom: 20px; }
.story-body { max-width: 620px; margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.values { margin-top: 34px; }

.catalogue-qr { justify-self: center; display: grid; justify-items: center; width: min(100%, 430px); padding: clamp(28px, 4vw, 46px); color: var(--ink); background: rgba(255,255,255,.72); border: 1px solid color-mix(in srgb, var(--forest) 16%, transparent); text-align: center; box-shadow: 0 22px 60px color-mix(in srgb, var(--forest) 9%, transparent); }
.catalogue-qr-eyebrow { margin: 0 0 12px; color: var(--clay); font-size: 8px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.catalogue-qr h3 { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1.05; }
.catalogue-qr-target { display: block; width: min(100%, 300px); padding: 10px; background: #fff; border: 1px solid color-mix(in srgb, var(--forest) 18%, transparent); }
.catalogue-qr-target:hover { border-color: var(--clay); }
.catalogue-qr-code { display: grid; place-items: center; width: 100%; aspect-ratio: 1; }
.catalogue-qr-code canvas, .catalogue-qr-code img { width: 100% !important; height: auto !important; }
.catalogue-qr-instruction { max-width: 320px; margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.page-introduction { padding-bottom: 26px; }
.page-introduction .page-intro, .page-content .page-intro { color: var(--muted); font-family: var(--serif); font-size: clamp(24px, 3vw, 38px); line-height: 1.35; }
.page-content details { width: min(100%, 860px); margin: 0 auto 14px; padding: 0 22px; background: #fff; border: 1px solid var(--line); }
.page-content details summary { position: relative; min-height: 72px; display: flex; align-items: center; padding: 18px 42px 18px 0; color: var(--forest); font-family: var(--serif); font-size: clamp(20px, 2.3vw, 28px); cursor: pointer; list-style: none; }
.page-content details summary::-webkit-details-marker { display: none; }
.page-content details summary::after { content: '+'; position: absolute; right: 0; color: var(--clay); font-family: var(--sans); font-size: 24px; font-weight: 300; }
.page-content details[open] summary::after { content: '−'; }
.page-content details > p { margin: 0; padding: 0 0 24px; color: var(--muted); line-height: 1.85; }

.news-listing, .content-card-section { background: var(--cream); }
.news-grid, .content-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 34px); }
.news-card, .content-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.news-card-media, .content-card-media { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; color: var(--sand); background: var(--forest); font-size: 10px; font-weight: 700; letter-spacing: .24em; }
.news-card-media img, .content-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover img, .content-card:hover img { transform: scale(1.035); }
.news-card-copy, .content-card-copy { padding: clamp(22px, 3vw, 32px); }
.news-card time { display: block; margin-bottom: 15px; color: var(--clay); font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.news-card h2, .content-card h2 { margin: 0 0 15px; font-family: var(--serif); font-size: clamp(25px, 2.5vw, 36px); font-weight: 400; line-height: 1.08; }
.news-card-copy > p, .content-card-copy > p { margin: 0 0 22px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.content-card-placeholder span { font-family: var(--serif); font-size: clamp(54px, 8vw, 96px); font-weight: 400; opacity: .68; }
.empty-content { grid-column: 1 / -1; color: var(--muted); text-align: center; }

@media (max-width: 980px) {
  .news-grid, .content-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .story-visual.story-gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(260px, 1.25fr) minmax(170px, .75fr); width: 100%; height: 510px; margin: 0; }
  .story-gallery-main { grid-column: 1 / -1; grid-row: auto; }
  .story-gallery > .story-badge { right: 10px; bottom: 10px; max-width: calc(100% - 20px); }
  .story-body { font-size: 14px; }
  .catalogue-qr { padding: 26px 20px; }
  .news-grid, .content-card-grid { grid-template-columns: minmax(0, 1fr); }
  .page-content details { padding: 0 18px; }
  .page-content details summary { min-height: 66px; font-size: 21px; }
}

@media (hover: none) {
  .story-gallery figure:hover img, .news-card:hover img, .content-card:hover img { transform: none; }
}

/* Homepage FAQ shown directly below the catalogue QR. */
.home-faq { background: var(--ivory); }
.home-faq-head { width: min(100%, 860px); margin: 0 auto 44px; }
.home-faq-head h2 { max-width: 820px; margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(42px, 6vw, 82px); font-weight: 400; line-height: 1; }
.home-faq-content.page-content { width: min(100%, 860px); max-width: none; margin: 0 auto; padding: 0; }
.home-faq-content.page-content > * { width: 100%; }
.home-faq-content .page-intro { margin: 0 0 34px; }
@media (max-width: 720px) {
  .home-faq-head { margin-bottom: 30px; }
  .home-faq-head h2 { font-size: clamp(38px, 12vw, 54px); }
  .home-faq-content .page-intro { font-size: 23px; }
}