/* =========================================================
   Jasmine Foods — App stylesheet (v2 polish)
   Design tokens, consistent rhythm (8/12/16/24/32/48/64),
   tighter typography, crisp WooCommerce overrides.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
	/* Spacing scale (px) */
	--jf-s-1: 4px;
	--jf-s-2: 8px;
	--jf-s-3: 12px;
	--jf-s-4: 16px;
	--jf-s-5: 24px;
	--jf-s-6: 32px;
	--jf-s-7: 48px;
	--jf-s-8: 64px;
	--jf-s-9: 96px;

	/* Shadows */
	--jf-shadow-xs: 0 1px 1px rgba(17,24,39,.04);
	--jf-shadow-sm: 0 1px 2px rgba(17,24,39,.04), 0 1px 1px rgba(17,24,39,.04);
	--jf-shadow:    0 1px 3px rgba(17,24,39,.06), 0 8px 24px -10px rgba(17,24,39,.12);
	--jf-shadow-lg: 0 8px 28px -6px rgba(17,24,39,.14), 0 18px 48px -16px rgba(17,24,39,.18);

	/* Radii */
	--jf-r-sm: 10px;
	--jf-r:    14px;
	--jf-r-lg: 20px;
	--jf-r-pill: 999px;

	/* Container */
	--jf-content: 1240px;
	--jf-wide:    1400px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

* { min-width: 0; }
img { max-width: 100%; height: auto; }

::selection { background: var(--wp--preset--color--brand); color: var(--wp--preset--color--ink); }

a:focus-visible, button:focus-visible, .wp-element-button:focus-visible {
	outline: 2px solid var(--wp--preset--color--brand-dark);
	outline-offset: 3px;
	border-radius: var(--jf-r-sm);
}

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link {
	transition: transform .18s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
	box-shadow: var(--jf-shadow-sm);
	letter-spacing: -.005em;
}
.wp-element-button:hover, .wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: var(--jf-shadow);
}
.is-style-jf-brand .wp-block-button__link {
	background: var(--wp--preset--color--brand) !important;
	color: var(--wp--preset--color--ink) !important;
}
.is-style-jf-brand .wp-block-button__link:hover {
	background: var(--wp--preset--color--brand-dark) !important;
	color: #fff !important;
}
.is-style-jf-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--ink) !important;
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--ink);
}
.is-style-jf-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--ink) !important;
	color: #fff !important;
}
.is-style-jf-ghost .wp-block-button__link {
	background: var(--wp--preset--color--surface-soft) !important;
	color: var(--wp--preset--color--ink) !important;
}

/* ---------- Header ---------- */
.jf-announcement {
	background: var(--wp--preset--color--ink);
	color: #FFF8EE;
	font-size: .8125rem;
	letter-spacing: .005em;
}
.jf-announcement a { color: var(--wp--preset--color--brand); text-decoration: none; font-weight: 600; }
.jf-announcement a:hover { text-decoration: underline; }

.jf-header-wrap {
	border-bottom: 1px solid var(--wp--preset--color--line);
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.94);
	backdrop-filter: saturate(140%) blur(10px);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
}
.jf-header-wrap .wp-block-site-logo a { display: inline-block; }
.jf-header-wrap .wp-block-site-logo img { width: 130px !important; height: auto !important; }
.jf-header-wrap .wp-block-navigation { gap: 28px !important; }
.jf-header-wrap .wp-block-navigation .wp-block-navigation-item__content {
	font-weight: 600;
	font-size: .94rem;
	color: var(--wp--preset--color--ink);
	padding: 6px 0 !important;
	position: relative;
}
.jf-header-wrap .wp-block-navigation .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0;
	height: 2px; background: var(--wp--preset--color--brand);
	transform: scaleX(0); transform-origin: left center;
	transition: transform .25s ease;
}
.jf-header-wrap .wp-block-navigation .wp-block-navigation-item:hover .wp-block-navigation-item__content::after,
.jf-header-wrap .wp-block-navigation .current-menu-item .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}
.jf-header-wrap .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--brand-dark);
}

.jf-header-cta { gap: 12px !important; align-items: center; }
.jf-header-cta > * { display: inline-flex; align-items: center; }

/* Nav submenus (mega-menu style) */
.jf-header-wrap .wp-block-navigation-submenu {
	position: relative;
}
.jf-header-wrap .wp-block-navigation .has-child .wp-block-navigation__submenu-icon {
	margin-left: 4px !important;
	color: var(--wp--preset--color--muted);
	width: 12px;
}
.jf-header-wrap .wp-block-navigation .wp-block-navigation__submenu-container {
	background: #fff !important;
	border: 1px solid var(--wp--preset--color--line) !important;
	border-radius: var(--jf-r) !important;
	box-shadow: var(--jf-shadow-lg) !important;
	padding: 8px !important;
	min-width: 240px !important;
	margin-top: 8px;
}
.jf-header-wrap .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-weight: 500 !important;
	font-size: .9rem !important;
	padding: 8px 12px !important;
	border-radius: var(--jf-r-sm);
	color: var(--wp--preset--color--ink-soft) !important;
	width: 100%;
}
.jf-header-wrap .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
	display: none !important;
}
.jf-header-wrap .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--brand-soft);
	color: var(--wp--preset--color--brand-dark) !important;
}

/* Mini-cart button */
.jf-header-cta .wp-block-woocommerce-mini-cart-contents,
.jf-header-cta .wp-block-woocommerce-mini-cart {
	position: relative;
}
.jf-header-cta .wc-block-mini-cart__button {
	background: var(--wp--preset--color--ink) !important;
	color: #fff !important;
	border-radius: var(--jf-r-pill) !important;
	padding: 8px 14px !important;
	font-size: .9rem !important;
	font-weight: 600 !important;
	gap: 6px;
}
.jf-header-cta .wc-block-mini-cart__button:hover {
	background: var(--wp--preset--color--brand-dark) !important;
}

/* Login link */
.jf-header-cta .wp-block-loginout a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	font-weight: 600;
	font-size: .9rem;
}
.jf-header-cta .wp-block-loginout a:hover { color: var(--wp--preset--color--brand-dark); }

/* Search */
.jf-search-form { position: relative; }
.jf-search-form input[type=search] {
	background: var(--wp--preset--color--surface-soft);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--jf-r-pill);
	padding: 9px 14px 9px 36px;
	min-width: 240px;
	font-size: .9rem;
	transition: border-color .2s ease, background .2s ease;
}
.jf-search-form input[type=search]:focus {
	background: #fff;
	border-color: var(--wp--preset--color--brand);
	outline: none;
}
.jf-search-form::before {
	content: ""; position: absolute; left: 12px; top: 50%;
	width: 16px; height: 16px; transform: translateY(-50%);
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='m21 21-4.3-4.3'/></svg>") no-repeat center / contain;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.jf-search-form input[type=search] { min-width: 160px; }
}
@media (max-width: 781px) {
	.jf-search-form { display: none; }
}

