/* ==========================================================================
   Katalog — halaman kategori (pc-) & produk (pp-), gaya Penguin
   ========================================================================== */
.pc {
    --pc-brand: var(--bp-blue, #0050a3);
    --pc-brand-dark: var(--bp-blue-dark, #003a78);
    --pc-brand-soft: #e6eef8;
    --pc-accent: var(--bp-coral, #f07057);
    --pc-accent-dark: var(--bp-coral-dark, #e2553a);
    --pc-ink: #0f1f33;
    --pc-text: #3d4754;
    --pc-muted: #6b7480;
    --pc-line: #dde5ee;
    --pc-tint: #f3f8fc;
    --pc-radius: 18px;
    --pc-shadow: 0 18px 40px rgba(0, 40, 90, .12);
    --pc-ease: cubic-bezier(.2, .7, .2, 1);
    --pc-nav: 96px;
    font-family: var(--bp-font, "Plus Jakarta Sans", system-ui, sans-serif);
    color: var(--pc-text);
    background: #fff;
}
.pc h1, .pc h2, .pc h3 { font-family: var(--bp-font-head, "Poppins", system-ui, sans-serif); color: var(--pc-brand); letter-spacing: -.005em; }
.pc a { text-decoration: none; }
.pc img { max-width: 100%; height: auto; }

/* ---------- Tombol & link ---------- */
.pc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: .7em 1.6em; border-radius: 999px; border: 1.5px solid var(--pc-accent);
    background: var(--pc-accent); color: #fff !important; font-weight: 600; font-size: .98rem;
    white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
    box-shadow: 0 10px 22px rgba(240, 112, 87, .25);
}
.pc-btn:hover { background: var(--pc-accent-dark); border-color: var(--pc-accent-dark); }
.pc-btn i { font-size: 1.2em; }
.pc-btn--outline { background: #fff; color: var(--pc-accent) !important; box-shadow: none; }
.pc-btn--outline:hover { background: var(--pc-accent); color: #fff !important; }
.pc-btn--light { background: #fff; border-color: #fff; color: var(--pc-brand) !important; box-shadow: none; }
.pc-btn--light:hover { background: var(--pc-accent); border-color: var(--pc-accent); color: #fff !important; }
.pc-link {
    display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none;
    color: var(--pc-brand); font-weight: 600; font-size: .95rem; cursor: pointer;
}
.pc-link:hover { color: var(--pc-accent); }
.pc-link i { font-size: 1.15em; }

.pc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--pc-muted); }
.pc-crumbs a { color: var(--pc-muted); }
.pc-crumbs a:hover { color: var(--pc-brand); }
.pc-crumbs [aria-current] { color: var(--pc-text); }

/* ---------- Hero kategori ---------- */
.pc-hero { padding: calc(var(--pc-nav) + 28px) 0 clamp(48px, 7vw, 96px); background: var(--pc-tint); }
.pc-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px); margin-top: clamp(24px, 4vw, 48px); }
.pc-hero__media { display: grid; place-items: center; min-height: 280px; }
.pc-hero__media img { max-height: 440px; width: auto; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0, 40, 90, .14)); }
.pc-hero__placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--pc-radius); background: #fff; color: var(--pc-brand); font-size: 72px; opacity: .5; }
.pc-hero__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.12; text-transform: uppercase; margin: 0 0 .5em; }
.pc-hero__lead { font-size: 1.02rem; line-height: 1.8; margin: 0; max-width: 560px; }
.pc-hero__links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 26px; }

/* ---------- Kisi kartu ---------- */
.pc-section { padding: clamp(48px, 7vw, 88px) 0; }
.pc-section + .pc-section { padding-top: 0; }
.pc-section--tint { background: var(--pc-tint); padding-top: clamp(48px, 7vw, 88px) !important; }
.pc-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 28px; }
.pc-section__title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; margin: 0 0 28px; text-transform: uppercase; }
.pc-section__head .pc-section__title { margin: 0; }

