:root {
  --febpay-navy: #172554;
  --febpay-blue: #2563eb;
  --febpay-cyan: #06b6d4;
  --febpay-purple: #7c3aed;
  --febpay-ink: #172033;
  --febpay-muted: #64748b;
  --febpay-line: #e2e8f0;
  --febpay-surface: #f8fafc;
}

body.feb-payment-genz {
  background: #f5f7fb;
  color: var(--febpay-ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

.feb-payment-genz .site-main,
.feb-payment-genz main,
.feb-payment-genz article,
.feb-payment-genz .entry-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.febpay-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(125deg, #172554 0%, #243f9f 47%, #5b21b6 100%);
  padding: 82px 24px 70px;
}

.febpay-hero-inner { position: relative; z-index: 2; width: min(1180px, 100%); margin: auto; }
.febpay-orb { position: absolute; border-radius: 999px; filter: blur(2px); opacity: .28; }
.febpay-orb-one { width: 420px; height: 420px; right: -100px; top: -190px; background: #22d3ee; }
.febpay-orb-two { width: 310px; height: 310px; right: 22%; bottom: -240px; background: #c084fc; }
.febpay-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.febpay-badge span { width: 8px; height: 8px; border-radius: 50%; background: #5eead4; box-shadow: 0 0 0 5px rgba(94,234,212,.15); }
.febpay-hero h1 { max-width: 830px; margin: 25px 0 18px; color: #fff; font-size: clamp(40px, 6vw, 76px); line-height: 1.04; letter-spacing: -.055em; font-weight: 800; }
.febpay-hero h1 em { color: #67e8f9; font-style: normal; }
.febpay-hero p { max-width: 680px; margin: 0; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.75; }
.febpay-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 31px; }
.febpay-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 700; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.febpay-actions a:hover { transform: translateY(-2px); }
.febpay-primary { color: #172554 !important; background: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.febpay-primary span { margin-left: 14px; }
.febpay-secondary { color: #fff !important; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.1); }
.febpay-trust { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 33px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 600; }

.febpay-steps { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); width: min(1180px, calc(100% - 48px)); margin: -26px auto 0; padding: 20px; border: 1px solid rgba(226,232,240,.8); border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 20px 50px rgba(23,37,84,.12); backdrop-filter: blur(12px); }
.febpay-steps > div { display: flex; gap: 13px; align-items: center; padding: 8px 18px; border-right: 1px solid var(--febpay-line); }
.febpay-steps > div:last-child { border: 0; }
.febpay-steps b { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 12px; color: var(--febpay-blue); background: #eff6ff; font-size: 12px; }
.febpay-steps span, .febpay-steps strong, .febpay-steps small { display: block; }
.febpay-steps strong { font-size: 13px; }
.febpay-steps small { margin-top: 3px; color: var(--febpay-muted); font-size: 11px; }

.febpay-catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; width: min(1180px, calc(100% - 48px)); margin: 68px auto 26px; }
.febpay-eyebrow { color: var(--febpay-blue); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.febpay-catalog-head h2 { margin: 8px 0 8px; color: var(--febpay-ink); font-size: clamp(28px, 4vw, 43px); line-height: 1.15; letter-spacing: -.04em; }
.febpay-catalog-head p { margin: 0; color: var(--febpay-muted); font-size: 14px; }
.febpay-search { display: flex; align-items: center; width: min(420px, 100%); min-height: 54px; padding: 0 13px 0 17px; border: 1px solid var(--febpay-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.febpay-search input { flex: 1; min-width: 0; height: 52px; padding: 0 12px; border: 0 !important; outline: 0; background: transparent; box-shadow: none !important; font-family: inherit; font-size: 13px; }
.febpay-search button { display: none; border: 0; color: var(--febpay-muted); background: none; font-size: 24px; cursor: pointer; }
.febpay-search.has-value button { display: block; }

.febpay-service-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 50px; }
.febpay-service-wrap .wcpt-285 { display: block; width: 100%; }
.febpay-service-wrap input[type="checkbox"] { accent-color: var(--febpay-blue); }
.febpay-service-wrap table { width: 100%; overflow: hidden; border: 1px solid var(--febpay-line) !important; border-collapse: separate !important; border-spacing: 0 !important; border-radius: 18px; background: #fff; box-shadow: 0 12px 35px rgba(15,23,42,.06); }
.febpay-service-wrap th { padding: 16px 14px !important; border: 0 !important; color: #64748b; background: #f8fafc !important; font-size: 11px !important; font-weight: 800 !important; letter-spacing: .06em; text-transform: uppercase; }
.febpay-service-wrap td { padding: 18px 14px !important; border-width: 1px 0 0 !important; border-color: #eef2f7 !important; color: var(--febpay-ink); font-size: 13px; vertical-align: middle; }
.febpay-service-wrap td a:not(.added_to_cart) { color: var(--febpay-navy); font-weight: 700; text-decoration: none; }
.febpay-service-wrap a[href*="page_id=262"], .febpay-service-wrap .add_to_cart_button { display: inline-flex !important; align-items: center; justify-content: center; min-height: 39px; padding: 0 15px !important; border-radius: 11px !important; color: #fff !important; background: linear-gradient(135deg, var(--febpay-blue), var(--febpay-purple)) !important; font-size: 11px !important; font-weight: 700 !important; text-decoration: none !important; box-shadow: 0 7px 16px rgba(37,99,235,.22); }
.febpay-service-wrap input[type="number"] { max-width: 62px; min-height: 38px; border: 1px solid var(--febpay-line); border-radius: 9px; text-align: center; }
.febpay-service-wrap tr.febpay-hidden { display: none !important; }
.febpay-empty { display: none; padding: 38px 20px; border: 1px dashed #cbd5e1; border-radius: 16px; color: var(--febpay-muted); background: #fff; text-align: center; }
.febpay-empty.is-visible { display: block; }

.febpay-help { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1180px, calc(100% - 48px)); margin: 12px auto 44px; padding: 28px 31px; border-radius: 22px; color: #fff; background: linear-gradient(120deg, #172554, #312e81); }
.febpay-help > div { display: flex; align-items: center; gap: 17px; }
.febpay-help-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #172554; background: #67e8f9; font-size: 22px; font-weight: 800; }
.febpay-help strong { display: block; font-size: 16px; }
.febpay-help p { margin: 5px 0 0; color: rgba(255,255,255,.7); font-size: 12px; }
.febpay-help a { flex: 0 0 auto; padding: 13px 19px; border-radius: 12px; color: #172554 !important; background: #fff; font-size: 12px; font-weight: 800; text-decoration: none !important; }
.febpay-footer-note { padding: 0 24px 35px; color: #94a3b8; font-size: 11px; text-align: center; }

/* Halaman produk dibuat ringkas tanpa ruang gambar atau placeholder. */
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .images,
.single-product .related.products img,
.single-product .upsells.products img,
.woocommerce-cart-form .product-thumbnail,
.woocommerce-cart-form td.product-thumbnail,
.woocommerce-cart-form th.product-thumbnail {
  display: none !important;
}

/* Arsip toko, kategori, dan tag tidak menampilkan placeholder produk. */
.woocommerce.archive ul.products li.product img,
.post-type-archive-product ul.products li.product img,
.tax-product_cat ul.products li.product img,
.tax-product_tag ul.products li.product img,
.woocommerce-page ul.products li.product img[alt*="placeholder" i],
.woocommerce-page ul.products li.product img[src*="placeholder" i] {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce.archive ul.products li.product,
.post-type-archive-product ul.products li.product,
.tax-product_cat ul.products li.product,
.tax-product_tag ul.products li.product {
  min-height: 0 !important;
}

/* Hilangkan placeholder produk pada katalog desktop maupun kartu seluler WCPT. */
.febpay-service-wrap img[alt*="placeholder" i],
.febpay-service-wrap img[alt*="awaiting product image" i],
.febpay-service-wrap img[src*="placeholder" i],
.febpay-service-wrap .wcpt-product-image,
.febpay-service-wrap .wcpt-product-image-wrapper,
.febpay-service-wrap .wcpt-product-image-wrapper-outer,
.febpay-service-wrap .wcpt-cell-image,
.febpay-service-wrap .wcpt-element-image,
.febpay-service-wrap [data-wcpt-column-key*="image" i],
.febpay-service-wrap [data-wcpt-column-type*="image" i] {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.single-product div.product .summary {
  float: none !important;
  width: min(820px, calc(100% - 40px)) !important;
  margin: 46px auto 70px !important;
  padding: 32px !important;
  border: 1px solid var(--febpay-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(15,23,42,.08);
}

.single-product .related.products,
.single-product .upsells.products {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 60px;
}

/* Tombol pembaruan keranjang terlihat aktif. */
.woocommerce-cart button[name="update_cart"],
.woocommerce-cart input[name="update_cart"] {
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--febpay-blue), var(--febpay-purple)) !important;
}

@media (max-width: 900px) {
  .febpay-steps { grid-template-columns: repeat(2, 1fr); }
  .febpay-steps > div:nth-child(2) { border-right: 0; }
  .febpay-catalog-head { align-items: stretch; flex-direction: column; }
  .febpay-search { width: 100%; }
}

@media (max-width: 680px) {
  .febpay-hero { padding: 62px 20px 58px; }
  .febpay-hero h1 { font-size: 43px; }
  .febpay-trust { gap: 10px 18px; }
  .febpay-steps { grid-template-columns: 1fr; width: calc(100% - 28px); padding: 10px; }
  .febpay-steps > div { border-right: 0; border-bottom: 1px solid var(--febpay-line); }
  .febpay-catalog-head, .febpay-service-wrap, .febpay-help { width: calc(100% - 28px); }
  .febpay-catalog-head { margin-top: 48px; }
  .febpay-service-wrap table, .febpay-service-wrap tbody { display: block; border: 0 !important; background: transparent; box-shadow: none; }
  .febpay-service-wrap thead { display: none; }
  .febpay-service-wrap tr { display: block; margin-bottom: 13px; padding: 17px; border: 1px solid var(--febpay-line); border-radius: 17px; background: #fff; box-shadow: 0 8px 25px rgba(15,23,42,.06); }
  .febpay-service-wrap td { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 39px; padding: 7px 0 !important; border: 0 !important; text-align: right; }
  .febpay-service-wrap td::before { color: var(--febpay-muted); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
  .febpay-service-wrap td:nth-child(1)::before { content: "Kategori"; }
  .febpay-service-wrap td:nth-child(2)::before { content: "Layanan"; }
  .febpay-service-wrap td:nth-child(3)::before { content: "Keterangan"; }
  .febpay-service-wrap td:nth-child(4)::before { content: "Biaya"; }
  .febpay-service-wrap td:nth-child(5)::before { content: "Jumlah"; }
  .febpay-service-wrap td:nth-child(6)::before { content: "Tindakan"; }
  .febpay-service-wrap td:nth-child(2) { font-size: 15px; }
  .febpay-help { align-items: stretch; flex-direction: column; padding: 23px; }
  .febpay-help a { text-align: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .febpay-hero-inner { animation: febpay-rise .55s ease-out both; }
  @keyframes febpay-rise { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
}

