/*
 * Boga Jaya Commerce -- branded E-Commerce catalog page.
 *
 * This is a curated 4-product commerce LANDING page, not a generic
 * shop grid -- the composition itself carries the product hierarchy:
 *
 *   Row 1: [ 500g card  ]  [                        ]
 *          [ 1kg card   ]  [   25kg focal card       ]
 *          (stacked, left)  (full column height, right)
 *   Row 2: [        50kg featured row (full width)        ]
 *   Row 3: [        custom-needs consultation section       ]
 *   Row 4: [        closing trust strip                      ]
 *
 * 500g/1kg are the compact retail tier; 25kg stands alone as a
 * stronger business product; 50kg gets the most visual weight as a
 * full-width featured banner whose product photo blends into the
 * section rather than sitting in a boxed image tile; custom grade is
 * never a 5th card -- it's a separate consultative section. Visual
 * polish pass: real product photography here is lifestyle-styled
 * (packaging shot with natural props), so cards use true photographic
 * framing (object-fit: cover, careful proportions) rather than a
 * plain product-on-white "contain" treatment.
 */

.bjf-catalog {
	max-width: 1240px;
	margin: 0 auto;
	/* Header clearance (see --bjf-header-clearance in commerce.css) + 40px intentional breathing room. */
	padding: calc(var(--bjf-header-clearance) + 40px) 32px 80px;
}

.bjf-catalog__intro {
	max-width: 780px;
	margin: 0 auto 56px;
	text-align: center;
}

.bjf-catalog__eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bjf-gold, #c6a15b);
	margin-bottom: 18px;
}

.bjf-catalog__title {
	font-size: 56px;
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--bjf-green-deep, #213631);
	margin: 0 0 20px;
}

.bjf-catalog__text {
	font-size: 21px;
	line-height: 1.6;
	color: var(--bjf-ink, #0f1a17);
	opacity: 0.72;
	margin: 0 auto;
	max-width: 720px;
}

/* ============================================================
   SHARED BUTTON REFINEMENT
   ============================================================ */

.bjf-inquiry-cta.button,
.bjf-buy-now {
	height: 48px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 24px !important;
	border-radius: 9px !important;
	font-weight: 700 !important;
	font-size: 14px !important;
}

/* ============================================================
   SUPPORT-POINT LISTS (shared component: focal card, featured
   row, consultation section, closing trust strip)
   ============================================================ */

.bjf-support-points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bjf-support-points__item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	font-weight: 600;
}

.bjf-support-points__icon {
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	line-height: 1;
	background: var(--bjf-gold-soft, #f4ecdc);
	color: var(--bjf-gold, #c6a15b);
}

/* Grid variant: 2x2, used on the 50kg featured row. */
.bjf-support-points--grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 24px;
	margin-top: 22px;
}

/* Consult variant: 2x2, on a neutral surface instead of a dark one. */
.bjf-support-points--consult {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 28px;
	flex: none;
}

/* Strip variant: single row of 4, centered, page-closing. */
.bjf-support-points--strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 64px;
	padding-top: 40px;
	border-top: 1px solid rgba(33, 54, 49, 0.08);
}

.bjf-support-points--strip .bjf-support-points__item {
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
	font-size: 14px;
}

