/* Shared structure for the /for/ bulk-buyer pages. Each page sets the tokens
   on .fl (palette, faces, radius) in its own stylesheet; nothing here picks a
   colour or a typeface. */

.fl {
	--fl-bg: #fff; --fl-ink: #18120c; --fl-muted: #5c5c5c; --fl-surface: #fff;
	--fl-line: rgba(0,0,0,.12); --fl-accent: #00cacb; --fl-accent-ink: #00302f;
	--fl-display: serif; --fl-body: system-ui, sans-serif; --fl-radius: 10px;
	background: var(--fl-bg); color: var(--fl-ink); font-family: var(--fl-body);
	overflow-x: clip;
}
.fl ::selection { background: var(--fl-accent); color: var(--fl-accent-ink); }
.fl :focus-visible { outline: 3px solid var(--fl-accent); outline-offset: 3px; border-radius: 4px; }
.fl a { color: inherit; text-underline-offset: .2em; }
.fl .num, .fl output, .fl [data-num] { font-variant-numeric: tabular-nums; }

.fl-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.fl-section { padding: clamp(48px, 7vw, 96px) 0; }
.fl-h1 { font-family: var(--fl-display); text-wrap: balance; margin: 0; line-height: 1.02; }
.fl-h2 { font-family: var(--fl-display); font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.8rem); line-height: 1.08; text-wrap: balance; margin: 0 0 .5rem; letter-spacing: -.01em; }
.fl-h3 { font-family: var(--fl-display); font-size: 1.35rem; margin: 0 0 .75rem; }
.fl-lead { max-width: 62ch; color: var(--fl-muted); font-size: 1.08rem; line-height: 1.6; margin: 0 0 2rem; }
.fl-empty { color: var(--fl-muted); }

.fl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: .65em 1.25em; border: 0; cursor: pointer;
	font: 700 1rem/1 var(--fl-body); border-radius: var(--fl-radius);
	background: var(--fl-accent); color: var(--fl-accent-ink); text-decoration: none;
	transition: transform .18s cubic-bezier(.16,1,.3,1), filter .18s;
}
.fl a.fl-btn, .fl a.fl-btn:visited { color: var(--fl-accent-ink); text-decoration: none; }
.fl-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.fl-btn:active { transform: translateY(1px); }
.fl-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.fl-btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }

/* product grid */
.fl-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.fl-card { background: var(--fl-surface); border: 1px solid var(--fl-line); border-radius: var(--fl-radius); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.fl-card-link { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.fl-card-img { display: block; aspect-ratio: 1; background: #fff; border-radius: calc(var(--fl-radius) - 4px); overflow: hidden; }
.fl-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fl-card-name { font-weight: 600; font-size: .95rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fl-card-link:hover .fl-card-name { text-decoration: underline; }
.fl-card-price { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.fl-price { font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.fl-unit { font-size: .85rem; color: var(--fl-muted); font-variant-numeric: tabular-nums; }
.fl-stock { font-size: .8rem; font-weight: 700; color: #b42318; }
.fl-add .fl-btn { width: 100%; }

/* close band */
.fl-close { border-top: 1px solid var(--fl-line); }
.fl-close-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.fl-facts { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 70ch; line-height: 1.55; }
.fl-facts li { padding-left: 1.4em; position: relative; }
.fl-facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55em; height: .55em; border-radius: 50%; background: var(--fl-accent); }
.fl-fact-strong { font-size: 1.08rem; }
.fl-others ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fl-others a { font-weight: 600; }
@media (max-width: 760px) { .fl-close-grid { grid-template-columns: 1fr; } }

/* small screen-reader helper */
.fl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
	.fl *, .fl *::before, .fl *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
