
/* =========================================================
   BOGA JAYA PRODUCT VISUAL PATCH v5
   Scope: ONLY body.page-id-1225
   No content mutation.
   ========================================================= */

body.page-id-1225 {
  --bjv5-green:#073b28;
  --bjv5-green-2:#0e4c35;
  --bjv5-green-3:#2f8a57;
  --bjv5-cream:#f4f0e5;
  --bjv5-paper:#fbfaf6;
  --bjv5-ink:#20251f;
  --bjv5-muted:#697069;
  --bjv5-line:#d9ddd7;
  --bjv5-shell:1180px;
}

/* Prevent inherited builder content widths from feeling random */
body.page-id-1225 .bjfpb-page,
body.page-id-1225 .bjpe-page {
  overflow:hidden;
  color:var(--bjv5-ink);
}

body.page-id-1225 .bjfpb-shell,
body.page-id-1225 .bjpe-shell {
  width:min(var(--bjv5-shell), calc(100% - 64px)) !important;
  max-width:var(--bjv5-shell) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Typography reset / hierarchy */
body.page-id-1225 .bjfpb-page h1,
body.page-id-1225 .bjfpb-page h2,
body.page-id-1225 .bjfpb-page h3,
body.page-id-1225 .bjfpb-page h4 {
  line-height:1.08;
  letter-spacing:-.025em;
}

body.page-id-1225 .bjfpb-page h1 {
  font-size:clamp(42px,5vw,68px) !important;
  max-width:760px;
}

body.page-id-1225 .bjfpb-page h2 {
  font-size:clamp(30px,3.1vw,50px) !important;
}

body.page-id-1225 .bjfpb-page p,
body.page-id-1225 .bjfpb-page li {
  line-height:1.7;
}

body.page-id-1225 .bjfpb-eyebrow {
  font-size:10px !important;
  letter-spacing:.22em !important;
  font-weight:700 !important;
  text-transform:uppercase;
}

body.page-id-1225 .bjfpb-section {
  padding-top:96px !important;
  padding-bottom:96px !important;
}

/* HERO */
body.page-id-1225 .bjfpb-hero {
  min-height:560px !important;
  position:relative;
}
body.page-id-1225 .bjfpb-hero .wp-block-cover__background {
  opacity:.62 !important;
  background:
    linear-gradient(90deg, rgba(3,44,29,.92) 0%, rgba(3,44,29,.65) 48%, rgba(3,44,29,.22) 100%) !important;
}
body.page-id-1225 .bjfpb-hero-inner {
  padding-top:78px !important;
  padding-bottom:78px !important;
}
body.page-id-1225 .bjfpb-hero-text {
  max-width:690px !important;
  font-size:15px !important;
  line-height:1.75 !important;
}
body.page-id-1225 .bjfpb-actions {
  margin-top:28px !important;
  gap:12px !important;
}
body.page-id-1225 .bjfpb-page .wp-block-button__link {
  min-height:44px;
  padding:12px 20px !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:2px !important;
  font-size:12px !important;
  font-weight:700 !important;
  transition:transform .18s ease, background-color .18s ease, border-color .18s ease;
}
body.page-id-1225 .bjfpb-page .wp-block-button__link:hover {
  transform:translateY(-1px);
}

/* INTRO — make the 2-image stack intentional */
body.page-id-1225 .bjfpb-intro {
  background:#fff;
}
body.page-id-1225 .bjfpb-two-col {
  gap:72px !important;
  align-items:center !important;
}
body.page-id-1225 .bjfpb-two-col > .wp-block-column:first-child {
  position:relative;
  min-height:520px;
}
body.page-id-1225 .bjfpb-two-col > .wp-block-column:first-child .wp-block-image {
  margin:0 !important;
}
body.page-id-1225 .bjfpb-two-col > .wp-block-column:first-child .wp-block-image img {
  width:100%;
  height:auto;
  object-fit:cover;
  box-shadow:0 18px 45px rgba(15,30,20,.08);
}
body.page-id-1225 .bjfpb-two-col > .wp-block-column:first-child .wp-block-image:nth-of-type(1) {
  width:78%;
  position:relative;
  z-index:2;
}
body.page-id-1225 .bjfpb-two-col > .wp-block-column:first-child .wp-block-image:nth-of-type(2) {
  width:70%;
  margin-left:22% !important;
  margin-top:-58px !important;
  position:relative;
  z-index:3;
}
body.page-id-1225 .bjfpb-two-col > .wp-block-column:last-child {
  padding-left:12px;
}
body.page-id-1225 .bjfpb-two-col > .wp-block-column:last-child > p {
  max-width:580px;
  font-size:14px;
}

/* PRODUCTS */
body.page-id-1225 .bjfpb-products {
  background:var(--bjv5-cream) !important;
}
body.page-id-1225 .bjfpb-product-grid {
  gap:22px !important;
  margin-top:44px !important;
  align-items:stretch !important;
}
body.page-id-1225 .bjfpb-product-card {
  display:flex;
  flex-direction:column;
  min-width:0;
}
body.page-id-1225 .bjfpb-product-card .bjfpb-product-image {
  margin-bottom:16px !important;
  overflow:hidden;
  background:#eee9de;
}
body.page-id-1225 .bjfpb-product-card .bjfpb-product-image img {
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  transition:transform .3s ease;
}
body.page-id-1225 .bjfpb-product-card:hover .bjfpb-product-image img {
  transform:scale(1.018);
}
body.page-id-1225 .bjfpb-product-card h3 {
  min-height:46px;
  font-size:18px !important;
  margin-top:4px !important;
}
body.page-id-1225 .bjfpb-product-card > p:not(.bjfpb-product-no):not(.bjfpb-text-link),
body.page-id-1225 .bjfpb-product-card li {
  font-size:12px !important;
  line-height:1.65;
}
body.page-id-1225 .bjfpb-product-card ul {
  margin-top:10px;
  padding-left:18px;
}
body.page-id-1225 .bjfpb-text-link {
  margin-top:auto !important;
  padding-top:12px;
}
body.page-id-1225 .bjfpb-text-link a {
  color:#2f704f !important;
  text-decoration:none;
  font-weight:700;
}

/* CUSTOM GRADE & BLENDING — restore Lovable dark green section */
body.page-id-1225 .bjfpb-blend {
  background:var(--bjv5-green) !important;
  color:#fff !important;
  position:relative;
}
body.page-id-1225 .bjfpb-blend:before {
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 75% 15%, rgba(255,255,255,.045), transparent 34%);
  pointer-events:none;
}
body.page-id-1225 .bjfpb-blend .bjfpb-shell {
  position:relative;
  z-index:1;
}
body.page-id-1225 .bjfpb-blend h2,
body.page-id-1225 .bjfpb-blend h3,
body.page-id-1225 .bjfpb-blend h4 {
  color:#fff !important;
}
body.page-id-1225 .bjfpb-blend p {
  color:rgba(236,244,238,.78) !important;
}
body.page-id-1225 .bjfpb-blend-grid {
  gap:74px !important;
  align-items:start !important;
}
body.page-id-1225 .bjfpb-blend .bjfpb-blend-image {
  margin-top:30px !important;
  overflow:hidden;
}
body.page-id-1225 .bjfpb-blend .bjfpb-blend-image img {
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
}
body.page-id-1225 .bjfpb-capability {
  padding:8px 0 24px !important;
  border-bottom:1px solid rgba(255,255,255,.16) !important;
  margin-bottom:20px !important;
}
body.page-id-1225 .bjfpb-capability h3 {
  font-size:18px !important;
}
body.page-id-1225 .bjfpb-blend .wp-block-button__link {
  background:#2f8a57 !important;
  color:#fff !important;
}