/* ---------- Hero ---------- */
.jf-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.jf-hero::before {
	content: ""; position: absolute; inset: -10%;
	background:
		radial-gradient(560px 320px at 90% 25%, rgba(255,153,0,.22), transparent 55%),
		radial-gradient(420px 280px at 10% 85%, rgba(255,153,0,.14), transparent 60%);
	pointer-events: none; z-index: 0;
}
.jf-hero > .wp-block-cover__inner-container { position: relative; z-index: 1; }
.jf-hero-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(255,153,0,.12);
	color: var(--wp--preset--color--brand-dark);
	font-size: .8125rem;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: var(--jf-r-pill);
	border: 1px solid rgba(255,153,0,.25);
	letter-spacing: -.003em;
}
.jf-hero h1 strong { color: var(--wp--preset--color--brand-dark); }
.jf-hero-trust {
	display: flex; gap: 20px; flex-wrap: wrap; align-items: center;
	color: var(--wp--preset--color--muted);
	font-size: .875rem;
}
.jf-hero-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* Hero mosaic */
.jf-hero-mosaic {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 14px;
	aspect-ratio: 5 / 4;
	width: 100%;
	max-width: 540px;
	margin-left: auto;
	transform: rotate(-2deg);
}
.jf-hero-tile {
	border-radius: 18px;
	display: flex; flex-direction: column;
	align-items: center; justify-content: center;
	gap: 8px;
	padding: 16px;
	box-shadow: 0 12px 32px -16px rgba(31,35,48,.25), 0 2px 6px rgba(31,35,48,.06);
	transition: transform .25s ease, box-shadow .25s ease;
	will-change: transform;
}
.jf-hero-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -16px rgba(31,35,48,.32); }
.jf-hero-tile svg { width: 52%; max-width: 78px; height: auto; opacity: .92; }
.jf-hero-tile .jf-tile-glyph,
.jf-hero-tile .jf-tile-glyph img.emoji {
	font-size: 2.5rem !important;
	line-height: 1 !important;
	height: 44px !important;
	width: 44px !important;
	filter: drop-shadow(0 2px 6px rgba(31,35,48,.18));
}
.jf-hero-tile .jf-tile-glyph img.emoji {
	margin: 0 !important;
}
.jf-hero-tile .jf-tile-label,
.jf-hero-tile span:not(.jf-tile-glyph) {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: .85rem;
	letter-spacing: -.005em;
	margin-top: 4px;
}
.jf-tile-1 { background: linear-gradient(140deg,#FFE3BD,#FFB877); color: #6B2B00; transform: rotate(1deg); }
.jf-tile-2 { background: linear-gradient(140deg,#E5F2E0,#A8D49A); color: #1E4D14; }
.jf-tile-3 { background: linear-gradient(140deg,#1F2330,#3A4054); color: #FFE3BD; transform: rotate(-1deg); }
.jf-tile-4 { background: linear-gradient(140deg,#FFE9C2,#FFC76B); color: #6B3E00; transform: rotate(-1.5deg); }
.jf-tile-5 { background: linear-gradient(140deg,#FFFFFF,#F1EAD9); color: #4A3A1A; box-shadow: 0 12px 32px -16px rgba(31,35,48,.25), inset 0 0 0 1px rgba(31,35,48,.06); }
.jf-tile-6 { background: linear-gradient(140deg,#FBE7CF,#E2B373); color: #4A2A00; transform: rotate(1deg); }

@media (max-width: 781px) {
	.jf-hero-mosaic { max-width: 100%; margin-top: 24px; }
}

/* ---------- Section primitives ---------- */
.jf-eyebrow {
	display: inline-block;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-dark);
}
.jf-section-tag {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--wp--preset--color--brand-soft);
	color: var(--wp--preset--color--brand-dark);
	font-size: .8125rem;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: var(--jf-r-pill);
}

/* ---------- Category cards (homepage 3-up) ---------- */
.jf-cat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 32px;
}
@media (max-width: 1024px) { .jf-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .jf-cat-grid { grid-template-columns: 1fr; } }

.jf-cat-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--jf-r-lg);
	min-height: 360px;
	display: flex; flex-direction: column;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--jf-shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
.jf-cat-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--jf-shadow-lg);
}
.jf-cat-art {
	flex: 1;
	display: flex; align-items: center; justify-content: center;
	padding: 40px 32px 16px;
	position: relative;
	overflow: hidden;
	min-height: 200px;
}
.jf-cat-art::before {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(280px 200px at 100% 0%, rgba(255,255,255,.32), transparent 60%),
		radial-gradient(220px 180px at 0% 100%, rgba(0,0,0,.06), transparent 60%);
}
.jf-cat-art svg {
	width: 50%;
	max-width: 130px;
	height: auto;
	position: relative;
	z-index: 1;
	filter: drop-shadow(0 4px 12px rgba(31,35,48,.22));
}
.jf-cat-body {
	background: #fff;
	padding: 20px 24px 24px;
	border-top: 1px solid rgba(31,35,48,.06);
}
.jf-cat-body h3 {
	margin: 6px 0 6px;
	font-size: 1.4rem;
	font-family: var(--wp--preset--font-family--display);
	letter-spacing: -.01em;
	color: var(--wp--preset--color--ink);
	line-height: 1.2;
}
.jf-cat-body p {
	margin: 0 0 14px;
	color: var(--wp--preset--color--muted);
	font-size: .9rem;
	line-height: 1.55;
}
.jf-cat-tag {
	display: inline-block;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: var(--jf-r-pill);
}
.jf-cat-tag-green  { background: #EAF6EF; color: #0E7C42; }
.jf-cat-tag-orange { background: #FFF3E0; color: var(--wp--preset--color--brand-dark); }
.jf-cat-tag-white  { background: #fff; color: var(--wp--preset--color--ink); box-shadow: inset 0 0 0 1px var(--wp--preset--color--line); }
.jf-cat-cta {
	display: inline-flex; align-items: center; gap: 4px;
	font-weight: 700;
	font-size: .9rem;
	color: var(--wp--preset--color--ink);
	border-bottom: 2px solid var(--wp--preset--color--brand);
	padding-bottom: 2px;
	transition: gap .2s ease;
}
.jf-cat-card:hover .jf-cat-cta { gap: 10px; }
.jf-cat-cta em { font-style: normal; }

/* Category card SVG artwork via background-image (survives wp_kses) */
.jf-cat-art {
	background-repeat: no-repeat;
	background-position: center;
	background-size: 38% auto;
}
.jf-cat-meat .jf-cat-art {
	background-color: #7A1D1D;
	background-image:
		linear-gradient(155deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 70%, rgba(0,0,0,.18) 100%),
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23FFD9B5' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><path d='M60 50c0-14 14-26 40-26s40 12 40 26v18c0 24-14 50-40 50s-40-26-40-50V50Z'/><path d='M60 110c0 18 14 50 40 50s40-32 40-50'/><circle cx='100' cy='58' r='5' fill='%23FFD9B5'/><path d='M84 76c4-2 12-2 16 0'/><path d='M110 76c4-2 12-2 16 0'/></svg>"),
		linear-gradient(155deg,#3A1414 0%,#7A1D1D 45%,#C03C2A 100%);
	color: #FFD9B5;
}
.jf-cat-mfg .jf-cat-art {
	background-color: #FF9900;
	background-image:
		linear-gradient(155deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 50%, rgba(0,0,0,.12) 100%),
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%234A2A00' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><path d='M85 30h30v22h-30z'/><path d='M75 52h50v110a8 8 0 0 1-8 8H83a8 8 0 0 1-8-8V52Z'/><path d='M75 92h50'/><circle cx='100' cy='120' r='10' fill='%234A2A00' fill-opacity='.25'/><path d='M88 140h24M88 152h24'/></svg>"),
		linear-gradient(155deg,#FFB347 0%,#FF9900 50%,#E07F00 100%);
	color: #4A2A00;
}
.jf-cat-veg .jf-cat-art {
	background-color: #0E7C42;
	background-image:
		linear-gradient(155deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 60%, rgba(0,0,0,.18) 100%),
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23E5F2E0' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><ellipse cx='100' cy='115' rx='48' ry='55'/><path d='M100 60c-6-10-6-22 4-32'/><path d='M100 60c8-8 22-8 32 2'/><circle cx='84' cy='115' r='7' fill='%23E5F2E0' fill-opacity='.25'/><circle cx='116' cy='125' r='6' fill='%23E5F2E0' fill-opacity='.25'/><circle cx='100' cy='140' r='5' fill='%23E5F2E0' fill-opacity='.25'/></svg>"),
		linear-gradient(155deg,#1F8A4C 0%,#0E7C42 60%,#06532D 100%);
	color: #E5F2E0;
}

/* ---------- Sub-category quick-shop strip ---------- */
.jf-subcat-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	margin-top: 24px;
}
.jf-subcat-chip {
	display: flex; align-items: center; gap: 10px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--jf-r);
	text-decoration: none;
	color: var(--wp--preset--color--ink);
	font-weight: 600;
	font-size: .92rem;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.jf-subcat-chip:hover {
	transform: translateY(-2px);
	border-color: var(--wp--preset--color--brand);
	box-shadow: var(--jf-shadow);
}
.jf-subcat-chip-emoji {
	flex-shrink: 0;
	width: 32px; height: 32px;
	border-radius: 8px;
	background: var(--wp--preset--color--brand-soft);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 1.1rem;
}

/* ---------- USP / promise strip ---------- */
.jf-usp-strip {
	background: var(--wp--preset--color--surface-soft);
	border-top: 1px solid var(--wp--preset--color--line);
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.jf-usp-card {
	padding: 12px;
}
.jf-usp-card .jf-usp-icon {
	width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 12px;
	background: var(--wp--preset--color--brand-soft);
	color: var(--wp--preset--color--brand-dark);
	font-size: 1.25rem;
	margin-bottom: 10px;
}
.jf-usp-card h4 {
	margin: 0 0 4px;
	font-size: 1.0625rem;
	letter-spacing: -.005em;
	line-height: 1.25;
}
.jf-usp-card p {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: .9375rem;
	line-height: 1.5;
}

/* ---------- Dual B2B/B2C ---------- */
.jf-dual-card {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--jf-r-lg);
	padding: 32px;
	background: var(--wp--preset--color--surface);
	height: 100%;
	display: flex; flex-direction: column;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.jf-dual-card:hover {
	border-color: var(--wp--preset--color--brand);
	box-shadow: var(--jf-shadow);
	transform: translateY(-2px);
}
.jf-dual-card .jf-pill {
	display: inline-block;
	padding: 4px 10px;
	background: var(--wp--preset--color--brand-soft);
	color: var(--wp--preset--color--brand-dark);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	border-radius: var(--jf-r-pill);
	text-transform: uppercase;
	margin-bottom: 16px;
}
.jf-dual-card.jf-b2b .jf-pill { background: #EAF6EF; color: var(--wp--preset--color--halal); }
.jf-dual-card h3 {
	margin: 0 0 8px;
	font-size: 1.5rem;
	letter-spacing: -.015em;
}
.jf-dual-card > p {
	color: var(--wp--preset--color--muted);
	margin: 0 0 16px;
	line-height: 1.55;
}
.jf-dual-card ul {
	padding-left: 18px;
	margin: 0 0 20px;
	list-style: none;
}
.jf-dual-card li {
	position: relative;
	margin-bottom: 8px;
	color: var(--wp--preset--color--ink-soft);
	line-height: 1.5;
	padding-left: 4px;
}

/* ---------- Product cards (grid) ---------- */
.wc-block-grid__product,
.wp-block-woocommerce-product-template li,
.wp-block-post.product {
	background: var(--wp--preset--color--surface);
	border-radius: var(--jf-r);
	padding: 14px !important;
	border: 1px solid var(--wp--preset--color--line);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	position: relative;
	overflow: hidden;
}
.wc-block-grid__product:hover,
.wp-block-woocommerce-product-template li:hover,
.wp-block-post.product:hover {
	transform: translateY(-4px);
	box-shadow: var(--jf-shadow);
	border-color: rgba(255,153,0,.5);
}

.wp-block-woocommerce-product-image img,
.wc-block-grid__product-image img,
.wp-block-post-featured-image img {
	border-radius: var(--jf-r-sm);
	background: var(--wp--preset--color--surface-soft);
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
}

.wp-block-woocommerce-product-image {
	margin-bottom: 14px !important;
}

.wp-block-woocommerce-product-title,
.wp-block-post-title.product {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600 !important;
	font-size: 1rem !important;
	line-height: 1.3 !important;
	margin: 0 0 8px !important;
	color: var(--wp--preset--color--ink) !important;
}
.wp-block-woocommerce-product-title a,
.wp-block-post-title a {
	color: inherit !important;
	text-decoration: none !important;
}
.wp-block-woocommerce-product-title a:hover { color: var(--wp--preset--color--brand-dark) !important; }

.wp-block-woocommerce-product-price {
	margin-bottom: 12px !important;
}
.wp-block-woocommerce-product-price .price,
.wc-block-grid__product-price .price {
	color: var(--wp--preset--color--ink) !important;
	font-weight: 700;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.05rem !important;
}
.wp-block-woocommerce-product-price .price del {
	color: var(--wp--preset--color--muted) !important;
	font-weight: 400;
	margin-right: 6px;
	font-size: .85em;
}
.wp-block-woocommerce-product-price .price ins {
	background: transparent;
	color: var(--wp--preset--color--brand-dark) !important;
	text-decoration: none !important;
}

.wp-block-woocommerce-product-rating {
	margin-bottom: 12px !important;
}
.wc-block-product-rating-stars {
	font-size: .8125rem;
}

.wp-block-woocommerce-product-button .wp-block-button__link,
.wp-block-woocommerce-product-button a {
	width: 100% !important;
	justify-content: center;
	font-size: .9rem !important;
	padding: 10px 14px !important;
	border-radius: var(--jf-r-pill) !important;
	background: var(--wp--preset--color--ink) !important;
	color: #fff !important;
	font-weight: 600 !important;
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
}
.wp-block-woocommerce-product-button .wp-block-button__link:hover {
	background: var(--wp--preset--color--brand) !important;
	color: var(--wp--preset--color--ink) !important;
}

/* Sale badge */
.onsale, .wc-block-components-product-sale-badge {
	background: var(--wp--preset--color--brand) !important;
	color: var(--wp--preset--color--ink) !important;
	font-weight: 700 !important;
	border-radius: var(--jf-r-pill) !important;
	padding: 4px 10px !important;
	top: 14px !important;
	left: 14px !important;
	right: auto !important;
	font-size: .72rem !important;
	letter-spacing: .04em;
	text-transform: uppercase;
	box-shadow: var(--jf-shadow-sm);
	z-index: 2;
}

.jf-halal-badge {
	display: inline-flex; align-items: center; gap: 4px;
	background: #EAF6EF;
	color: var(--wp--preset--color--halal);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 3px 8px;
	border-radius: var(--jf-r-pill);
	text-transform: uppercase;
}

.jf-stock { font-size: .8125rem; font-weight: 600; }
.jf-stock-in  { color: var(--wp--preset--color--success); }
.jf-stock-out { color: var(--wp--preset--color--danger); }

/* Empty state for archive */
.wp-block-woocommerce-product-collection-no-results {
	padding: 48px 24px;
	text-align: center;
	background: var(--wp--preset--color--surface-soft);
	border-radius: var(--jf-r);
}

/* ---------- Sidebar (sub-cat browse) ---------- */
.jf-sidebar-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--jf-r);
	padding: 16px 18px;
	margin-bottom: 14px;
}
.jf-sidebar-card h4 {
	margin: 0 0 10px;
	font-family: var(--wp--preset--font-family--display);
	font-size: .78rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink-soft);
}
.jf-sidebar-card ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.jf-sidebar-card ul li { margin: 0; }
.jf-sidebar-card ul li a {
	display: flex; align-items: center; gap: 10px;
	padding: 8px 0;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	font-size: .92rem;
	font-weight: 500;
	border-radius: 8px;
	transition: color .15s ease, background .15s ease;
}
.jf-sidebar-card ul li a:hover {
	color: var(--wp--preset--color--brand-dark);
}
.jf-sidebar-card ul li.current-cat > a,
.jf-sidebar-card ul li a.is-active {
	color: var(--wp--preset--color--brand-dark);
	font-weight: 700;
}
.jf-sidebar-card ul li a span {
	width: 26px; height: 26px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 6px;
	background: var(--wp--preset--color--surface-soft);
	font-size: .95rem;
}

.jf-sidebar-trade {
	background: linear-gradient(155deg, #FFF8EE, #FFE9C2);
	border: 1px solid rgba(255,153,0,.32);
	border-radius: var(--jf-r);
	padding: 18px;
}
.jf-sidebar-trade strong {
	display: block;
	margin-bottom: 6px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
}
.jf-sidebar-trade p {
	margin: 0 0 12px;
	color: var(--wp--preset--color--ink-soft);
	font-size: .85rem;
	line-height: 1.5;
}
.jf-sidebar-trade a {
	display: inline-block;
	background: var(--wp--preset--color--ink);
	color: #fff;
	padding: 9px 16px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: .85rem;
}
.jf-sidebar-trade a:hover {
	background: var(--wp--preset--color--brand-dark);
}

/* Hide the mobile overlay artifacts when filters render inline */
.wc-block-product-filters__open-overlay,
.wc-block-product-filters__close-overlay {
	display: none !important;
}
.wc-block-product-filters__overlay {
	display: contents;
}
.wc-block-product-filters__overlay-wrapper,
.wc-block-product-filters__overlay-dialog,
.wc-block-product-filters__overlay-content {
	display: contents;
}
.wc-block-product-filters__overlay-header { display: none !important; }

/* Style each filter block */
.wp-block-woocommerce-product-filter-price,
.wp-block-woocommerce-product-filter-stock-status,
.wp-block-woocommerce-product-filter-rating,
.wp-block-woocommerce-product-filter-attribute,
.wp-block-woocommerce-product-filter-active,
.wp-block-woocommerce-product-filter-clear-button {
	display: block;
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.wp-block-woocommerce-product-filter-clear-button {
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}
.wp-block-woocommerce-product-filter-clear-button button {
	background: transparent !important;
	border: 1.5px solid var(--wp--preset--color--ink) !important;
	color: var(--wp--preset--color--ink) !important;
	padding: 8px 14px !important;
	border-radius: 999px !important;
	font-weight: 600 !important;
	font-size: .85rem !important;
	width: 100%;
}

/* Price filter: input range styling */
.wc-block-components-price-slider__range-input-wrapper {
	background: var(--wp--preset--color--line);
}
.wc-block-components-price-slider__range-input-progress {
	background: var(--wp--preset--color--brand);
}
.wc-block-components-price-slider__amount {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--jf-r-sm);
	padding: 8px 10px;
	font-size: .85rem;
}

/* Rating filter */
.wc-block-components-filter-rating .wc-block-rating-filter__item label {
	display: flex; align-items: center; gap: 8px;
	padding: 6px 4px;
	border-radius: 6px;
	cursor: pointer;
}
.wc-block-components-filter-rating .wc-block-rating-filter__item label:hover {
	background: var(--wp--preset--color--brand-soft);
}

/* Catalog sorting */
.woocommerce-ordering select,
.wc-block-product-collection-orderby select {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--jf-r-pill);
	padding: 8px 16px;
	font-size: .9rem;
	background: #fff;
}

/* Results count */
.wp-block-woocommerce-product-results-count,
.woocommerce-result-count {
	color: var(--wp--preset--color--muted);
	font-size: .9rem;
	margin: 0;
}

/* ---------- PDP ---------- */
.jf-pdp .wp-block-woocommerce-product-image-gallery img {
	border-radius: var(--jf-r);
}
.jf-pdp .wp-block-post-title,
.jf-pdp h1.product_title {
	font-size: 2.125rem !important;
	letter-spacing: -.02em !important;
	margin: 0 0 12px !important;
	line-height: 1.15 !important;
}
.jf-pdp .price {
	font-size: 1.75rem !important;
	font-weight: 700 !important;
	font-family: var(--wp--preset--font-family--display);
}
.jf-pdp .price del { font-size: .65em; color: var(--wp--preset--color--muted); }
.jf-pdp .price ins { background: transparent; text-decoration: none; color: var(--wp--preset--color--brand-dark); }

.jf-pdp-tags {
	display: flex; gap: 8px; flex-wrap: wrap;
	margin-bottom: 14px;
}
.jf-pdp-tags > * {
	font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	padding: 4px 10px;
	border-radius: var(--jf-r-pill);
	background: var(--wp--preset--color--surface-soft);
	color: var(--wp--preset--color--ink-soft);
}
.jf-pdp-tags .jf-tag-halal { background: #EAF6EF; color: var(--wp--preset--color--halal); }
.jf-pdp-tags .jf-tag-fresh { background: var(--wp--preset--color--brand-soft); color: var(--wp--preset--color--brand-dark); }

.jf-pdp .wp-block-add-to-cart-form,
.jf-pdp form.cart {
	display: flex; flex-wrap: wrap; align-items: center;
	gap: 12px;
	margin-top: 16px;
}
.jf-pdp .wp-block-add-to-cart-form .quantity input,
.jf-pdp form.cart .quantity input {
	border-radius: var(--jf-r-pill);
	border: 1px solid var(--wp--preset--color--line);
	padding: 12px 16px;
	font-size: 1rem;
	width: 88px;
	text-align: center;
}
.jf-pdp .wp-block-add-to-cart-form button,
.jf-pdp form.cart button.single_add_to_cart_button {
	background: var(--wp--preset--color--ink) !important;
	color: #fff !important;
	border-radius: var(--jf-r-pill) !important;
	padding: 14px 28px !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	border: 0 !important;
	flex: 1;
	min-width: 200px;
	box-shadow: var(--jf-shadow-sm);
}
.jf-pdp .wp-block-add-to-cart-form button:hover,
.jf-pdp form.cart button.single_add_to_cart_button:hover {
	background: var(--wp--preset--color--brand) !important;
	color: var(--wp--preset--color--ink) !important;
	box-shadow: var(--jf-shadow);
}

/* Modern qty stepper (replaces stock WC number input) */
.jf-pdp .quantity {
	display: inline-flex !important;
	align-items: center;
	background: #fff;
	border: 1.5px solid var(--wp--preset--color--line);
	border-radius: 999px;
	overflow: hidden;
	height: 52px;
	width: auto !important;
	max-width: 144px;
	flex: 0 0 auto !important;
	transition: border-color .15s ease, box-shadow .15s ease;
	padding: 0;
}
.jf-pdp .quantity:focus-within {
	border-color: var(--wp--preset--color--brand);
	box-shadow: 0 0 0 3px rgba(255,153,0,.18);
}
.jf-pdp .quantity .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0,0,0,0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Hard-reset for qty buttons — neutralize global button + WC button styles */
.jf-pdp .quantity .jf-qty-btn,
.jf-pdp .quantity button.jf-qty-btn {
	all: unset;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 44px !important;
	height: 52px !important;
	min-width: 44px !important;
	max-width: 44px !important;
	background: transparent !important;
	border: 0 !important;
	color: var(--wp--preset--color--ink-soft) !important;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	flex: 0 0 44px !important;
}
.jf-pdp .quantity .jf-qty-btn:hover {
	background: var(--wp--preset--color--brand-soft) !important;
	color: var(--wp--preset--color--brand-dark) !important;
	transform: none !important;
	box-shadow: none !important;
}
.jf-pdp .quantity .jf-qty-btn:focus-visible {
	outline: 2px solid var(--wp--preset--color--brand-dark);
	outline-offset: -4px;
}
.jf-pdp .quantity .jf-qty-btn svg { display: block; width: 16px; height: 16px; }

.jf-pdp .quantity input.qty {
	width: 48px !important;
	height: 52px !important;
	min-width: 48px !important;
	max-width: 48px !important;
	border: 0 !important;
	background: transparent !important;
	text-align: center !important;
	font-weight: 700 !important;
	font-family: var(--wp--preset--font-family--display) !important;
	font-size: 1.05rem !important;
	color: var(--wp--preset--color--ink) !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	flex: 0 0 48px !important;
	-moz-appearance: textfield;
}
.jf-pdp .quantity input.qty::-webkit-outer-spin-button,
.jf-pdp .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}
.jf-pdp .quantity input.qty:focus { outline: none !important; box-shadow: none !important; }

/* Variation selector (chip-style) */
.jf-pdp table.variations,
.jf-pdp table.variations.jf-variations-chip {
	width: 100%;
	margin: 20px 0;
	border-collapse: collapse;
	background: transparent;
	border: 0;
}
.jf-pdp table.variations tr { background: transparent; }
.jf-pdp table.variations td {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}
.jf-pdp table.variations th { display: none; }

.jf-pdp .reset_variations { display: none !important; }

.jf-variant-row {
	margin-bottom: 20px;
}
.jf-variant-title {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}
.jf-variant-label {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1rem;
	color: var(--wp--preset--color--ink);
	letter-spacing: -.005em;
}
.jf-variant-label::after { content: ":"; margin-left: 1px; color: var(--wp--preset--color--muted); }
.jf-variant-selected {
	color: var(--wp--preset--color--brand-dark);
	font-weight: 600;
	font-size: .92rem;
}
.jf-variant-selected:not(:empty)::before {
	content: "";
	display: inline-block;
	width: 4px; height: 4px;
	background: var(--wp--preset--color--muted);
	border-radius: 50%;
	margin: 0 8px 2px 0;
	vertical-align: middle;
}

.jf-variant-chips {
	display: flex !important;
	flex-wrap: wrap;
	gap: 10px;
	align-items: flex-start;
}
.jf-variant-chip,
button.jf-variant-chip,
.jf-pdp button.jf-variant-chip {
	all: unset;
	display: inline-flex !important;
	flex-direction: column !important;
	flex: 0 0 auto !important;
	align-items: flex-start !important;
	align-self: flex-start;
	gap: 4px;
	padding: 12px 18px !important;
	border-radius: 14px !important;
	background: #fff !important;
	color: var(--wp--preset--color--ink) !important;
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--line) !important;
	cursor: pointer;
	transition: box-shadow .15s ease, background .15s ease, transform .15s ease;
	min-width: 88px !important;
	width: auto !important;
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 1rem !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1.2 !important;
}
.jf-variant-chip:hover,
button.jf-variant-chip:hover,
.jf-pdp button.jf-variant-chip:hover {
	background: var(--wp--preset--color--brand-soft) !important;
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--brand) !important;
	transform: translateY(-1px);
	color: var(--wp--preset--color--ink) !important;
}
.jf-variant-chip:focus-visible {
	outline: 2px solid var(--wp--preset--color--brand-dark);
	outline-offset: 2px;
}
.jf-variant-chip.is-active,
button.jf-variant-chip.is-active,
.jf-pdp button.jf-variant-chip.is-active {
	background: var(--wp--preset--color--ink) !important;
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--ink), 0 4px 10px -3px rgba(31,35,48,.3) !important;
	color: #fff !important;
}
.jf-variant-chip-name {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: .98rem;
	color: inherit;
	letter-spacing: -.005em;
	display: block;
}
.jf-variant-chip-price {
	font-size: .8125rem;
	color: var(--wp--preset--color--muted);
	font-weight: 500;
	display: block;
}
.jf-variant-chip-price del {
	margin-right: 4px;
	opacity: .7;
	text-decoration: line-through;
}
.jf-variant-chip-price ins {
	background: transparent;
	color: var(--wp--preset--color--brand-dark);
	text-decoration: none;
	font-weight: 700;
}
.jf-variant-chip.is-active .jf-variant-chip-name { color: #fff; }
.jf-variant-chip.is-active .jf-variant-chip-price { color: rgba(255,255,255,.78); }
.jf-variant-chip.is-active .jf-variant-chip-price ins { color: var(--wp--preset--color--brand); }
.jf-variant-chip.is-active .jf-variant-chip-price del { color: rgba(255,255,255,.5); }

.jf-pdp .single_variation_wrap .woocommerce-variation-price {
	margin-bottom: 12px;
}
.jf-pdp .woocommerce-variation-price .price {
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	font-family: var(--wp--preset--font-family--display);
}

.jf-pdp-trust {
	border-top: 1px solid var(--wp--preset--color--line);
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 16px 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 16px;
	margin: 24px 0;
}
.jf-pdp-trust > div {
	display: flex; gap: 10px; align-items: flex-start;
}
.jf-pdp-trust strong {
	display: block;
	font-size: .9rem;
	margin-bottom: 2px;
}
.jf-pdp-trust span {
	color: var(--wp--preset--color--muted);
	font-size: .8125rem;
	line-height: 1.45;
}
@media (max-width: 781px) {
	.jf-pdp-trust { grid-template-columns: 1fr; }
}

/* Gallery — let it fill the column (override Woo legacy + block wrapper widths) */
.jf-pdp .wp-block-woocommerce-product-image-gallery,
.jf-pdp .product .images,
.jf-pdp div.product .woocommerce-product-gallery,
.jf-pdp .woocommerce-product-gallery {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
	clear: none !important;
}
.jf-pdp .product .summary,
.jf-pdp div.product .summary {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
}
.jf-pdp .woocommerce-product-gallery .woocommerce-product-gallery__image {
	width: 100%;
}
.jf-pdp .woocommerce-product-gallery img {
	border-radius: var(--jf-r);
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: var(--wp--preset--color--surface-soft);
}
.jf-pdp .woocommerce-product-gallery__trigger {
	background: rgba(255,255,255,.92);
	border-radius: 999px;
	padding: 8px 10px;
	box-shadow: var(--jf-shadow-sm);
	border: 1px solid var(--wp--preset--color--line);
	top: 16px;
	right: 16px;
	left: auto;
}

/* Product Details tabs */
.jf-pdp .wp-block-woocommerce-product-details,
.jf-pdp .woocommerce-tabs {
	margin-top: 40px;
	clear: both;
}
.jf-pdp .woocommerce-tabs ul.tabs {
	display: flex !important;
	gap: 28px;
	list-style: none !important;
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 0 !important;
	margin: 0 0 28px !important;
	flex-wrap: wrap;
}
.jf-pdp .woocommerce-tabs ul.tabs::before,
.jf-pdp .woocommerce-tabs ul.tabs::after { display: none !important; }
.jf-pdp .woocommerce-tabs ul.tabs li {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}
.jf-pdp .woocommerce-tabs ul.tabs li::before,
.jf-pdp .woocommerce-tabs ul.tabs li::after { display: none !important; }
.jf-pdp .woocommerce-tabs ul.tabs li a {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	padding: 12px 0 !important;
	color: var(--wp--preset--color--muted) !important;
	border-bottom: 2px solid transparent !important;
	text-decoration: none !important;
	display: inline-block;
	transition: color .15s ease, border-color .15s ease;
}
.jf-pdp .woocommerce-tabs ul.tabs li a:hover {
	color: var(--wp--preset--color--ink) !important;
}
.jf-pdp .woocommerce-tabs ul.tabs li.active a {
	color: var(--wp--preset--color--ink) !important;
	border-bottom-color: var(--wp--preset--color--brand) !important;
}
/* Tab panel content */
.jf-pdp .woocommerce-Tabs-panel > h2 {
	display: none; /* the tab nav already names the section */
}
.jf-pdp .woocommerce-Tabs-panel p { line-height: 1.65; }
.jf-pdp .woocommerce-Tabs-panel p:has(strong:first-child) { color: var(--wp--preset--color--ink); }

/* Reviews panel inside tabs */
.jf-pdp #reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .jf-pdp #reviews { grid-template-columns: 1fr; } }

.jf-pdp #reviews #comments { margin: 0; }
.jf-pdp #reviews #comments h2 {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem !important;
	letter-spacing: -.015em;
	margin: 0 0 18px !important;
}
.jf-pdp #reviews .woocommerce-noreviews,
.jf-pdp #reviews p.noreviews {
	background: var(--wp--preset--color--surface-soft);
	border: 1px dashed var(--wp--preset--color--line);
	border-radius: var(--jf-r);
	padding: 18px 20px;
	color: var(--wp--preset--color--muted);
	margin: 0 0 16px;
}
.jf-pdp #reviews .commentlist {
	padding: 0;
	list-style: none;
	margin: 0 0 20px;
}
.jf-pdp #reviews .commentlist li {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--jf-r);
	padding: 18px 20px;
	margin-bottom: 12px;
	background: var(--wp--preset--color--surface);
	list-style: none;
}
.jf-pdp #reviews .star-rating { color: var(--wp--preset--color--brand); margin-bottom: 6px; }

/* Review write form — modern redesign */
.jf-pdp #review_form_wrapper {
	background: linear-gradient(180deg, #FFFFFF 0%, #FFF8EE 100%);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--jf-r);
	padding: 28px;
}
.jf-pdp #review_form_wrapper #reply-title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem !important;
	letter-spacing: -.015em;
	margin: 0 0 6px !important;
	font-weight: 700;
}
.jf-pdp #review_form_wrapper .comment-notes {
	margin: 0 0 18px !important;
	color: var(--wp--preset--color--muted);
	font-size: .875rem;
}
.jf-pdp #review_form_wrapper #commentform > p {
	margin: 0 0 14px;
}
.jf-pdp #review_form_wrapper #commentform label {
	display: block;
	margin-bottom: 6px;
	font-family: var(--wp--preset--font-family--display);
	font-size: .82rem;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
}
.jf-pdp #review_form_wrapper #commentform input[type="text"],
.jf-pdp #review_form_wrapper #commentform input[type="email"],
.jf-pdp #review_form_wrapper #commentform input[type="url"],
.jf-pdp #review_form_wrapper #commentform textarea {
	display: block !important;
	width: 100% !important;
	padding: 12px 14px !important;
	border: 1px solid var(--wp--preset--color--line) !important;
	border-radius: var(--jf-r-sm) !important;
	font-size: .95rem !important;
	font-family: var(--wp--preset--font-family--body) !important;
	background: #fff !important;
	color: var(--wp--preset--color--ink) !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.jf-pdp #review_form_wrapper #commentform input:focus,