.pc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pc-card {
    display: flex; flex-direction: column; background: var(--pc-tint); border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius); overflow: hidden; transition: transform .35s var(--pc-ease), box-shadow .35s, background-color .35s;
}
.pc-card:hover { transform: translateY(-4px); box-shadow: var(--pc-shadow); background: #fff; }
.pc-card[hidden] { display: none; }
.pc-card__media { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 26px 26px 0; }
.pc-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--pc-ease); filter: drop-shadow(0 16px 18px rgba(0, 40, 90, .12)); }
.pc-card:hover .pc-card__media img { transform: scale(1.04); }
.pc-card__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; }
.pc-card__title { margin: 0; text-align: center; font-size: 1.12rem; font-weight: 700; line-height: 1.35; text-transform: uppercase; }
.pc-card__title a { color: var(--pc-brand); }
.pc-card__title a:hover { color: var(--pc-accent); }
.pc-card__body p { margin: 0; font-size: .92rem; line-height: 1.7; color: var(--pc-text); }
.pc-card__more { margin-top: auto; align-self: center; display: inline-flex; align-items: center; gap: 2px; padding-top: 6px; font-size: .92rem; font-weight: 500; color: var(--pc-brand); }
.pc-card__more:hover { color: var(--pc-accent); }
.pc-card__more i { font-size: 1.2em; transition: transform .2s; }
.pc-card__more:hover i { transform: translateX(3px); }

.pc-filter { position: relative; max-width: 420px; margin: 0 0 28px; }
.pc-filter i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--pc-muted); }
.pc-filter input { width: 100%; padding: .8em 1.2em .8em 2.8em; border-radius: 999px; border: 1.5px solid var(--pc-line); font-size: .95rem; color: var(--pc-ink); }
.pc-filter input:focus { outline: none; border-color: var(--pc-brand); box-shadow: 0 0 0 4px rgba(0, 80, 163, .1); }

.pc-empty { text-align: center; padding: 48px 16px; color: var(--pc-muted); }
.pc-empty i { font-size: 52px; color: var(--pc-brand); opacity: .35; }
.pc-empty h2 { font-size: 1.25rem; margin: 10px 0 6px; text-transform: none; }
.pc-empty p { margin: 0; }
.pc-pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 44px; color: var(--pc-muted); font-size: .92rem; }

.pc-cta { background: linear-gradient(135deg, var(--pc-brand) 0%, var(--pc-brand-dark) 100%); color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.pc-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.pc-cta h2 { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin: 0 0 6px; }
.pc-cta p { margin: 0; max-width: 620px; color: rgba(255, 255, 255, .85); }

/* ==========================================================================
   Halaman produk
   ========================================================================== */
.pp-hero { padding: calc(var(--pc-nav) + 28px) 0 0; background: #fff; }
.pp-hero__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px); margin-top: clamp(20px, 3vw, 36px); }
.pp-hero__media { display: grid; place-items: center; min-height: 320px; }
.pp-hero__media img { max-height: 520px; width: auto; object-fit: contain; filter: drop-shadow(0 26px 34px rgba(0, 40, 90, .15)); }
.pp-eyebrow { display: inline-block; margin: 0 0 12px; font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pc-brand); }
a.pp-eyebrow:hover { color: var(--pc-accent); }
.pp-hero__title { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; line-height: 1.15; text-transform: uppercase; margin: 0 0 .55em; }
.pp-hero__lead { font-size: 1rem; line-height: 1.85; margin: 0; max-width: 560px; }
.pp-rating { display: inline-flex; align-items: center; gap: 3px; margin-top: 16px; color: #f5a524; font-size: 1.05rem; }
.pp-rating span { margin-left: 8px; color: var(--pc-muted); font-size: .88rem; }
.pp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }

