/*
 * Bybsa design tokens: the ONE place colours, type sizes, radii and button heights are defined.
 * Every other toolkit stylesheet should use these variables, not raw values.
 * Loaded first on every front-end page (inc/ui.php).
 *
 * Base element styles below replace the old Elementor "site kit" (post-16829.css), which was a second,
 * hidden source of fonts, heading sizes and a different button blue.
 */
:root {
	/* Brand */
	--b-blue: #0077ff;
	--b-blue-dark: #005fd1;
	--b-blue-50: #eef5ff;
	--b-blue-100: #dbeafe;
	--b-blue-200: #bfd7f7;
	--b-navy: #0f1f3d;
	--b-whatsapp: #25d366;
	--b-whatsapp-dark: #1faa55;

	/* One grey scale (slate) */
	--b-ink: #0f172a;
	--b-grey-800: #1e293b;
	--b-grey-700: #334155;
	--b-grey-600: #475569;
	--b-grey-500: #64748b;
	--b-grey-400: #94a3b8;
	--b-grey-300: #cbd5e1;
	--b-grey-200: #e2e8f0;
	--b-grey-100: #f1f5f9;
	--b-grey-50: #f8fafc;
	--b-bg: #f4f6f9;       /* page background */
	--b-white: #fff;

	/* Status */
	--b-red: #b91c1c;
	--b-red-50: #fee2e2;
	--b-green: #15803d;
	--b-green-50: #f0fdf4;

	/* Type: 6 text sizes + 5 heading sizes, nothing else */
	--b-font-head: "Plus Jakarta Sans", sans-serif;
	--b-font-body: "Noto Sans", sans-serif;
	--b-fs-xs: 12px;   /* badges, fine print */
	--b-fs-sm: 13px;   /* meta lines, chips */
	--b-fs-md: 14px;   /* card text, buttons */
	--b-fs-ml: 15px;   /* card titles, nav */
	--b-fs-base: 16px; /* body */
	--b-fs-lg: 18px;   /* lead text, small headings */
	--b-fs-xl: 20px;
	--b-fs-h4: 22px;
	--b-fs-h3: 26px;   /* section titles on phones */
	--b-fs-h2: 30px;   /* section titles */
	--b-fs-h1: 38px;   /* page / hero titles */
	--b-lh: 1.6;

	/* Shape */
	--b-r-sm: 4px;   /* badges */
	--b-r: 6px;      /* buttons, inputs, chips, thumbs */
	--b-r-md: 8px;   /* cards, panels */
	--b-r-lg: 12px;  /* big media */
	--b-btn-h: 46px; /* main buttons */
	--b-btn-h-sm: 38px; /* buttons inside cards */
	--b-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}

/* ---- Base (was the Elementor kit). Same strength as the kit (one class), via body class "bybsa-site" (inc/ui.php). ---- */
.bybsa-site {
	font-family: var(--b-font-body);
	font-size: var(--b-fs-base);
	font-weight: 400;
	line-height: 1.6em;
}
.bybsa-site h1, .bybsa-site h2, .bybsa-site h3, .bybsa-site h4, .bybsa-site h5, .bybsa-site h6 {
	font-family: var(--b-font-head);
	font-weight: 700;
	text-transform: none;
}
.bybsa-site h1 { font-size: 44.8px; }
.bybsa-site h2 { font-size: 37.2px; letter-spacing: -0.3px; }
.bybsa-site h3 { font-size: 31.1px; }
.bybsa-site h4 { font-size: 25.9px; }
.bybsa-site h5 { font-size: 21.6px; }
.bybsa-site h6 { font-size: 18px; }
.bybsa-site img, .bybsa-site img:hover { border-style: none; }
.bybsa-site button, .bybsa-site input[type="button"], .bybsa-site input[type="submit"] {
	background-color: var(--b-blue);
	color: var(--b-white);
	border-style: solid;
	border-radius: var(--b-r);
}
.bybsa-site button:hover, .bybsa-site button:focus, .bybsa-site input[type="button"]:hover, .bybsa-site input[type="button"]:focus,
.bybsa-site input[type="submit"]:hover, .bybsa-site input[type="submit"]:focus {
	background-color: var(--b-blue-dark);
	color: var(--b-white);
}

@media (max-width: 768px) {
	.bybsa-site { font-size: 13px; line-height: 1.6em; }
	.bybsa-site p { margin-block-end: 15px; }
	.bybsa-site h1 { font-size: 32px; line-height: 1.2em; }
	.bybsa-site h2 { font-size: 26px; line-height: 1.2em; }
	.bybsa-site h3 { font-size: 24px; line-height: 1.2em; }
	.bybsa-site h4 { font-size: 19px; line-height: 1.3em; }
	.bybsa-site h5 { font-size: 17px; line-height: 1.4em; }
	.bybsa-site h6 { font-size: 15px; line-height: 1.5em; }
}

/* ---- WoodMart theme reads its colours/radii from these variables: point them at the tokens ---- */
.bybsa-site {
	--wd-text-color: var(--b-grey-600);
	--wd-title-color: var(--b-ink);
	--wd-entities-title-color: var(--b-ink);
	--wd-link-color: var(--b-grey-700);
	--wd-link-color-hover: var(--b-blue);
	--color-gray-900: var(--b-ink);
	--wd-primary-color: var(--b-blue);
	--wd-form-brd-radius: var(--b-r);
	--wd-brd-radius: var(--b-r-md);
}
.bybsa-site .woocommerce-Price-amount { color: var(--b-ink); }

/* Lists: no extra space under lists (moved from the theme's Custom CSS box) */
:is(ul, ol) {
	margin-bottom: var(--list-mb);
	--list-mb: 0px !important;
	--li-mb: 0px !important;
}