/* If Packaging section still exists in current content, polish it.
   If it is absent, CSS intentionally does NOT recreate content. */
body.page-id-1225 .bjfpb-packaging {
  background:#fff !important;
}
body.page-id-1225 .bjfpb-package-grid {
  gap:18px !important;
  align-items:end !important;
  margin-top:46px !important;
}
body.page-id-1225 .bjfpb-package {
  min-width:0;
}
body.page-id-1225 .bjfpb-package .wp-block-image {
  overflow:hidden;
  background:#f1ece1;
  margin-bottom:12px !important;
}
body.page-id-1225 .bjfpb-package:nth-child(1) img { aspect-ratio:1/1; }
body.page-id-1225 .bjfpb-package:nth-child(2) img { aspect-ratio:1/1.12; }
body.page-id-1225 .bjfpb-package:nth-child(3) img { aspect-ratio:1/1.24; }
body.page-id-1225 .bjfpb-package:nth-child(4) img { aspect-ratio:1/1.38; }
body.page-id-1225 .bjfpb-package img {
  width:100%;
  object-fit:cover;
}

/* QUALITY */
body.page-id-1225 .bjfpb-quality {
  background:var(--bjv5-cream) !important;
}
body.page-id-1225 .bjfpb-quality-grid {
  gap:28px !important;
  margin-top:44px !important;
}
body.page-id-1225 .bjfpb-quality-grid > .wp-block-column {
  border-top:1px solid #cad2ca;
  padding-top:17px;
}
body.page-id-1225 .bjfpb-quality-grid h3 {
  font-size:17px !important;
}
body.page-id-1225 .bjfpb-quality-grid p {
  font-size:11px !important;
}