.jf-pdp #review_form_wrapper #commentform textarea:focus {
	outline: none !important;
	border-color: var(--wp--preset--color--brand) !important;
	box-shadow: 0 0 0 3px rgba(255,153,0,.18) !important;
}
.jf-pdp #review_form_wrapper #commentform textarea { min-height: 130px; resize: vertical; }

/* Two-up author + email row */
.jf-pdp #review_form_wrapper .comment-form-author,
.jf-pdp #review_form_wrapper .comment-form-email {
	display: inline-block;
	width: calc(50% - 6px);
	vertical-align: top;
}
.jf-pdp #review_form_wrapper .comment-form-author { margin-right: 8px; }
@media (max-width: 600px) {
	.jf-pdp #review_form_wrapper .comment-form-author,
	.jf-pdp #review_form_wrapper .comment-form-email { width: 100%; margin-right: 0; }
}

/* Hide WC's stock star-rating list (we replace it with .jf-stars-input) */
.jf-pdp #review_form_wrapper .comment-form-rating p.stars,
.jf-pdp #review_form_wrapper .comment-form-rating .stars { display: none !important; }
.jf-pdp #review_form_wrapper .comment-form-rating label { margin-bottom: 8px; }

/* Star rating widget */
.jf-stars-input {
	display: flex;
	align-items: center;
	gap: 4px;
}
.jf-star {
	background: transparent;
	border: 0;
	padding: 4px;
	cursor: pointer;
	color: var(--wp--preset--color--line);
	transition: color .12s ease, transform .12s ease;
	box-shadow: none;
}
.jf-star:hover { transform: scale(1.08); box-shadow: none; }
.jf-star.is-hover,
.jf-star.is-active {
	color: var(--wp--preset--color--brand);
}
.jf-stars-hint {
	margin-left: 10px;
	font-size: .85rem;
	color: var(--wp--preset--color--muted);
	font-weight: 500;
}

