/*
 * The neutral rules of the inner pages, the products and the cart bar of
 * every installed website template (plan butir 485). The template draws its
 * own header, page title and footer with its own stylesheet; the subject of
 * an inner page, the product cards and the cart bar are drawn with these
 * rules, in the template's colors: the page writes --w-primary, --w-accent,
 * --w-dark, --w-surface, --w-heading-font and --w-radius (WebsiteDesign).
 * Every class starts with pk- so nothing clashes with the template.
 */

.pk-inner, .pk-cart-bar, .pk-float-wa { box-sizing: border-box; font-family: var(--w-body-font, system-ui, sans-serif); color: var(--w-dark, #222); font-size: 16px; line-height: 1.65; }
.pk-inner *, .pk-inner *::before, .pk-inner *::after { box-sizing: border-box; }
.pk-inner { max-width: 1140px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) 16px; }
.pk-inner img { max-width: 100%; height: auto; display: block; }
.pk-inner a { color: var(--w-primary); }
.pk-inner h2, .pk-inner h3 { font-family: var(--w-heading-font, inherit); font-weight: var(--w-heading-weight, 700); line-height: 1.25; margin: 0 0 0.5em; overflow-wrap: anywhere; }
.pk-heading { margin-top: 2em !important; font-size: clamp(22.4px, 3vw, 32px); }
.pk-prose p { margin: 0 0 1em; max-width: 70ch; }
.pk-muted, .pk-product__category { color: #6b7280; font-size: 14.4px; }
.pk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.pk-split { display: grid; gap: 28px; align-items: start; }
.pk-picture { width: 100%; border-radius: var(--w-radius, 8px); object-fit: cover; }
.pk-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.pk-card { border: 1px solid rgba(17, 24, 39, 0.12); border-radius: var(--w-radius, 8px); padding: 22px; background: #fff; }
.pk-card--highlight { border-color: var(--w-primary); box-shadow: 0 10px 30px rgba(17, 24, 39, 0.1); }
.pk-card ul { padding-left: 1.1em; margin: 0 0 1em; }
.pk-price { font-weight: 700; color: var(--w-primary); font-size: 18.4px; }
.pk-price small, .pk-from { font-weight: 400; color: #6b7280; font-size: 12.8px; }
.pk-from { margin-right: 4px; }
.pk-stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 2em 0; text-align: center; }
.pk-stats strong { display: block; font-size: 32px; color: var(--w-primary); font-family: var(--w-heading-font, inherit); }
.pk-gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.pk-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--w-radius, 8px); }
.pk-faq details { border: 1px solid rgba(17, 24, 39, 0.12); border-radius: var(--w-radius, 8px); margin-bottom: 10px; background: #fff; }
.pk-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; }
.pk-faq details > div { padding: 0 18px 16px; }

.pk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 2px solid var(--w-primary); border-radius: var(--w-btn-radius, var(--w-radius, 6px)); background: var(--w-primary); color: var(--w-on-primary, #fff) !important; font: 600 15.2px/1.2 var(--w-body-font, system-ui, sans-serif); text-decoration: none !important; cursor: pointer; }
.pk-btn--ghost { background: transparent; color: var(--w-primary) !important; }
.pk-actions, .pk-btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.pk-contact { display: grid; gap: 28px; }
.pk-list { list-style: none; padding: 0; margin: 0 0 1em; }
.pk-list li { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0; border-bottom: 1px solid rgba(17, 24, 39, 0.08); }
.pk-hours { border-collapse: collapse; margin: 0 0 1.2em; width: 100%; max-width: 360px; }
.pk-hours td { padding: 5px 0; border-bottom: 1px solid rgba(17, 24, 39, 0.08); }
.pk-form { display: grid; gap: 12px; margin-bottom: 18px; }
.pk-form label { display: grid; gap: 4px; font-weight: 600; }
.pk-form input, .pk-form textarea { font: inherit; padding: 10px 12px; border: 1px solid rgba(17, 24, 39, 0.25); border-radius: var(--w-radius, 6px); width: 100%; }
.pk-form textarea { min-height: 120px; }
.pk-map { width: 100%; height: 320px; border: 0; border-radius: var(--w-radius, 8px); }

.pk-product { border: 1px solid rgba(17, 24, 39, 0.1); border-radius: var(--w-radius, 8px); overflow: hidden; background: #fff; display: flex; flex-direction: column; color: var(--w-dark, #222); }
.pk-product__picture img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.pk-product__body { padding: 14px 16px 18px; display: grid; gap: 4px; align-content: start; flex: 1; }
.pk-product h3 { margin: 0; font-size: 16.8px; font-family: var(--w-heading-font, inherit); }
.pk-product h3 a { color: inherit; text-decoration: none; }
.pk-stock { font-size: 12.8px; color: #15803d; font-weight: 600; }
.pk-stock--out { color: #b91c1c; }

.pk-cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--w-dark, #111); color: #fff; }
.pk-cart-bar[hidden] { display: none; }
.pk-btn--small { min-height: 38px; padding: 0 16px; font-size: 13.6px; }
.pk-btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.8); color: #fff !important; }
.pk-float-wa { position: fixed; right: 16px; bottom: 84px; z-index: 80; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.pk-float-wa svg { width: 28px; height: 28px; }

@media (min-width: 900px) {
    .pk-split { grid-template-columns: 1.2fr 1fr; gap: 48px; }
    .pk-contact { grid-template-columns: 1fr 1fr; gap: 48px; }
}

/* The generic sections and the text rules the installed templates share (plan butir 485). */
.pk-site { --pk-text: #3c4250; --pk-line: rgba(17, 24, 39, 0.12); }
.pk-section, .pk-promo, .pk-stats-band, .pk-cta { box-sizing: border-box; font-family: var(--w-body-font, system-ui, sans-serif); color: var(--pk-text); line-height: 1.65; }
.pk-section *, .pk-promo *, .pk-stats-band *, .pk-cta * { box-sizing: border-box; }
.pk-section { padding: clamp(48px, 7vw, 96px) 0; background: #fff; }
.pk-section--tint { background: var(--w-surface, #f5f6f8); }
.pk-wrap { width: min(1140px, 100% - 32px); margin: 0 auto; }
.pk-narrow { max-width: 820px; }
.pk-section a { color: var(--w-primary); }
.pk-section h2, .pk-section h3, .pk-promo h2, .pk-cta h2 { font-family: var(--w-heading-font, inherit); font-weight: var(--w-heading-weight, 700); line-height: 1.25; margin: 0 0 0.5em; color: var(--w-dark, #111); overflow-wrap: anywhere; }
.pk-title { text-align: center; margin: 0 auto 36px; max-width: 720px; }
.pk-title--left { text-align: left; margin-left: 0; }
.pk-title__eyebrow { display: block; text-transform: uppercase; letter-spacing: 0.12em; font-size: 12.8px; font-weight: 700; color: var(--w-primary); margin-bottom: 8px; }
.pk-title h2 { font-size: clamp(25.6px, 3.6vw, 40px); margin: 0; }
.pk-section .pk-btn--ghost { color: var(--w-primary) !important; }
.pk-more { text-align: center; margin-top: 32px; }
.pk-number { display: inline-block; font-weight: 800; font-size: 22.4px; color: var(--w-primary); margin-bottom: 8px; font-family: var(--w-heading-font, inherit); }
.pk-grid--products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.pk-section .pk-split { display: grid; gap: 28px; align-items: center; }
.pk-promo { background: var(--w-accent, #f59e0b); color: var(--w-on-accent, #111); padding: 22px 0; }
.pk-promo .pk-wrap { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.pk-promo h2, .pk-promo p { color: inherit; margin: 0; }
.pk-promo .pk-btn { background: var(--w-dark, #111); border-color: var(--w-dark, #111); color: #fff !important; }
.pk-stats-band { background: var(--w-primary); color: var(--w-on-primary, #fff); padding: 44px 0; }
.pk-stats-band .pk-stats { margin: 0; }
.pk-stats-band .pk-stats strong { color: inherit; font-size: clamp(28.8px, 4vw, 41.6px); }
.pk-cta { background: var(--w-dark, #111); color: #fff; text-align: center; padding: clamp(48px, 7vw, 88px) 0; }
body.pk-site .pk-cta h2 { color: #fff; font-size: clamp(25.6px, 3.6vw, 38.4px); }
.pk-cta p { max-width: 620px; margin: 0 auto 1.4em; opacity: 0.85; }
.pk-btn--light { background: #fff; border-color: #fff; color: var(--w-dark, #111) !important; }
.pk-quote { margin: 0; }
.pk-quote blockquote { margin: 0 0 12px; font-style: italic; }
.pk-logos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; align-items: center; }
.pk-logos img { max-height: 54px; width: auto; filter: grayscale(1); opacity: 0.75; }
.pk-section .pk-picture { width: 100%; border-radius: var(--w-radius, 8px); object-fit: cover; max-height: 460px; }
@media (min-width: 900px) {
    .pk-section .pk-split { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* The free pages of an installed template's header, grouped under one Lainnya item (website.partials.nav-links). */
.pk-nav__more { position: relative; }
.pk-nav__more > ul { display: none; list-style: none; margin: 0; padding: 8px; position: absolute; right: 0; top: 100%; z-index: 60; min-width: 220px; background: #fff; border-radius: var(--w-radius, 8px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.pk-nav__more:hover > ul, .pk-nav__more:focus-within > ul { display: block; }
.pk-nav__more > ul li { display: block; margin: 0; padding: 0; }
.pk-nav__more > ul a { display: block; padding: 8px 12px; color: var(--w-dark, #222) !important; text-transform: none; white-space: normal; line-height: 1.3; }
body.pk-menu-open .pk-nav__more > ul { display: block; position: static; margin-top: 6px; box-shadow: none; }
.pk-lead { font-size: 19px; line-height: 1.5; color: #4b5563; max-width: 70ch; margin: 0 0 1.2em; }

/* The banner above a website that is not published yet (draft or preview), the same as site.css gives the engine pages. */
.w-preview { position: sticky; top: 0; z-index: 1000; padding: 10px 16px; background: #fff7d6; color: #6b4e00; font: 600 0.85rem/1.4 system-ui, sans-serif; text-align: center; }

/* A row of fewer cards than columns fills the row instead of leaving the right side empty. */
.pk-section .pk-grid:not(.pk-grid--products) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