/* QUALITY ASSURANCE */
body.page-id-1225 .bjfpb-assurance {
  background:#fff !important;
}
body.page-id-1225 .bjfpb-assurance > .bjfpb-shell > .bjfpb-lead {
  max-width:880px !important;
}
body.page-id-1225 .bjfpb-assurance-grid {
  gap:22px !important;
  margin-top:46px !important;
  align-items:stretch !important;
}
body.page-id-1225 .bjfpb-halal-panel,
body.page-id-1225 .bjfpb-lab-panel {
  padding:32px !important;
  border:1px solid #daddd8 !important;
}
body.page-id-1225 .bjfpb-halal-panel {
  background:#f3efe4 !important;
}
body.page-id-1225 .bjfpb-lab-panel {
  background:#fff !important;
}
body.page-id-1225 .bjfpb-mini-label {
  margin-bottom:16px !important;
}
body.page-id-1225 .bjfpb-halal-panel h3,
body.page-id-1225 .bjfpb-lab-panel h3 {
  font-size:22px !important;
}
body.page-id-1225 .bjfpb-halal-panel p,
body.page-id-1225 .bjfpb-lab-panel p,
body.page-id-1225 .bjfpb-halal-panel li {
  font-size:12px !important;
}

/* SIG 4-up stats */
body.page-id-1225 .bjfpb-lab-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:0 !important;
  border:1px solid #dde1dc;
  margin-top:26px !important;
}
body.page-id-1225 .bjfpb-lab-stat {
  padding:22px !important;
  margin:0 !important;
  border-right:1px solid #dde1dc;
  border-bottom:1px solid #dde1dc;
}
body.page-id-1225 .bjfpb-lab-stat:nth-child(2n) { border-right:0; }
body.page-id-1225 .bjfpb-lab-stat:nth-last-child(-n+2) { border-bottom:0; }
body.page-id-1225 .bjfpb-lab-stat h3 {
  font-size:34px !important;
  line-height:1 !important;
  color:#34704f !important;
  margin:0 0 8px !important;
}
body.page-id-1225 .bjfpb-lab-stat p {
  margin:0 !important;
  font-size:9px !important;
  letter-spacing:.07em;
  line-height:1.45;
}

/* SIG show/hide */
body.page-id-1225 .bjfpb-lab-details {
  margin-top:18px !important;
  padding:0 !important;
  border:0 !important;
}
body.page-id-1225 .bjfpb-lab-details > summary {
  display:flex !important;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  padding:14px 0 !important;
  color:#2f704f !important;
  font-size:12px !important;
  font-weight:700;
  border-bottom:1px solid #dde1dc;
  list-style:none;
}
body.page-id-1225 .bjfpb-lab-details > summary::-webkit-details-marker { display:none; }
body.page-id-1225 .bjfpb-lab-details > summary:after {
  content:"+";
  font-size:18px;
  font-weight:400;
  line-height:1;
}
body.page-id-1225 .bjfpb-lab-details[open] > summary:after { content:"−"; }
body.page-id-1225 .bjfpb-test-row {
  padding:11px 0 !important;
  margin:0 !important;
  border-bottom:1px solid #e4e6e2;
  gap:16px !important;
}
body.page-id-1225 .bjfpb-test-row p {
  margin:0 !important;
  font-size:12px !important;
}
body.page-id-1225 .bjfpb-test-row p:last-child {
  text-align:right;
  color:#222a23 !important;
  white-space:nowrap;
}
body.page-id-1225 .bjfpb-disclaimer {
  font-size:9px !important;
  line-height:1.6 !important;
  padding-top:14px;
  margin-top:18px !important;
  border-top:1px solid #e2e4e0;
}