/* Save info checkbox row */
.jf-pdp #review_form_wrapper .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}
.jf-pdp #review_form_wrapper .comment-form-cookies-consent input[type="checkbox"] {
	width: 16px; height: 16px;
	accent-color: var(--wp--preset--color--brand);
	margin: 0;
}
.jf-pdp #review_form_wrapper .comment-form-cookies-consent label {
	display: inline !important;
	font-weight: 500 !important;
	font-size: .875rem !important;
	font-family: var(--wp--preset--font-family--body) !important;
	color: var(--wp--preset--color--ink-soft);
	margin: 0 !important;
}

/* Submit button */
.jf-pdp #review_form_wrapper .form-submit {
	margin-top: 18px !important;
}
.jf-pdp #review_form_wrapper #submit,
.jf-pdp #review_form_wrapper .submit {
	width: auto !important;
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	background: var(--wp--preset--color--ink) !important;
	color: #fff !important;
	border: 0 !important;
	padding: 13px 28px !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	font-family: var(--wp--preset--font-family--display) !important;
	cursor: pointer;
	letter-spacing: -.005em;
	box-shadow: var(--jf-shadow-sm);
	transition: background .2s ease, transform .15s ease;
}
.jf-pdp #review_form_wrapper #submit:hover {
	background: var(--wp--preset--color--brand-dark) !important;
	transform: translateY(-1px);
}