.pp-facts { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px 56px; margin-top: clamp(32px, 5vw, 56px); padding: 32px 0 clamp(40px, 6vw, 64px); border-top: 1px solid var(--pc-line); }
.pp-facts--single { grid-template-columns: 1fr; }
.pp-facts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; line-height: 1.6; }
.pp-facts--single .pp-facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.pp-facts__list li { position: relative; padding-left: 20px; }
.pp-facts__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--pc-brand); }
.pp-facts__label { margin: 0 0 12px; font-size: .9rem; font-weight: 600; color: var(--pc-brand); }
.pp-facts__label:not(:first-child) { margin-top: 24px; }
.pp-swatches { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 18px; }
.pp-swatches li { display: grid; justify-items: center; gap: 6px; width: 62px; text-align: center; font-size: .8rem; line-height: 1.25; }
.pp-swatch { width: 46px; height: 46px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .12), 0 0 0 1px rgba(0, 0, 0, .08); }
.pp-swatch.is-unknown { background: conic-gradient(#e86a5a, #f2c230, #5a8a5e, #2f7fd0, #7b5aa6, #e86a5a); }
.pp-places { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-places a { display: inline-flex; align-items: center; gap: 4px; padding: .4em .9em; border-radius: 999px; background: var(--pc-tint); border: 1px solid var(--pc-line); font-size: .85rem; color: var(--pc-text); }
.pp-places a:hover { border-color: var(--pc-brand); color: var(--pc-brand); }

/* Konteks halaman tag */
.pp-context { padding: clamp(40px, 6vw, 72px) 0; background: #fff; border-top: 1px solid var(--pc-line); }
.pp-context__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pp-context__body h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 16px; }
.pp-context__body p { margin: 0 0 14px; font-size: 1rem; line-height: 1.85; }
.pp-context__body p a { color: var(--pc-brand); text-decoration: underline; text-underline-offset: 3px; }
.pp-context__body .pc-btn { margin-top: 10px; }
.pp-context__aside { padding: 22px 24px; border-radius: var(--pc-radius); background: var(--pc-tint); }
.pp-context__aside .pp-tags { margin-top: 0; }
.pp-tags a[aria-current] { border-color: var(--pc-brand); background: var(--pc-brand); color: #fff; }

/* Sorotan spesifikasi (lencana bulat) */
.pp-features { background: var(--pc-tint); padding: clamp(48px, 7vw, 80px) 0; }
.pp-features__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 32px; text-align: center; }
.pp-features__grid li { display: grid; justify-items: center; gap: 10px; }
.pp-badge {
    display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%;
    background: var(--pc-brand); color: #fff; font-size: 46px;
    box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--pc-brand), 0 18px 30px rgba(0, 58, 120, .25);
    margin-bottom: 10px;
}
.pp-features__grid strong { color: var(--pc-brand); font-size: 1.02rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.pp-features__grid p { margin: 0; max-width: 240px; font-size: .95rem; line-height: 1.6; }

/* Galeri */
.pp-gallery { padding: clamp(48px, 7vw, 88px) 0; background: #fff; }
.pp-gallery__inner { position: relative; display: grid; grid-template-columns: 48px minmax(0, .8fr) minmax(0, 1.2fr) 48px; align-items: center; gap: 24px; }
.pp-gallery__text h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); text-transform: uppercase; margin: 0 0 8px; }
.pp-gallery__count { margin: 0; color: var(--pc-muted); font-size: .9rem; }
.pp-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pp-gallery__thumbs button {
    width: 64px; height: 64px; padding: 4px; border-radius: 12px; border: 2px solid transparent; background: var(--pc-tint);
    display: grid; place-items: center; cursor: pointer; color: var(--pc-brand); font-size: 26px; transition: border-color .2s;
}
.pp-gallery__thumbs button.is-active, .pp-gallery__thumbs button:hover { border-color: var(--pc-brand); }
.pp-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.pp-gallery__stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--pc-radius); background: var(--pc-tint); overflow: hidden; }
.pp-gallery__slide { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.pp-gallery__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.pp-gallery__slide img, .pp-gallery__slide video { width: 100%; height: 100%; object-fit: contain; }
.pp-gallery__nav {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent;
    color: var(--pc-brand); font-size: 40px; cursor: pointer; transition: background-color .2s, color .2s;
}
.pp-gallery__nav:hover { background: var(--pc-brand-soft); color: var(--pc-accent); }
.pp-gallery__nav[data-off] { visibility: hidden; }

/* Tab detail */
.pp-detail { padding: clamp(48px, 7vw, 88px) 0; background: #fff; border-top: 1px solid var(--pc-line); scroll-margin-top: var(--pc-nav); }
.pp-tabs { display: flex; flex-wrap: wrap; gap: 8px 32px; border-bottom: 1px solid var(--pc-line); margin-bottom: 28px; }
.pp-tabs button {
    position: relative; padding: 0 0 12px; border: 0; background: none; cursor: pointer;
    font-family: var(--bp-font-head, "Poppins", sans-serif); font-size: 1.02rem; font-weight: 600; letter-spacing: .04em;
    text-transform: uppercase; color: var(--pc-muted);
}
.pp-tabs button small { font-size: .72rem; padding: .1em .55em; border-radius: 999px; background: var(--pc-brand-soft); color: var(--pc-brand); vertical-align: middle; }
.pp-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px; background: var(--pc-brand); transform: scaleX(0); transition: transform .25s ease; }
.pp-tabs button.is-active { color: var(--pc-brand); }
.pp-tabs button.is-active::after { transform: scaleX(1); }
.pp-panel[hidden] { display: none; }

.pp-spec { display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--pc-radius); background: var(--pc-tint); }
.pp-spec__media { display: grid; place-items: center; }
.pp-spec__media img { max-height: 320px; width: auto; object-fit: contain; }
.pp-spec__title { font-size: 1.5rem; margin: 0; text-transform: uppercase; }
.pp-spec__sku { margin: 4px 0 0; color: var(--pc-muted); font-size: .88rem; }
.pp-spec__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px 28px; margin: 24px 0 28px; }
.pp-spec__grid dt { font-size: .82rem; font-weight: 600; color: var(--pc-brand); text-transform: uppercase; letter-spacing: .04em; }
.pp-spec__grid dd { margin: 4px 0 0; color: var(--pc-ink); font-size: .98rem; }
.pp-muted { color: var(--pc-muted); margin: 16px 0 24px; }