.bjf-support-points--strip .bjf-support-points__icon {
	width: 40px;
	height: 40px;
	font-size: 15px;
	background: var(--bjf-surface, #F8FAFB);
	color: var(--bjf-green, #55a630);
}

/* ============================================================
   ROW 1 -- COMPOSITION: [500g/1kg stack] + [25kg focal column]
   ============================================================ */

.bjf-catalog__composition {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 24px;
	align-items: start;
}

.bjf-catalog__stack {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-self: start;
	gap: 18px;
}

/*
 * ---------- Retail card (500g / 1kg) ----------
 * Horizontal layout: the layout defines the card -- a fixed-proportion
 * image column (~38%) and a content column (~62%) -- and the product
 * photo fills that column via object-fit:cover, framed to show the
 * packaging clearly without stretching or aggressive cropping (the
 * source photos are portrait-ish lifestyle shots, close enough to this
 * column's own proportions that only incidental background at the
 * edges is trimmed, never the pack itself).
 */

.bjf-retail-card {
	display: flex;
	flex-direction: row;
	background: #ffffff;
	border: 1px solid rgba(33, 54, 49, 0.08);
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 1px 2px rgba(15, 26, 23, 0.03), 0 12px 24px -20px rgba(15, 26, 23, 0.2);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.bjf-retail-card:hover {
	box-shadow: 0 2px 4px rgba(15, 26, 23, 0.05), 0 18px 32px -18px rgba(15, 26, 23, 0.26);
	transform: translateY(-1px);
}

.bjf-retail-card__image {
	flex: none;
	width: 38%;
	display: block;
	background: var(--bjf-surface, #F8FAFB);
}

.bjf-retail-card__image img {
	width: 100%;
	height: 100%;
	min-height: 190px;
	object-fit: cover;
	object-position: center 30%;
	display: block;
}

.bjf-retail-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 22px 24px;
	gap: 8px;
	min-width: 0;
}

.bjf-retail-card__body .bjf-product-badges {
	margin-bottom: 2px;
}

.bjf-retail-card__name {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.15;
	color: var(--bjf-ink, #0f1a17);
}

.bjf-retail-card__price {
	font-size: 26px;
	font-weight: 800;
	color: var(--bjf-green-deep, #213631);
}

.bjf-retail-card__blurb {
	font-size: 13.5px;
	color: var(--bjf-ink, #0f1a17);
	opacity: 0.65;
	line-height: 1.5;
}

.bjf-retail-card__cta {
	margin-top: 6px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--bjf-green-deep, #213631);
}

.bjf-retail-card__cta::after {
	content: "\2192";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--bjf-surface, #F8FAFB);
	color: var(--bjf-green-deep, #213631);
	font-size: 12px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.bjf-retail-card:hover .bjf-retail-card__cta::after {
	background: var(--bjf-green, #55a630);
	color: #ffffff;
}

/*
 * ---------- Focal card (25kg) ----------
 * One cohesive card, two zones:
 *   __top     -- presentational row: image left / product info right
 *   __support -- full-width continuation directly below, same surface,
 *                same horizontal rhythm as __info (not a separate box)
 *
 * The two real CTAs (WhatsApp inquiry + "Lihat Detail") mean this can't
 * be one single wrapping <a> the way the retail cards are -- the image
 * and title are their own links, the actions are their own links.
 */

.bjf-focal-card {
	display: flex;
	flex-direction: column;
	height: auto;
	min-height: 0;
	align-self: start;
	background: #ffffff;
	border: 1px solid rgba(33, 54, 49, 0.08);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(15, 26, 23, 0.03), 0 16px 30px -20px rgba(15, 26, 23, 0.22);
}

/* ---- Row 1: presentation (image left, info right) ---- */

.bjf-focal-card__top {
	display: grid;
	grid-template-columns: 0.85fr 1fr;
	align-items: stretch;
}

/*
 * The image panel stretches to match the info column's natural height
 * (via grid align-items:stretch), so it reads as a proper presentation
 * panel rather than a tiny thumbnail -- but the PHOTO inside it stays
 * at its own natural size via object-fit:contain, centered, never
 * stretched or cropped.
 */
.bjf-focal-card__image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 220px;
	padding: 20px;
	background: var(--bjf-surface, #F8FAFB);
}

.bjf-focal-card__image img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

.bjf-focal-card__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 8px;
	padding: 24px 26px;
}

.bjf-focal-card__name {
	font-size: 25px;
	font-weight: 800;
	line-height: 1.15;
	color: var(--bjf-ink, #0f1a17);
	text-decoration: none;
}

.bjf-focal-card__price {
	font-size: 25px;
	font-weight: 800;
	color: var(--bjf-green-deep, #213631);
}

.bjf-focal-card__blurb {
	font-size: 13.5px;
	color: var(--bjf-ink, #0f1a17);
	opacity: 0.7;
	line-height: 1.5;
}

.bjf-focal-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
	margin-top: 6px;
}

.bjf-focal-card .bjf-inquiry-cta--primary {
	background: var(--bjf-green-deep, #213631) !important;
	color: #ffffff !important;
}
.bjf-focal-card .bjf-inquiry-cta--primary:hover {
	background: var(--bjf-green, #55a630) !important;
}

.bjf-focal-card .bjf-inquiry-cta--secondary {
	background: #ffffff !important;
	color: var(--bjf-green-deep, #213631) !important;
	border: 1.5px solid rgba(33, 54, 49, 0.2) !important;
}
.bjf-focal-card .bjf-inquiry-cta--secondary:hover {
	border-color: var(--bjf-green-deep, #213631) !important;
}

/*
 * ---- Row 2: full-width supporting continuation ----
 * Same white surface as row 1 (no new background/box), a single
 * hairline divider, and horizontal padding that lines up with row 1's
 * info column -- the visual-alignment + tonal-continuity strategy that
 * keeps this reading as one card rather than an appended block.
 */
.bjf-focal-card__support {
	padding: 18px 26px 24px;
	border-top: 1px solid rgba(33, 54, 49, 0.08);
}

.bjf-focal-card__support-text {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--bjf-ink, #0f1a17);
	opacity: 0.72;
	margin: 0 0 14px;
	max-width: 56ch;
}

.bjf-focal-card .bjf-support-points {
	width: 100%;
	margin-top: 0;
}

/* ============================================================
   ROW 2 -- FEATURED ROW (50kg, full width)
   ============================================================ */

.bjf-featured-row {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	align-items: stretch;
	gap: 0;
	margin-top: 24px;
	background: var(--bjf-green-deep, #213631);
	border-radius: 10px;
	overflow: hidden;
	position: relative;
}

/*
 * The 50kg photo is deliberately NOT boxed: no card background, no
 * border, no separate tile behind it. It sits directly on the section's
 * own deep-green surface, sized generously and centered, with its own
 * edges feathered via a mask so the photo's natural (light/warm)
 * background dissolves into the green rather than reading as a
 * rectangular image pasted on top of the block.
 */
.bjf-featured-row__image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 320px;
	padding: 28px;
	position: relative;
}

.bjf-featured-row__image img {
	width: 100%;
	height: 100%;
	max-width: 480px;
	object-fit: contain;
	display: block;
	-webkit-mask-image: radial-gradient(ellipse 68% 72% at 50% 50%, #000 60%, transparent 100%);
	mask-image: radial-gradient(ellipse 68% 72% at 50% 50%, #000 60%, transparent 100%);
}

.bjf-featured-row__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
	padding: 44px 48px;
	color: #ffffff;
}

.bjf-featured-row__body .bjf-badge--inquiry {
	color: #ffffff;
	border-color: var(--bjf-gold, #c6a15b);
}

.bjf-featured-row__body .bjf-badge--size {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.2);
}

.bjf-featured-row__name {
	font-size: 42px;
	font-weight: 800;
	line-height: 1.12;
	color: #ffffff;
}

.bjf-featured-row__price {
	font-size: 40px;
	font-weight: 800;
	color: var(--bjf-gold, #c6a15b);
}

.bjf-featured-row__blurb {
	font-size: 15px;
	line-height: 1.6;
	color: #ffffff;
	opacity: 0.78;
	max-width: 46ch;
}

.bjf-featured-row__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
}

.bjf-featured-row .bjf-inquiry-cta--primary {
	background: var(--bjf-gold, #c6a15b) !important;
	color: var(--bjf-green-deep, #213631) !important;
}
.bjf-featured-row .bjf-inquiry-cta--primary:hover {
	background: #ffffff !important;
}

.bjf-featured-row .bjf-inquiry-cta--secondary {
	background: transparent !important;
	color: #ffffff !important;
	border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
}
.bjf-featured-row .bjf-inquiry-cta--secondary:hover {
	border-color: #ffffff !important;
}

.bjf-featured-row .bjf-support-points__item {
	color: #ffffff;
}

.bjf-featured-row .bjf-support-points__icon {
	background: rgba(255, 255, 255, 0.14);
	color: var(--bjf-gold, #c6a15b);
}

/* ============================================================
   ROW 3 -- CUSTOM-NEEDS CONSULTATION SECTION (not a product card)
   ============================================================ */

.bjf-consult {
	margin-top: 28px;
	padding: 36px 40px;
	background: var(--bjf-surface, #F8FAFB);
	border: 1px solid rgba(198, 161, 91, 0.35);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.bjf-consult__body {
	flex: 1 1 380px;
	max-width: 560px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.bjf-consult__eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bjf-gold, #c6a15b);
}

.bjf-consult__title {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--bjf-green-deep, #213631);
	margin: 0;
}

.bjf-consult__text {
	font-size: 15px;
	line-height: 1.65;
	color: var(--bjf-ink, #0f1a17);
	opacity: 0.75;
	margin: 0;
}

.bjf-consult__cta {
	margin-top: 8px;
	background: var(--bjf-gold, #c6a15b) !important;
	color: var(--bjf-green-deep, #213631) !important;
}
.bjf-consult__cta:hover {
	background: var(--bjf-green-deep, #213631) !important;
	color: #ffffff !important;
}

.bjf-consult .bjf-support-points__icon {
	background: #ffffff;
	color: var(--bjf-gold, #c6a15b);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
	.bjf-catalog__title {
		font-size: 44px;
	}
	.bjf-catalog__text {
		font-size: 18px;
	}
	.bjf-featured-row__name {
		font-size: 32px;
	}
	.bjf-featured-row__price {
		font-size: 30px;
	}
	.bjf-featured-row__body {
		padding: 36px 38px;
	}
}

@media (max-width: 900px) {
	.bjf-catalog {
		padding: calc(var(--bjf-header-clearance) + 32px) 24px 56px;
	}
	.bjf-catalog__composition {
		grid-template-columns: 1fr;
	}
	.bjf-focal-card__top {
		grid-template-columns: 1fr;
	}
	.bjf-focal-card__image {
		min-height: 200px;
	}
	.bjf-featured-row {
		grid-template-columns: 1fr;
	}
	.bjf-featured-row__image {
		min-height: 240px;
		padding: 32px 32px 0;
	}
	.bjf-featured-row__image img {
		max-width: 320px;
	}
	.bjf-support-points--strip {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px 16px;
	}
}

@media (max-width: 640px) {
	.bjf-catalog {
		/* Same real header-clearance term as desktop (Blocksy reports the
		   same --header-height at this breakpoint too) -- only the
		   additive breathing room and side/bottom padding are tightened. */
		padding: calc(var(--bjf-header-clearance) + 24px) 16px 40px;
	}
	.bjf-catalog__intro {
		margin-bottom: 36px;
	}
	.bjf-catalog__title {
		font-size: 30px;
	}
	.bjf-catalog__text {
		font-size: 16px;
	}
	.bjf-retail-card {
		flex-direction: column;
	}
	.bjf-retail-card__image {
		width: 100%;
	}
	.bjf-retail-card__image img {
		min-height: 160px;
		aspect-ratio: 16 / 9;
	}
	.bjf-support-points--grid,
	.bjf-support-points--consult {
		grid-template-columns: 1fr;
	}
	.bjf-consult {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
		padding: 28px 24px;
	}
	.bjf-consult__cta {
		width: 100%;
		text-align: center;
	}
}