/* Related products */
.jf-pdp .related.products,
.jf-pdp .wp-block-woocommerce-related-products {
	margin-top: 48px;
	clear: both;
}
.jf-pdp .related.products > h2,
.jf-pdp .wp-block-woocommerce-related-products > h2 {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.75rem !important;
	letter-spacing: -.015em;
	margin: 0 0 20px !important;
}
.jf-pdp .related.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.jf-pdp .related.products ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--jf-r);
	padding: 14px;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.jf-pdp .related.products ul.products li.product:hover {
	transform: translateY(-3px);
	border-color: rgba(255,153,0,.5);
	box-shadow: var(--jf-shadow);
}
.jf-pdp .related.products ul.products li.product img {
	border-radius: var(--jf-r-sm);
	margin-bottom: 12px;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.jf-pdp .related.products ul.products li.product h2,
.jf-pdp .related.products ul.products li.product .woocommerce-loop-product__title {
	font-size: 1rem !important;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	margin: 0 0 6px !important;
	color: var(--wp--preset--color--ink);
}
.jf-pdp .related.products ul.products li.product .price {
	color: var(--wp--preset--color--ink) !important;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700 !important;
	font-size: 1.05rem !important;
	display: block;
	margin-bottom: 10px;
}
.jf-pdp .related.products ul.products li.product .button {
	background: var(--wp--preset--color--ink) !important;
	color: #fff !important;
	border-radius: 999px !important;
	padding: 10px 14px !important;
	font-weight: 600 !important;
	font-size: .9rem !important;
	width: 100%;
	text-align: center;
	border: 0 !important;
	display: block;
}
.jf-pdp .related.products ul.products li.product .button:hover {
	background: var(--wp--preset--color--brand) !important;
	color: var(--wp--preset--color--ink) !important;
}
@media (max-width: 1024px) {
	.jf-pdp .related.products ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.jf-pdp .related.products ul.products { grid-template-columns: 1fr; }
}

/* ---------- Cart ---------- */
.wc-block-cart,
.wp-block-woocommerce-cart {
	--wc-blocks-line-color: var(--wp--preset--color--line);
}
.wc-block-cart .wc-block-cart-item__quantity .wc-block-quantity-selector {
	border-radius: var(--jf-r-pill) !important;
	border: 1px solid var(--wp--preset--color--line);
	overflow: hidden;
}
.wc-block-cart-items__row,
.wc-block-cart-items__header {
	border-bottom: 1px solid var(--wp--preset--color--line) !important;
}
.wc-block-cart-item__image img {
	border-radius: var(--jf-r-sm);
	width: 80px;
	height: 80px;
	object-fit: cover;
	background: var(--wp--preset--color--surface-soft);
}
.wc-block-cart-item__image {
	width: 100px !important;
	padding-right: 16px !important;
}
.wc-block-cart-item__product .wc-block-components-product-name,
.wc-block-cart-item__product a.wc-block-components-product-name {
	color: var(--wp--preset--color--ink) !important;
	text-decoration: none !important;
	font-weight: 600;
	font-family: var(--wp--preset--font-family--display);
}
.wc-block-cart-item__product a.wc-block-components-product-name:hover {
	color: var(--wp--preset--color--brand-dark) !important;
}
.wc-block-cart-items__row td {
	padding-top: 18px !important;
	padding-bottom: 18px !important;
	vertical-align: top !important;
}
.wc-block-cart-items__row .wc-block-cart-item__remove-link {
	color: var(--wp--preset--color--muted);
	font-size: .8rem;
	text-decoration: underline;
}
.wc-block-cart-items__row .wc-block-cart-item__remove-link:hover {
	color: var(--wp--preset--color--danger);
}
.wc-block-quantity-selector {
	border-radius: var(--jf-r-pill) !important;
	border: 1px solid var(--wp--preset--color--line) !important;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
}
.wc-block-quantity-selector__input {
	font-weight: 600;
	font-family: var(--wp--preset--font-family--display);
}
.wc-block-quantity-selector__button {
	background: transparent !important;
}
.wc-block-quantity-selector__button:hover {
	background: var(--wp--preset--color--brand-soft) !important;
	color: var(--wp--preset--color--brand-dark) !important;
}
.wc-block-components-totals-wrapper { border-color: var(--wp--preset--color--line) !important; }
.wc-block-components-totals-item__value,
.wc-block-formatted-money-amount { font-family: var(--wp--preset--font-family--display); font-weight: 600; }

.jf-cart-trust {
	background: var(--wp--preset--color--surface-soft);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--jf-r);
	padding: 16px 18px;
}
.jf-cart-trust strong { color: var(--wp--preset--color--ink); }
.jf-cart-trust ul {
	padding-left: 18px;
	margin: 8px 0 0;
	list-style: none;
}
.jf-cart-trust li {
	font-size: .875rem;
	color: var(--wp--preset--color--ink-soft);
	margin: 6px 0;
	line-height: 1.45;
}

