/*
Theme Name: OnlineSzkolenie
Theme URI: https://onlineszkolenie.pl
Description: Child theme of Eduma (ThimPress) for the OnlineSzkolenie BHP/PPOZ/HACCP training shop. Do not edit eduma.5.9.3.zip directly - customize here instead, so parent theme updates from ThimPress never get overwritten.
Author: Online Szkolenia
Author URI: https://pwkabo.pl
Template: eduma
Version: 1.0.0
Text Domain: online-szkolenie-child
*/

/* Brand tokens - see ../BRAND.md for where these real, confirmed values came from, and
   ../Design/ThemeContent/ux-1-visual-identity.md for the full reasoning behind every rule below. */
:root {
	--osz-color-blue: #186db6;
	--osz-color-orange: #dc6226;
	--osz-color-accent: #e95144;

	/* Eduma's own native CSS variables (--thim-*) - real, confirmed override points found by
	   grepping the parent theme's style.css, not guessed selectors. */
	--thim-body-primary-color: var(--osz-color-blue);
	--thim-button-hover-color: var(--osz-color-orange);
	--thim-main-menu-text-hover-color: var(--osz-color-orange);
	--thim-sticky-main-menu-text-hover-color: var(--osz-color-orange);
	--thim-mobile-menu-text-hover-color: var(--osz-color-orange);
	--thim-sub-menu-text-color-hover: var(--osz-color-accent); /* mega-menu only, per BRAND.md */
	--thim-footer-color-hover: var(--osz-color-orange);
	--thim-course-price-color: var(--osz-color-orange);
	--thim-link-detail-color-hover: var(--osz-color-orange);

	--thim-font-body-font-family: 'Roboto', -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--thim-font-title-font-family: 'Roboto Condensed', -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	/* Moderate rounding (not full "pill" shape) - reads as a B2B compliance vendor, not a
	   consumer marketplace. */
	--thim-border-radius-item: 4px;
}

/* Precise selector overrides, for cases where Eduma hardcodes a color instead of using the
   variable above. */
.woocommerce .price,
.woocommerce ul.products li.product .price {
	color: var(--osz-color-orange) !important;
}

.woocommerce ul.products li.product h2:hover,
.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
	color: var(--osz-color-orange);
}

.thim-button,
.woocommerce a.button,
.woocommerce button.button {
	border-radius: 4px;
}

/* Wider spacing - this is a 5-12 item catalog, not a hundreds-of-courses marketplace grid;
   Eduma's default dense spacing looks empty/accidental at this scale. */
.woocommerce ul.products {
	gap: 32px;
}
.woocommerce ul.products li.product {
	padding: 16px;
}

/* Static registry/legal-facts trust bar (header or footer) - deliberately neutral gray, not a
   brand color, so it reads as a verified fact rather than a promotional element. Content itself
   is added via functions.php/a template, this is styling only. */
.osz-trust-bar {
	background: #f5f5f5;
	color: #555;
	font-size: 13px;
	padding: 8px 0;
	border-bottom: 1px solid #e0e0e0;
}
