/* Shared pieces used by more than one block. Block-specific styles live in blocks/<name>/style.css. */

:root {
	--sv-gradient: linear-gradient(164.78deg, #ec8f16 0%, #f6215a 50%, #90135f 100%);
	--sv-gutter: 24px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

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

/* Pill button with the brand gradient. */
.sv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 32px;
	border-radius: 40px;
	background: var(--sv-gradient);
	color: var(--wp--preset--color--white);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.1px;
	text-align: center;
	text-decoration: none;
	filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.04));
	transition: opacity 0.15s;
}

.sv-btn:hover {
	opacity: 0.9;
}

.sv-btn--sm {
	padding: 8px 16px;
	font-size: 14px;
	line-height: 24px;
}

/* Small uppercase label above a heading (Desktop/Section token). */
.sv-eyebrow {
	margin: 0;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.sv-h2 {
	margin: 0;
	font-size: var(--wp--preset--font-size--h2);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -2px;
}

.sv-h3 {
	margin: 0;
	font-size: var(--wp--preset--font-size--h3);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -2px;
}

.sv-container {
	max-width: var(--wp--style--global--content-size);
	margin: 0 auto;
	padding: 0 var(--sv-gutter);
}

.sv-gradient-text {
	background: var(--sv-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 700;
}

/* Small rounded label, e.g. NOVO. */
.sv-pill {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 500px;
	background: var(--sv-gradient);
	color: var(--wp--preset--color--white);
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.96px;
	text-transform: uppercase;
}

/* Full-width rectangular button (hero, CTAs). */
.sv-btn-box {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px 24px;
	border: 2px solid transparent;
	border-radius: 12px;
	color: var(--wp--preset--color--white);
	font-size: 15px;
	font-weight: 700;
	line-height: 22.5px;
	text-align: center;
	text-decoration: none;
	transition: opacity 0.15s;
}

.sv-btn-box:hover {
	opacity: 0.9;
}

.sv-btn-box--green {
	background: var(--wp--preset--color--green);
}

.sv-btn-box--outline {
	border-color: var(--wp--preset--color--white);
}

/* Avatars + stars + rating text. */
.sv-rating {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sv-rating__avatars {
	display: flex;
}

.sv-rating__avatars img {
	width: 28px;
	height: 28px;
	border: 2px solid var(--wp--preset--color--white);
	border-radius: 14px;
	background: #cfcfd8;
	object-fit: cover;
}

.sv-rating__avatars img + img {
	margin-left: -8px;
}

.sv-rating p {
	margin: 0;
	color: var(--wp--preset--color--gray-2);
	font-size: 13px;
	line-height: 19.5px;
}

.sv-rating__stars {
	color: #e8a317;
	letter-spacing: 2px;
}

.sv-rating--dark strong {
	color: var(--wp--preset--color--white);
}

.sv-rating--light strong {
	color: var(--wp--preset--color--black);
}

@media (max-width: 900px) {
	.sv-rating__stars {
		display: block;
	}
}

/* Long legal text pages (Splošni pogoji poslovanja). */
.sv-legal {
	max-width: 820px;
	margin: 0 auto;
	padding: 48px 24px 80px;
	font-size: 16px;
	line-height: 1.6;
}

.sv-legal h1 {
	margin: 0 0 32px;
	font-size: 32px;
	line-height: 1.2;
}

.sv-legal h2 {
	margin: 40px 0 12px;
	font-size: 22px;
	line-height: 1.3;
}

.sv-legal h3 {
	margin: 28px 0 8px;
	font-size: 18px;
}

.sv-legal p,
.sv-legal ul,
.sv-legal ol {
	margin: 0 0 14px;
}

.sv-legal li + li {
	margin-top: 6px;
}

.sv-legal a {
	color: inherit;
	text-decoration: underline;
	overflow-wrap: anywhere;
}

@media (max-width: 900px) {
	.sv-legal h1 {
		font-size: 24px;
	}
}