/* ---------- Checkout ---------- */
.wp-block-woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-block-components-form .wc-block-components-select select {
	border-radius: var(--jf-r-sm) !important;
	border: 1px solid var(--wp--preset--color--line) !important;
}
.wp-block-woocommerce-checkout .wc-block-checkout__main {
	background: var(--wp--preset--color--surface);
}
.wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
	background: var(--wp--preset--color--surface-soft);
	border-radius: var(--jf-r);
	padding: 20px;
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
	width: 100%;
	background: var(--wp--preset--color--ink) !important;
	color: #fff !important;
	border-radius: var(--jf-r-pill) !important;
	padding: 16px !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	letter-spacing: -.005em;
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	background: var(--wp--preset--color--brand-dark) !important;
}
.wc-block-components-checkout-step__heading-content {
	font-family: var(--wp--preset--font-family--display) !important;
	font-weight: 700 !important;
}
.wc-block-components-checkout-step__title {
	font-family: var(--wp--preset--font-family--display) !important;
	letter-spacing: -.01em !important;
}

/* ---------- Testimonial cards ---------- */
.jf-testimonial {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--jf-r);
	padding: 24px;
	box-shadow: var(--jf-shadow-sm);
	height: 100%;
	display: flex;
	flex-direction: column;
}
.jf-testimonial .jf-stars {
	color: var(--wp--preset--color--brand);
	letter-spacing: .15em;
	font-size: .95rem;
}
.jf-testimonial blockquote {
	margin: 10px 0 16px;
	padding: 0;
	font-size: 1.0625rem;
	line-height: 1.55;
	border: 0;
	quotes: none;
	color: var(--wp--preset--color--ink);
	flex: 1;
}
.jf-testimonial cite {
	font-style: normal;
	color: var(--wp--preset--color--muted);
	font-size: .85rem;
	font-weight: 500;
}