.pp-prose { max-width: 860px; font-size: 1.02rem; line-height: 1.85; overflow-wrap: break-word; }
.pp-prose > * + * { margin-top: 1em; }
.pp-prose > :first-child { margin-top: 0; }
.pp-prose p { margin-bottom: 0; }
.pp-prose h2, .pp-prose h3 { color: var(--pc-ink); margin: 1.6em 0 0; font-weight: 700; }
.pp-prose h2 { font-size: 1.5rem; }
.pp-prose h3 { font-size: 1.2rem; }
.pp-prose a { color: var(--pc-brand); text-decoration: underline; }
.pp-prose ul, .pp-prose ol { padding-left: 1.4em; margin-bottom: 0; }
.pp-prose img { border-radius: 12px; margin: 1.4em auto; display: block; }
.pp-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: .92rem; }
.pp-prose th, .pp-prose td { border: 1px solid var(--pc-line); padding: 10px 12px; text-align: left; }
.pp-prose th { background: var(--pc-brand-dark); color: #fff; }
.pp-tags { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-tags a { display: inline-block; padding: .38em .9em; border-radius: 999px; background: var(--pc-tint); border: 1px solid var(--pc-line); font-size: .84rem; color: var(--pc-muted); }
.pp-tags a:hover { border-color: var(--pc-brand); color: var(--pc-brand); }

.pp-reviews { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.pp-reviews__score { display: grid; justify-items: center; gap: 6px; padding: 28px 16px; border-radius: var(--pc-radius); background: var(--pc-tint); text-align: center; }
.pp-reviews__score strong { font-family: var(--bp-font-head, "Poppins", sans-serif); font-size: 3rem; line-height: 1; color: var(--pc-brand); }
.pp-reviews__score span { color: #f5a524; font-size: 1.1rem; }
.pp-reviews__score small { color: var(--pc-muted); }
.pp-reviews__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pp-reviews__list li { padding: 18px 20px; border: 1px solid var(--pc-line); border-radius: 14px; }
.pp-reviews__list p { margin: 10px 0 0; line-height: 1.7; }
.pp-review__head { display: flex; align-items: center; gap: 12px; }
.pp-review__head strong { display: block; color: var(--pc-ink); }
.pp-review__head small { color: var(--pc-muted); }
.pp-review__stars { margin-left: auto; color: #f5a524; white-space: nowrap; }
.pp-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pc-brand-soft); color: var(--pc-brand); font-weight: 700; flex: none; }

/* ---------- Responsif ---------- */
@media (max-width: 1100px) { .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
    .pc { --pc-nav: 64px; }
    .pp-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-gallery__inner { grid-template-columns: 1fr; }
    .pp-gallery__nav { display: none; }
    .pp-gallery__text { order: 2; }
}
@media (max-width: 767.98px) {
    .pc-hero__grid, .pp-hero__grid, .pp-facts, .pp-spec, .pp-reviews, .pp-context__grid { grid-template-columns: 1fr; }
    .pc-hero__media img { max-height: 280px; }
    .pp-hero__media { min-height: 0; }
    .pp-hero__media img { max-height: 340px; }
    .pp-facts--single .pp-facts__list { grid-template-columns: 1fr; }
    .pp-spec__media img { max-height: 220px; }
    .pp-hero__actions .pc-btn { flex: 1 1 100%; }
    .pc-cta .pc-btn { width: 100%; }
}
@media (max-width: 575.98px) {
    .pc-grid { grid-template-columns: 1fr; gap: 20px; }
    .pp-features__grid { gap: 28px 16px; }
    .pp-badge { width: 84px; height: 84px; font-size: 34px; }
    .pp-tabs { gap: 8px 22px; }
    .pp-tabs button { font-size: .9rem; }
}
