/*!
 * Vendor category box — pre-archive header card (mosaic style).
 * Reference: handover/components/components-vendor-category-box.html
 *
 * Resolves --bf-* tokens from baly-food-tokens.css (loaded as a dep).
 */

.baly-catbox{
	position:relative;
	overflow:hidden;
	background:var(--bf-white);
	border:1px solid var(--bf-grey-100);
	border-radius:24px;
	box-shadow:0 1px 0 rgba(0,0,0,.04), 0 8px 24px -12px rgba(0,0,0,.10), 0 32px 60px -24px rgba(0,30,80,.18);
	margin:0 0 1rem;
	font-family:var(--bf-font);
	color:var(--bf-fg);
	direction:rtl;
	text-align:right;
}

/* Faded paisley food motif — same language as the /food mosaic */
.baly-catbox .catbox-motif{
	position:absolute; inset:0;
	width:100%; height:100%;
	opacity:.04; pointer-events:none; z-index:0;
}
.baly-catbox .catbox-motif g{ stroke:var(--bf-brand); }

/* Soft brand glow, bottom-inline-start corner */
.baly-catbox .catbox-glow{
	position:absolute; inset:auto auto -120px -90px;
	width:320px; height:320px; border-radius:999px;
	background:radial-gradient(circle, rgba(0,67,255,.16), transparent 65%);
	filter:blur(34px); pointer-events:none; z-index:0;
}

.baly-catbox .bx{
	position:relative; z-index:2;
	padding:28px 36px;
	display:flex;
	flex-direction:column;
	gap:18px;
}

.baly-catbox .head{
	display:flex;
	flex-direction:column;
	gap:11px;
}

/* Headline — heavy black with a brand-blue accent word */
.baly-catbox .title{
	margin:0;
	font-family:var(--bf-font);
	font-weight:900;
	font-synthesis:none;
	font-size:27px;
	line-height:1.12;
	letter-spacing:-.02em;
	color:var(--bf-black);
}
.baly-catbox .title .accent{ color:var(--bf-brand); }

/* Body copy */
.baly-catbox .desc{
	margin:0;
	color:var(--bf-grey-700);
	line-height:1.7;
	font-size:15px;
	font-weight:500;
	max-width:780px;
}

/* Value pills — mosaic icon-chip pattern, single line */
.baly-catbox .vals{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	margin-top:2px;
}
.baly-catbox .chip{
	display:inline-flex;
	align-items:center;
	gap:8px;
	padding-block:5px;
	padding-inline-start:6px;
	padding-inline-end:14px;
	border-radius:var(--bf-radius-pill);
	background:var(--bf-grey-100);
	border:1px solid transparent;
	white-space:nowrap;
	color:var(--bf-black);
	font-size:12.5px;
	font-weight:800;
	letter-spacing:-.005em;
}
.baly-catbox .chip .ic{
	width:26px; height:26px;
	border-radius:8px;
	flex:0 0 auto;
	background:var(--bf-white);
	color:var(--bf-brand);
	display:grid;
	place-items:center;
	border:1px solid var(--bf-grey-200);
}
.baly-catbox .chip .ic svg{ width:15px; height:15px; display:block; stroke:currentColor; }
.baly-catbox .chip .ttl{ line-height:1.1; }

/* Tablet — same shape, smaller paddings */
@media (max-width:1024px){
	.baly-catbox{ border-radius:22px; }
	.baly-catbox .bx{ padding:24px 28px; }
	.baly-catbox .title{ font-size:23px; }
	.baly-catbox .desc{ font-size:14px; }
}

/* Mobile — pills keep full size, row scrolls horizontally instead of wrapping */
@media (max-width:520px){
	.baly-catbox{ border-radius:20px; margin:0 0 .5rem; }
	.baly-catbox .bx{ padding:20px; gap:14px; }
	.baly-catbox .title{ font-size:21px; }
	.baly-catbox .desc{ font-size:13px; line-height:1.65; }
	.baly-catbox .vals{
		flex-wrap:nowrap;
		overflow-x:auto;
		overflow-y:hidden;
		gap:8px;
		margin-inline:-20px;
		padding-inline:20px;
		scrollbar-width:none;
		-webkit-overflow-scrolling:touch;
	}
	.baly-catbox .vals::-webkit-scrollbar{ display:none; }
	.baly-catbox .chip{ flex:0 0 auto; }
}