/* ---------- Newsletter ---------- */
.jf-newsletter {
	border-radius: var(--jf-r-lg);
	background: linear-gradient(135deg, #FF9900 0%, #FFB347 100%);
	color: var(--wp--preset--color--ink);
	padding: 40px;
}
.jf-newsletter h3 {
	margin: 12px 0 8px;
	letter-spacing: -.02em;
}
.jf-newsletter input[type=email] {
	border-radius: var(--jf-r-pill);
	padding: 14px 18px;
	border: 0;
	min-width: 280px;
	font-size: 1rem;
	box-shadow: 0 1px 2px rgba(0,0,0,.08) inset;
}
@media (max-width: 781px) {
	.jf-newsletter { padding: 24px; }
	.jf-newsletter input[type=email] { min-width: 100%; }
}

/* ---------- Footer ---------- */
.jf-footer-wrap {
	background: var(--wp--preset--color--ink);
	color: #E8E8EB;
}
.jf-footer-wrap a { color: #E8E8EB; text-decoration: none; transition: color .2s ease; }
.jf-footer-wrap a:hover { color: var(--wp--preset--color--brand); }
.jf-footer-wrap h4,
.jf-footer-wrap h3 { color: #fff; }
.jf-footer-wrap ul { list-style: none; padding: 0; margin: 0; }
.jf-footer-wrap ul li { margin-bottom: 8px; }
.jf-footer-wrap .jf-footer-bottom {
	border-top: 1px solid rgba(255,255,255,.08);
	font-size: .8125rem;
	color: rgba(255,255,255,.6);
	padding-top: 20px;
}
.jf-footer-wrap .jf-footer-bottom a { color: rgba(255,255,255,.7); }

.jf-store-card {
	border: 1px solid rgba(255,255,255,.08);
	border-radius: var(--jf-r);
	padding: 18px;
	background: rgba(255,255,255,.02);
}
.jf-store-card .jf-store-tag {
	display: inline-block;
	font-size: .68rem;
	letter-spacing: .12em;
	background: var(--wp--preset--color--brand);
	color: var(--wp--preset--color--ink);
	padding: 3px 10px;
	border-radius: var(--jf-r-pill);
	font-weight: 700;
	margin-bottom: 10px;
	text-transform: uppercase;
}

/* ---------- Helpers ---------- */
.jf-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.jf-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jf-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) {
	.jf-grid-2 { grid-template-columns: 1fr; }
	.jf-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.jf-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.jf-grid-3 { grid-template-columns: 1fr; }
	.jf-grid-4 { grid-template-columns: 1fr; }
}

/* Sticky on PDP mobile */
@media (max-width: 781px) {
	.jf-pdp .wp-block-add-to-cart-form,
	.jf-pdp form.cart {
		position: sticky;
		bottom: 0; left: 0; right: 0;
		background: rgba(255,255,255,.96);
		backdrop-filter: blur(8px);
		padding: 12px 16px;
		margin: 0 -16px;
		border-top: 1px solid var(--wp--preset--color--line);
		z-index: 40;
	}
}

/* WooCommerce breadcrumbs block */
.wc-block-breadcrumbs,
.woocommerce-breadcrumb,
.wp-block-woocommerce-breadcrumbs {
	font-size: .8125rem !important;
	color: var(--wp--preset--color--muted) !important;
	margin-bottom: 16px !important;
	display: flex;
	gap: 6px;
	align-items: center;
	flex-wrap: wrap;
}
.wc-block-breadcrumbs a,
.woocommerce-breadcrumb a,
.wp-block-woocommerce-breadcrumbs a {
	color: var(--wp--preset--color--muted) !important;
	text-decoration: none !important;
}
.wc-block-breadcrumbs a:hover,
.woocommerce-breadcrumb a:hover,
.wp-block-woocommerce-breadcrumbs a:hover {
	color: var(--wp--preset--color--brand-dark) !important;
}
.wc-block-breadcrumbs__separator,
.woocommerce-breadcrumb .separator {
	color: var(--wp--preset--color--line);
}

/* Breadcrumb */
.jf-breadcrumb {
	display: flex; gap: 6px; align-items: center;
	color: var(--wp--preset--color--muted);
	font-size: .8125rem;
	margin-bottom: 12px;
}
.jf-breadcrumb a {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}
.jf-breadcrumb a:hover { color: var(--wp--preset--color--ink); }
.jf-breadcrumb .jf-bc-sep { color: var(--wp--preset--color--line); }
.jf-breadcrumb .jf-bc-current {
	color: var(--wp--preset--color--ink);
	font-weight: 500;
}

/* Section headers */
.jf-section-head {
	display: flex; gap: 16px;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	margin-bottom: 16px;
}
.jf-section-head h2 {
	margin: 4px 0 0 !important;
	letter-spacing: -.02em !important;
}
.jf-section-head .jf-section-link {
	font-weight: 600;
	text-decoration: none;
	color: var(--wp--preset--color--ink);
	border-bottom: 2px solid var(--wp--preset--color--brand);
	padding-bottom: 2px;
	font-size: .92rem;
	white-space: nowrap;
}
.jf-section-head .jf-section-link:hover { color: var(--wp--preset--color--brand-dark); }

/* Cuisine showcase */
.jf-cuisines {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 24px;
}
@media (max-width: 1024px) { .jf-cuisines { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .jf-cuisines { grid-template-columns: 1fr; } }

.jf-cuisine-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--jf-r);
	padding: 20px;
	text-decoration: none;
	color: inherit;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.jf-cuisine-card:hover {
	transform: translateY(-3px);
	border-color: var(--wp--preset--color--brand);
	box-shadow: var(--jf-shadow);
}
.jf-cuisine-card .jf-cuisine-flag {
	display: inline-block;
	font-size: 1.75rem;
	margin-bottom: 10px;
}
.jf-cuisine-card h4 {
	margin: 0 0 6px;
	font-size: 1.0625rem;
}
.jf-cuisine-card p {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: .87rem;
	line-height: 1.45;
}

/* Bestseller / featured horizontal scroll on mobile */
@media (max-width: 781px) {
	.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-template {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 12px !important;
	}
}

/* Quantity controls */
.quantity {
	display: inline-flex;
	align-items: center;
}
.quantity input.qty {
	-moz-appearance: textfield;
}
.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none; margin: 0;
}

/* Skeleton shimmer */
.jf-skeleton {
	background: linear-gradient(90deg, #f3f4f6, #e5e7eb, #f3f4f6);
	background-size: 200% 100%;
	animation: jf-shimmer 1.4s linear infinite;
	border-radius: var(--jf-r-sm);
}
@keyframes jf-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* Stock indicator */
.wc-block-components-product-stock-indicator,
p.stock {
	font-size: .875rem;
	font-weight: 600;
	margin: 4px 0 12px;
}
.wc-block-components-product-stock-indicator--in-stock,
p.stock.in-stock { color: var(--wp--preset--color--success); }
.wc-block-components-product-stock-indicator--out-of-stock,
p.stock.out-of-stock { color: var(--wp--preset--color--danger); }

/* Hide some default Woo elements that clutter the layout */
.woocommerce-store-notice,
.woocommerce-message:empty,
.wc-block-components-notice-banner:empty { display: none !important; }

/* Tag pills used in dual cards & breadcrumbs */
.jf-tag-row {
	display: flex; gap: 8px; flex-wrap: wrap;
}

/* ---------- Numbered steps (B2B 3-step) ---------- */
.jf-steps {
	list-style: none !important;
	padding: 0 !important;
	margin: 24px 0 !important;
}
.jf-steps .jf-step {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 20px;
	list-style: none !important;
}
.jf-steps .jf-step::marker { content: none; }
.jf-step-num {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--wp--preset--color--ink);
	color: #fff;
	font-weight: 700;
	font-family: var(--wp--preset--font-family--display);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
}
.jf-step-num-brand {
	background: var(--wp--preset--color--brand);
	color: var(--wp--preset--color--ink);
}
.jf-step-body strong {
	display: block;
	margin-bottom: 4px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.0625rem;
}
.jf-step-body span {
	color: var(--wp--preset--color--ink-soft);
	font-size: .92rem;
	line-height: 1.55;
	display: block;
}

/* ---------- Forms (B2B + Contact) ---------- */
.jf-form {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--jf-r);
	padding: 28px;
}
.jf-form h3 {
	margin: 0 0 4px;
	font-size: 1.5rem;
	font-family: var(--wp--preset--font-family--display);
	letter-spacing: -.01em;
}
.jf-form .jf-form-sub {
	margin: 0 0 18px;
	color: var(--wp--preset--color--muted);
	font-size: .9rem;
}
.jf-form label {
	display: block;
	font-size: .82rem;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	margin-bottom: 12px;
	font-family: var(--wp--preset--font-family--display);
}
.jf-form .jf-form-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 12px;
}
.jf-form .jf-form-grid-2 label { margin-bottom: 0; }
.jf-form input[type="text"],
.jf-form input[type="email"],
.jf-form input[type="tel"],
.jf-form select,
.jf-form textarea {
	display: block;
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--jf-r-sm);
	margin-top: 6px;
	font-size: .95rem;
	font-weight: 400;
	font-family: var(--wp--preset--font-family--body);
	background: #fff;
	color: var(--wp--preset--color--ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.jf-form input:focus,
.jf-form select:focus,
.jf-form textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--brand);
	box-shadow: 0 0 0 3px rgba(255,153,0,.18);
}
.jf-form select {
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231F2330' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px;
}
.jf-form-submit {
	width: 100%;
	background: var(--wp--preset--color--ink);
	color: #fff;
	border: 0;
	padding: 14px 22px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 1rem;
	font-family: var(--wp--preset--font-family--display);
	cursor: pointer;
	transition: background .2s ease;
	margin-top: 4px;
}
.jf-form-submit:hover {
	background: var(--wp--preset--color--brand-dark);
}
.jf-form-fineprint {
	margin: 10px 0 0;
	font-size: .75rem;
	color: var(--wp--preset--color--muted);
	text-align: center;
}
.jf-form-fineprint a { color: var(--wp--preset--color--ink); }