/* CTA */
body.page-id-1225 .bjfpb-final-cta {
  min-height:430px !important;
}
body.page-id-1225 .bjfpb-final-cta .wp-block-cover__background {
  opacity:.72 !important;
  background:
    linear-gradient(90deg, rgba(3,46,31,.96) 0%, rgba(3,46,31,.72) 55%, rgba(3,46,31,.30) 100%) !important;
}
body.page-id-1225 .bjfpb-final-cta .bjfpb-shell {
  padding-top:68px !important;
  padding-bottom:68px !important;
}
body.page-id-1225 .bjfpb-final-cta h2 {
  max-width:720px;
  color:#fff !important;
}
body.page-id-1225 .bjfpb-final-cta .bjfpb-cta-text {
  max-width:700px !important;
  color:rgba(255,255,255,.83) !important;
}

/* Responsive */
@media (max-width: 900px) {
  body.page-id-1225 .bjfpb-shell,
  body.page-id-1225 .bjpe-shell {
    width:min(100% - 40px, var(--bjv5-shell)) !important;
  }

  body.page-id-1225 .bjfpb-section {
    padding-top:76px !important;
    padding-bottom:76px !important;
  }

  body.page-id-1225 .bjfpb-two-col,
  body.page-id-1225 .bjfpb-blend-grid,
  body.page-id-1225 .bjfpb-assurance-grid {
    flex-wrap:wrap !important;
  }

  body.page-id-1225 .bjfpb-two-col > .wp-block-column,
  body.page-id-1225 .bjfpb-blend-grid > .wp-block-column,
  body.page-id-1225 .bjfpb-assurance-grid > .wp-block-column {
    flex-basis:100% !important;
  }

  body.page-id-1225 .bjfpb-two-col > .wp-block-column:first-child {
    min-height:auto;
    max-width:620px;
  }

  body.page-id-1225 .bjfpb-product-grid,
  body.page-id-1225 .bjfpb-quality-grid {
    flex-wrap:wrap !important;
  }

  body.page-id-1225 .bjfpb-product-grid > .wp-block-column,
  body.page-id-1225 .bjfpb-quality-grid > .wp-block-column {
    flex-basis:calc(50% - 12px) !important;
  }
}

@media (max-width: 640px) {
  body.page-id-1225 .bjfpb-shell,
  body.page-id-1225 .bjpe-shell {
    width:min(100% - 28px, var(--bjv5-shell)) !important;
  }

  body.page-id-1225 .bjfpb-section {
    padding-top:58px !important;
    padding-bottom:58px !important;
  }

  body.page-id-1225 .bjfpb-hero {
    min-height:520px !important;
  }

  body.page-id-1225 .bjfpb-page h1 {
    font-size:42px !important;
  }

  body.page-id-1225 .bjfpb-page h2 {
    font-size:32px !important;
  }

  body.page-id-1225 .bjfpb-two-col > .wp-block-column:first-child .wp-block-image:nth-of-type(1),
  body.page-id-1225 .bjfpb-two-col > .wp-block-column:first-child .wp-block-image:nth-of-type(2) {
    width:100% !important;
    margin-left:0 !important;
    margin-top:16px !important;
  }

  body.page-id-1225 .bjfpb-product-grid > .wp-block-column,
  body.page-id-1225 .bjfpb-quality-grid > .wp-block-column {
    flex-basis:100% !important;
  }

  body.page-id-1225 .bjfpb-product-card h3 {
    min-height:auto;
  }

  body.page-id-1225 .bjfpb-package-grid {
    display:grid !important;
    grid-template-columns:1fr 1fr;
    gap:14px !important;
  }

  body.page-id-1225 .bjfpb-package-grid > .wp-block-column {
    width:auto !important;
  }

  body.page-id-1225 .bjfpb-package img {
    aspect-ratio:4/5 !important;
  }

  body.page-id-1225 .bjfpb-halal-panel,
  body.page-id-1225 .bjfpb-lab-panel {
    padding:24px !important;
  }

  body.page-id-1225 .bjfpb-lab-stat {
    padding:16px !important;
  }

  body.page-id-1225 .bjfpb-lab-stat h3 {
    font-size:28px !important;
  }

  body.page-id-1225 .bjfpb-test-row {
    align-items:flex-start !important;
  }

  body.page-id-1225 .bjfpb-test-row p:last-child {
    white-space:normal;
  }
}