.jf-form-trade {
	background: linear-gradient(180deg, #FFFFFF 0%, #FFF8EE 100%);
}
.jf-form textarea { min-height: 120px; resize: vertical; font-family: var(--wp--preset--font-family--body); }

/* ---------- Contact cards ---------- */
.jf-contact-card {
	background: var(--wp--preset--color--surface-soft);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--jf-r);
	padding: 20px;
	margin-bottom: 16px;
}
.jf-contact-card .jf-contact-tag {
	display: inline-block;
	font-size: .68rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--wp--preset--color--brand-dark);
}
.jf-contact-orange .jf-contact-tag { color: var(--wp--preset--color--brand-dark); }
.jf-contact-green  .jf-contact-tag { color: var(--wp--preset--color--halal); }
.jf-contact-dark   .jf-contact-tag { color: var(--wp--preset--color--brand); }
.jf-contact-card h4 {
	margin: 0 0 6px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.125rem;
	letter-spacing: -.005em;
}
.jf-contact-card p {
	margin: 0 0 10px;
	color: var(--wp--preset--color--ink-soft);
	font-size: .9rem;
	line-height: 1.5;
}
.jf-contact-tel {
	display: block;
	color: var(--wp--preset--color--ink);
	font-weight: 700;
	font-size: 1.05rem;
	text-decoration: none;
	margin-bottom: 4px;
}
.jf-contact-tel:hover { color: var(--wp--preset--color--brand-dark); }
.jf-contact-mail {
	display: inline-block;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	font-size: .9rem;
}
.jf-contact-mail:hover { text-decoration: underline; }
.jf-contact-dark {
	background: var(--wp--preset--color--ink);
	border-color: transparent;
}
.jf-contact-dark p { color: rgba(255,255,255,.78); }
.jf-contact-dark .jf-contact-mail-brand {
	color: var(--wp--preset--color--brand);
	font-weight: 600;
	margin-top: 4px;
}
