/*
 * SuuqaTurkiga Premium — design layer.
 *
 * Loaded after the parent's compiled Tailwind build. Section 2 remaps the
 * parent's brand utilities to the premium palette so parent templates that
 * are not overridden (RFQ page, factory/machine detail, WooCommerce) match.
 *
 * Contrast: orange (#F58232) is used as a fill with deep-navy text, and as
 * text only on navy backgrounds, where it passes WCAG AA.
 */

/* 1. Tokens and base ------------------------------------------------------ */
:root {
	--sp-navy: #171c46;
	--sp-navy-deep: #101431;
	--sp-navy-soft: #262c63;
	--sp-orange: #f58232;
	--sp-orange-dark: #e06c1b;
	--sp-orange-tint: #fff1e6;
	--sp-orange-text: #b4530f;
	--sp-lavender: #f4f3fb;
	--sp-lavender-line: #e4e2f3;
	--sp-white: #ffffff;
	--sp-ink: #171c46;
	--sp-body: #3d4263;
	--sp-muted: #5f6482;
	--sp-line: rgba(23, 28, 70, 0.1);
	--sp-radius: 16px;
	--sp-radius-sm: 10px;
	--sp-shadow: 0 1px 2px rgba(16, 20, 49, 0.06), 0 12px 32px -16px rgba(16, 20, 49, 0.22);
	--sp-shadow-lg: 0 2px 4px rgba(16, 20, 49, 0.06), 0 30px 60px -24px rgba(16, 20, 49, 0.35);
	--sp-font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--sp-gutter: 16px;
}

body.sp-theme {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	background: var(--sp-white);
	color: var(--sp-body);
	font-family: var(--sp-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.sp-theme [hidden] { display: none !important; }
:where(.sp-theme) img { max-width: 100%; height: auto; }
:where(.sp-theme) :is(h1, h2, h3) { color: var(--sp-ink); letter-spacing: -0.015em; }
:where(.sp-theme) a { color: inherit; }
.sp-theme .text-white :is(h1, h2, h3) { color: inherit; }
.sp-main { flex: 1 0 auto; width: 100%; overflow-x: clip; }
.sp-muted { color: var(--sp-muted); }

.sp-theme :focus-visible {
	outline: 3px solid var(--sp-orange);
	outline-offset: 2px;
	border-radius: 6px;
}

/* 2. Parent palette remap -------------------------------------------------- */
.sp-theme .bg-brand-purple, .sp-theme .hover\:bg-brand-purple:hover, .sp-theme .group:hover .group-hover\:bg-brand-purple { background-color: var(--sp-navy); }
.sp-theme .bg-brand-purple-dark, .sp-theme .hover\:bg-brand-purple-dark:hover { background-color: var(--sp-navy-deep); }
.sp-theme .bg-brand-purple\/25 { background-color: rgba(23, 28, 70, 0.25); }
.sp-theme .bg-brand-purple\/45 { background-color: rgba(23, 28, 70, 0.5); }
.sp-theme .text-brand-purple, .sp-theme .hover\:text-brand-purple:hover, .sp-theme .group:hover .group-hover\:text-brand-purple { color: var(--sp-navy); }
.sp-theme .border-brand-purple, .sp-theme .focus\:border-brand-purple:focus, .sp-theme .focus-within\:border-brand-purple:focus-within { border-color: var(--sp-navy); }
.sp-theme .bg-brand-orange { background-color: var(--sp-orange); }
.sp-theme .hover\:bg-brand-orange-dark:hover { background-color: var(--sp-orange-dark); }
.sp-theme .bg-brand-orange\/60, .sp-theme .bg-brand-orange\/70 { background-color: rgba(245, 130, 50, 0.65); }
.sp-theme .text-brand-orange { color: var(--sp-orange-text); }
.sp-theme .border-brand-orange { border-color: var(--sp-orange); }
.sp-theme .bg-brand-tint, .sp-theme .hover\:bg-brand-tint:hover { background-color: var(--sp-lavender); }
.sp-theme .text-brand-ink { color: var(--sp-ink); }
.sp-theme .text-brand-muted { color: var(--sp-muted); }
.sp-theme .focus\:ring-brand-purple\/30:focus, .sp-theme .focus-within\:ring-brand-purple\/20:focus-within { --tw-ring-color: rgba(23, 28, 70, 0.2); }

.sp-theme .st-btn-primary { background-color: var(--sp-navy); border-radius: 12px; }
.sp-theme .st-btn-primary:hover { background-color: var(--sp-navy-deep); }
.sp-theme .st-btn-accent, .sp-theme .st-btn-pill { background-color: var(--sp-orange); color: var(--sp-navy-deep); border-radius: 12px; }
.sp-theme .st-btn-accent:hover, .sp-theme .st-btn-pill:hover { background-color: var(--sp-orange-dark); color: var(--sp-navy-deep); }
.sp-theme .st-eyebrow { background-color: var(--sp-lavender); color: var(--sp-navy); }
.sp-theme .st-card { border-color: var(--sp-line); box-shadow: var(--sp-shadow); }
.sp-theme .st-input, .sp-theme .st-textarea { border-color: rgba(23, 28, 70, 0.18); border-radius: 12px; }
.sp-theme .st-input:focus, .sp-theme .st-textarea:focus { border-color: var(--sp-navy); box-shadow: 0 0 0 3px rgba(23, 28, 70, 0.12); outline: none; }
.sp-theme .st-container { max-width: 1240px; }

/* 3. Layout ---------------------------------------------------------------- */
.sp-container {
	width: 100%;
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--sp-gutter);
	padding-right: var(--sp-gutter);
	box-sizing: border-box;
}

.sp-section { padding: 72px 0; }
.sp-section--tight { padding: 48px 0 72px; }
.sp-section--tint { background: var(--sp-lavender); }
.sp-section--navy { background: var(--sp-navy); color: rgba(255, 255, 255, 0.82); }

.sp-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	margin-bottom: 36px;
}
.sp-section__head .sp-heading { margin-bottom: 0; }

.sp-heading { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sp-heading--left { margin-left: 0; text-align: left; }
.sp-heading__title {
	margin: 12px 0 0;
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 700;
	line-height: 1.18;
}
.sp-heading__desc { margin: 14px 0 0; font-size: 17px; line-height: 1.65; color: var(--sp-muted); }
.sp-section--navy .sp-heading__title { color: var(--sp-white); }
.sp-section--navy .sp-heading__desc { color: rgba(255, 255, 255, 0.75); }

.sp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sp-navy);
}
.sp-eyebrow::before {
	content: "";
	width: 22px;
	height: 3px;
	border-radius: 3px;
	background: var(--sp-orange);
}
.sp-eyebrow--light, .sp-section--navy .sp-eyebrow { color: var(--sp-orange); }

.sp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 24px;
}

/* 4. Buttons --------------------------------------------------------------- */
.sp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border: 2px solid transparent;
	border-radius: 12px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
	box-sizing: border-box;
}
.sp-btn:hover { transform: translateY(-1px); }
.sp-btn--lg { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.sp-btn--block { width: 100%; }
.sp-btn--accent { background: var(--sp-orange); color: var(--sp-navy-deep); box-shadow: 0 10px 24px -12px rgba(245, 130, 50, 0.8); }
.sp-btn--accent:hover { background: var(--sp-orange-dark); color: var(--sp-navy-deep); }
.sp-btn--primary { background: var(--sp-navy); color: var(--sp-white); }
.sp-btn--primary:hover { background: var(--sp-navy-deep); color: var(--sp-white); }
.sp-btn--outline { border-color: var(--sp-navy); color: var(--sp-navy); background: transparent; }
.sp-btn--outline:hover { background: var(--sp-navy); color: var(--sp-white); }
.sp-btn--ghost-light { border-color: rgba(255, 255, 255, 0.45); color: var(--sp-white); background: rgba(255, 255, 255, 0.06); }
.sp-btn--ghost-light:hover { border-color: var(--sp-white); background: rgba(255, 255, 255, 0.14); color: var(--sp-white); }

.sp-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--sp-navy);
	text-decoration: none;
}
.sp-link-arrow svg { color: var(--sp-orange-dark); transition: transform 0.18s ease; }
.sp-link-arrow:hover svg { transform: translateX(3px); }
.sp-link-arrow--back:hover svg { transform: translateX(-3px); }

/* 5. Topbar, header, navigation ------------------------------------------- */
.sp-topbar { background: var(--sp-navy-deep); color: rgba(255, 255, 255, 0.78); font-size: 13px; }
.sp-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.sp-topbar__text { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; }
.sp-topbar__text svg { color: var(--sp-orange); flex-shrink: 0; }
.sp-topbar__meta { display: flex; align-items: center; gap: 20px; }
.sp-topbar__meta a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.sp-topbar__meta a:hover { color: var(--sp-white); }
.sp-lang { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; text-transform: uppercase; font-weight: 600; }

.sp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--sp-line);
	backdrop-filter: saturate(160%) blur(8px);
	transition: box-shadow 0.2s ease;
}
.admin-bar .sp-header { top: 32px; }
.sp-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(16, 20, 49, 0.45); }
.sp-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.sp-header__brand { flex-shrink: 0; }
.sp-header__brand img, .sp-header__logo { display: block; width: auto; height: 46px; }
.sp-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sp-header__cta { min-height: 46px; padding: 10px 20px; }
.sp-header__quote { padding: 10px 8px; font-size: 15px; font-weight: 600; color: var(--sp-navy); text-decoration: none; white-space: nowrap; }
.sp-header__quote:hover { text-decoration: underline; text-decoration-color: var(--sp-orange); text-underline-offset: 4px; }
.sp-header__cart {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--sp-navy);
}
.sp-header__cart:hover { background: var(--sp-lavender); }
.sp-header__cart-count {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--sp-orange);
	color: var(--sp-navy-deep);
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}
.sp-header__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--sp-line);
	border-radius: 12px;
	background: var(--sp-white);
	color: var(--sp-navy);
	cursor: pointer;
}

.sp-nav { flex: 1; display: flex; justify-content: center; }
.sp-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sp-nav__list a {
	position: relative;
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 500;
	color: var(--sp-ink);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.sp-nav__list a:hover { background: var(--sp-lavender); }
.sp-theme .sp-nav__list a, .sp-theme .sp-mobile-nav__list a { color: var(--sp-ink); }
.sp-theme .sp-header .current-menu-item > a, .sp-theme .sp-header .current_page_item > a, .sp-theme .sp-header .current-menu-ancestor > a { color: var(--sp-navy); }
.sp-nav__list .current-menu-item > a,
.sp-nav__list .current_page_item > a,
.sp-nav__list .current-menu-ancestor > a {
	font-weight: 600;
}
.sp-nav__list .current-menu-item > a::after,
.sp-nav__list .current_page_item > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: var(--sp-orange);
}

.sp-mobile-nav { border-top: 1px solid var(--sp-line); background: var(--sp-white); }
.sp-mobile-nav__list { margin: 0; padding: 8px 0; list-style: none; }
.sp-mobile-nav__list a {
	display: block;
	padding: 14px 4px;
	border-bottom: 1px solid var(--sp-line);
	font-size: 16px;
	font-weight: 500;
	color: var(--sp-ink);
	text-decoration: none;
}
.sp-mobile-nav__list .current-menu-item > a { color: var(--sp-navy); font-weight: 700; }
.sp-mobile-nav__list .sub-menu { margin: 0; padding: 0 0 0 16px; list-style: none; }
.sp-mobile-nav__actions { display: grid; gap: 10px; padding: 16px 0 24px; }

/* 6. Hero ------------------------------------------------------------------ */
.sp-hero { position: relative; overflow: hidden; background: var(--sp-navy-deep); color: var(--sp-white); isolation: isolate; }
.sp-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.sp-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(100deg, rgba(16, 20, 49, 0.95) 0%, rgba(16, 20, 49, 0.82) 40%, rgba(23, 28, 70, 0.45) 70%, rgba(23, 28, 70, 0.25) 100%),
		radial-gradient(60% 80% at 0% 100%, rgba(245, 130, 50, 0.18), transparent 60%);
}
.sp-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
	align-items: center;
	gap: 56px;
	padding-top: 88px;
	padding-bottom: 96px;
}
.sp-theme .sp-hero__title {
	margin: 18px 0 0;
	font-size: clamp(34px, 4.6vw, 56px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: var(--sp-white);
}
.sp-hero__text { max-width: 600px; margin: 22px 0 0; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, 0.82); }
.sp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.sp-hero__points { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 36px 0 0; padding: 0; list-style: none; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.sp-hero__points li { display: flex; align-items: center; gap: 8px; }
.sp-hero__points svg { color: var(--sp-orange); flex-shrink: 0; }

.sp-hero__card { position: relative; }
.sp-starter {
	padding: 30px;
	border-radius: 20px;
	background: var(--sp-white);
	color: var(--sp-body);
	box-shadow: var(--sp-shadow-lg);
}
.sp-starter__eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sp-orange-text); }
.sp-starter__title { margin: 6px 0 0; font-size: 24px; font-weight: 700; line-height: 1.25; }
.sp-starter__text { margin: 6px 0 20px; font-size: 14px; color: var(--sp-muted); }
.sp-starter__options { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; border: 0; }
.sp-starter__label { display: block; margin-bottom: 8px; padding: 0; font-size: 13px; font-weight: 600; color: var(--sp-ink); }
.sp-starter__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 13px; color: var(--sp-muted); }
.sp-starter__note svg { color: var(--sp-navy); }
.sp-starter .sp-btn--block { margin-top: 20px; }

.sp-option { position: relative; display: block; cursor: pointer; }
.sp-option input { position: absolute; opacity: 0; pointer-events: none; }
.sp-option__body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 16px 13px 44px;
	border: 1.5px solid var(--sp-lavender-line);
	border-radius: 12px;
	background: var(--sp-white);
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.sp-option__body::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	border: 2px solid rgba(23, 28, 70, 0.3);
	border-radius: 50%;
	box-sizing: border-box;
}
.sp-option__name { font-size: 15px; font-weight: 500; color: var(--sp-ink); }
.sp-option__price { font-size: 15px; font-weight: 700; color: var(--sp-navy); }
.sp-option:hover .sp-option__body { border-color: rgba(23, 28, 70, 0.35); }
.sp-option input:checked + .sp-option__body { border-color: var(--sp-navy); background: var(--sp-lavender); }
.sp-option input:checked + .sp-option__body::before { border: 5px solid var(--sp-navy); }
.sp-option input:focus-visible + .sp-option__body { outline: 3px solid var(--sp-orange); outline-offset: 2px; }

.sp-select {
	width: 100%;
	height: 50px;
	padding: 0 14px;
	border: 1.5px solid var(--sp-lavender-line);
	border-radius: 12px;
	background: var(--sp-white);
	font-family: inherit;
	font-size: 15px;
	color: var(--sp-ink);
}
.sp-select:focus { border-color: var(--sp-navy); outline: none; box-shadow: 0 0 0 3px rgba(23, 28, 70, 0.12); }

/* 7. Trust strip ----------------------------------------------------------- */
.sp-trust { border-bottom: 1px solid var(--sp-line); background: var(--sp-white); }
.sp-trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 28px; padding-bottom: 28px; }
.sp-trust__stats { display: flex; gap: 40px; }
.sp-trust__stat { display: flex; flex-direction: column; text-decoration: none; }
.sp-trust__num { font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--sp-navy); }
.sp-trust__label { font-size: 13px; color: var(--sp-muted); }
.sp-trust__stat:hover .sp-trust__label { color: var(--sp-navy); }
.sp-trust__sectors { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.sp-trust__heading { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sp-muted); }
.sp-trust__sectors ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sp-trust__sectors a {
	display: inline-block;
	padding: 7px 14px;
	border: 1px solid var(--sp-lavender-line);
	border-radius: 999px;
	background: var(--sp-lavender);
	font-size: 13px;
	font-weight: 500;
	color: var(--sp-navy);
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.sp-trust__sectors a:hover { border-color: var(--sp-navy); background: var(--sp-white); }

/* 8. Packages -------------------------------------------------------------- */
.sp-packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.sp-package {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 32px 28px 28px;
	border: 1px solid var(--sp-lavender-line);
	border-radius: 20px;
	background: var(--sp-white);
	box-shadow: var(--sp-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sp-package:hover { transform: translateY(-4px); box-shadow: var(--sp-shadow-lg); }
.sp-package--featured { border-color: var(--sp-navy); background: var(--sp-navy); color: rgba(255, 255, 255, 0.82); }
.sp-package__flag {
	position: absolute;
	top: -13px;
	left: 28px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--sp-orange);
	color: var(--sp-navy-deep);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.sp-package__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--sp-lavender);
	color: var(--sp-navy);
}
.sp-package--featured .sp-package__icon { background: rgba(255, 255, 255, 0.1); color: var(--sp-orange); }
.sp-package__title { margin: 20px 0 0; font-size: 21px; font-weight: 700; line-height: 1.3; }
.sp-package--featured .sp-package__title { color: var(--sp-white); }
.sp-package__tagline { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--sp-muted); min-height: 3.1em; }
.sp-package--featured .sp-package__tagline { color: rgba(255, 255, 255, 0.75); }
.sp-package__price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 0; padding: 20px 0; border-top: 1px solid var(--sp-line); border-bottom: 1px solid var(--sp-line); }
.sp-package--featured .sp-package__price { border-color: rgba(255, 255, 255, 0.14); }
.sp-package__amount { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--sp-navy); }
.sp-package--featured .sp-package__amount { color: var(--sp-white); }
.sp-package__unit { font-size: 14px; color: var(--sp-muted); }
.sp-package--featured .sp-package__unit { color: rgba(255, 255, 255, 0.7); }
.sp-package__features { display: grid; gap: 12px; margin: 22px 0 28px; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; }
.sp-package__features li { display: flex; align-items: flex-start; gap: 10px; }
.sp-package__features svg {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	padding: 3px;
	border-radius: 50%;
	background: var(--sp-orange-tint);
	color: var(--sp-orange-dark);
	box-sizing: border-box;
}
.sp-package--featured .sp-package__features svg { background: rgba(245, 130, 50, 0.18); color: var(--sp-orange); }
.sp-package__cta { margin-top: auto; width: 100%; }
.sp-package--featured .sp-btn--accent { box-shadow: none; }
.sp-packages__note { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 760px; margin: 32px auto 0; font-size: 15px; text-align: center; color: var(--sp-muted); }
.sp-packages__note svg { flex-shrink: 0; color: var(--sp-navy); }

/* 9. How it works ---------------------------------------------------------- */
.sp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.sp-step {
	position: relative;
	padding: 28px 24px;
	border: 1px solid var(--sp-lavender-line);
	border-radius: var(--sp-radius);
	background: var(--sp-white);
}
.sp-step__num { position: absolute; top: 22px; right: 24px; font-size: 34px; font-weight: 700; line-height: 1; color: var(--sp-lavender-line); }
.sp-step__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--sp-navy);
	color: var(--sp-orange);
}
.sp-step__title { margin: 20px 0 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.sp-step__text { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--sp-muted); }

/* 10. Cards ---------------------------------------------------------------- */
.sp-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--sp-lavender-line);
	border-radius: var(--sp-radius);
	background: var(--sp-white);
	box-shadow: var(--sp-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sp-card:hover { transform: translateY(-4px); box-shadow: var(--sp-shadow-lg); }
.sp-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sp-lavender); }
.sp-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.sp-card:hover .sp-card__media img { transform: scale(1.04); }
.sp-card__media--contain img { object-fit: contain; padding: 20px; box-sizing: border-box; }
.sp-card__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: rgba(23, 28, 70, 0.3); }
.sp-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	max-width: calc(100% - 28px);
	overflow: hidden;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--sp-navy);
	font-size: 12px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(16, 20, 49, 0.12);
}
.sp-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 20px; }
.sp-card__title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.sp-card__title a { color: var(--sp-ink); text-decoration: none; }
.sp-card__title a::after { content: ""; position: absolute; inset: 0; }
.sp-card { position: relative; }
.sp-card__title a:hover { color: var(--sp-navy); }
.sp-card__text { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--sp-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sp-card__meta { display: flex; flex-direction: column; margin: 12px 0 0; }
.sp-card__meta-label { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sp-muted); }
.sp-card__meta-value { font-size: 18px; font-weight: 700; color: var(--sp-navy); }
.sp-card__foot { margin-top: auto; padding-top: 18px; }
.sp-card__foot .sp-link-arrow { position: relative; z-index: 1; }

/* Parent grids that now contain premium cards (related items on detail pages). */
.sp-theme .grid > .sp-card { height: 100%; }

/* 11. Why choose us -------------------------------------------------------- */
.sp-why { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.sp-why__intro .sp-heading { margin-bottom: 28px; }
.sp-why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.sp-why__item { padding: 26px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--sp-radius); background: rgba(255, 255, 255, 0.04); }
.sp-why__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(245, 130, 50, 0.14);
	color: var(--sp-orange);
}
.sp-why__title { margin: 18px 0 0; font-size: 18px; font-weight: 600; color: var(--sp-white) !important; }
.sp-why__text { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }

/* 12. FAQ ------------------------------------------------------------------ */
.sp-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.sp-faq__intro .sp-heading { margin-bottom: 16px; }
.sp-faq__more { margin: 0; font-size: 15px; color: var(--sp-muted); }
.sp-faq__more a { font-weight: 600; color: var(--sp-navy); text-decoration: underline; text-decoration-color: var(--sp-orange); text-underline-offset: 4px; }
.sp-faq__list { display: grid; gap: 12px; }
.sp-faq__item { border: 1px solid var(--sp-lavender-line); border-radius: 14px; background: var(--sp-white); overflow: hidden; }
.sp-faq__q { margin: 0; font-size: 16px; }
.sp-faq__q button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 20px 22px;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	text-align: left;
	color: var(--sp-ink);
	cursor: pointer;
}
.sp-faq__q svg { flex-shrink: 0; color: var(--sp-navy); }
.sp-faq__q button[aria-expanded="true"] { color: var(--sp-navy); }
.sp-faq__item:has(button[aria-expanded="true"]) { border-color: var(--sp-navy); box-shadow: var(--sp-shadow); }
.sp-faq__a { margin: 0; padding: 0 22px 22px; font-size: 15px; line-height: 1.65; color: var(--sp-muted); }

/* 13. CTA band and inline CTA --------------------------------------------- */
.sp-cta-band { padding: 0 0 80px; }
.sp-cta-band__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px 48px;
	overflow: hidden;
	padding: 48px;
	border-radius: 24px;
	background: linear-gradient(120deg, var(--sp-navy-deep), var(--sp-navy) 60%, var(--sp-navy-soft));
}
.sp-cta-band__inner::after {
	content: "";
	position: absolute;
	right: -80px;
	top: -80px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(245, 130, 50, 0.35), transparent 70%);
	pointer-events: none;
}
.sp-cta-band__title { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: var(--sp-white) !important; }
.sp-cta-band__text { max-width: 620px; margin: 10px 0 0; font-size: 16px; color: rgba(255, 255, 255, 0.78); }
.sp-cta-band__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }

.sp-inline-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 28px;
	margin-top: 48px;
	padding: 28px;
	border: 1px solid var(--sp-lavender-line);
	border-radius: 20px;
	background: var(--sp-lavender);
}
.sp-inline-cta__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--sp-navy);
	color: var(--sp-orange);
	flex-shrink: 0;
}
.sp-inline-cta__body { flex: 1 1 320px; }
.sp-inline-cta__title { margin: 0; font-size: 20px; font-weight: 700; }
.sp-inline-cta__body p { margin: 6px 0 0; font-size: 15px; color: var(--sp-muted); }

/* 14. Page hero, filter, empty state -------------------------------------- */
.sp-page-hero {
	position: relative;
	overflow: hidden;
	padding: 56px 0 60px;
	background: linear-gradient(120deg, var(--sp-navy-deep), var(--sp-navy));
	color: rgba(255, 255, 255, 0.8);
}
.sp-page-hero::after {
	content: "";
	position: absolute;
	right: -120px;
	bottom: -160px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(245, 130, 50, 0.22), transparent 70%);
	pointer-events: none;
}
.sp-page-hero__crumbs { margin-bottom: 22px; }
.sp-page-hero__crumbs nav, .sp-page-hero__crumbs span, .sp-page-hero__crumbs a { color: rgba(255, 255, 255, 0.7) !important; font-size: 13px; }
.sp-page-hero__crumbs a:hover { color: var(--sp-white) !important; }
.sp-page-hero__crumbs [aria-current] { color: var(--sp-white) !important; }
.sp-page-hero__title { max-width: 820px; margin: 12px 0 0; font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1.12; color: var(--sp-white) !important; }
.sp-page-hero__text { max-width: 720px; margin: 14px 0 0; font-size: 17px; line-height: 1.65; }

.sp-filter { display: grid; gap: 16px; margin-bottom: 32px; }
.sp-filter__search { position: relative; max-width: 560px; }
.sp-filter__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--sp-muted); pointer-events: none; }
.sp-filter__search input {
	width: 100%;
	height: 54px;
	padding: 0 18px 0 48px;
	border: 1.5px solid var(--sp-lavender-line);
	border-radius: 14px;
	background: var(--sp-white);
	font-family: inherit;
	font-size: 16px;
	color: var(--sp-ink);
	box-sizing: border-box;
	box-shadow: var(--sp-shadow);
}
.sp-filter__search input:focus { border-color: var(--sp-navy); outline: none; box-shadow: 0 0 0 3px rgba(23, 28, 70, 0.12); }
.sp-filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 16px;
	border: 1.5px solid var(--sp-lavender-line);
	border-radius: 999px;
	background: var(--sp-white);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	color: var(--sp-ink);
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.sp-chip:hover { border-color: var(--sp-navy); }
.sp-chip.is-active { border-color: var(--sp-navy); background: var(--sp-navy); color: var(--sp-white); }
.sp-chip__count { display: inline-flex; min-width: 22px; justify-content: center; padding: 0 6px; border-radius: 999px; background: var(--sp-lavender); color: var(--sp-navy); font-size: 12px; font-weight: 600; }
.sp-chip.is-active .sp-chip__count { background: rgba(255, 255, 255, 0.18); color: var(--sp-white); }
.sp-filter__status { margin: 0; font-size: 14px; color: var(--sp-muted); }
.sp-filter__status:empty { display: none; }
.sp-empty { display: grid; justify-items: center; gap: 16px; padding: 48px 24px; border: 1px dashed var(--sp-lavender-line); border-radius: var(--sp-radius); text-align: center; color: var(--sp-muted); }
.sp-empty p { max-width: 480px; margin: 0; }

/* 15. Detail pages --------------------------------------------------------- */
.sp-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.sp-detail__media { margin: 0 0 32px; overflow: hidden; border-radius: 20px; }
.sp-detail__media img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; }
.sp-detail__aside { position: sticky; top: 108px; display: grid; gap: 20px; }
.admin-bar .sp-detail__aside { top: 140px; }
.sp-aside-card { display: grid; gap: 14px; padding: 28px; border: 1px solid var(--sp-lavender-line); border-radius: 20px; background: var(--sp-white); box-shadow: var(--sp-shadow-lg); }
.sp-aside-card__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sp-orange-text); }
.sp-aside-card__title { margin: 0; font-size: 22px; font-weight: 700; }
.sp-aside-card__price { margin: 0; font-size: 34px; font-weight: 700; color: var(--sp-navy); line-height: 1.1; }
.sp-aside-card__price span { font-size: 14px; font-weight: 400; color: var(--sp-muted); }
.sp-aside-card .sp-package__features { margin: 4px 0 6px; }

.sp-prose { font-size: 17px; line-height: 1.75; color: var(--sp-body); }
.sp-prose--narrow { max-width: 780px; margin: 0 auto; }
.sp-prose h2 { margin-top: 1.8em; font-size: 26px; font-weight: 700; }
.sp-prose h3 { margin-top: 1.5em; font-size: 20px; font-weight: 600; }
.sp-prose a { color: var(--sp-navy); text-decoration: underline; text-decoration-color: var(--sp-orange); text-underline-offset: 3px; }
.sp-prose ul li::marker { color: var(--sp-orange-dark); }

.sp-panel { margin-top: 36px; padding: 28px; border: 1px solid var(--sp-lavender-line); border-radius: 20px; background: var(--sp-lavender); }
.sp-panel--accent { border-color: var(--sp-navy); background: var(--sp-navy); color: rgba(255, 255, 255, 0.82); }
.sp-panel--accent .sp-panel__title { color: var(--sp-white) !important; }
.sp-panel__title { margin: 0 0 12px; font-size: 22px; font-weight: 700; }
.sp-panel p { margin: 0; }

.sp-contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sp-contact-list li { display: flex; align-items: center; gap: 14px; }
.sp-contact-list__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--sp-white); color: var(--sp-navy); box-shadow: var(--sp-shadow); }
.sp-contact-list__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sp-muted); }
.sp-contact-list a { font-weight: 600; color: var(--sp-navy); text-decoration: none; word-break: break-word; }
.sp-contact-list a:hover { text-decoration: underline; }

/* 16. Contact page --------------------------------------------------------- */
.sp-contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.sp-contact__info { padding: 32px; border-radius: 20px; background: var(--sp-lavender); }
.sp-contact__options { display: grid; gap: 16px; }
.sp-option-card {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 24px;
	border: 1px solid var(--sp-lavender-line);
	border-radius: 18px;
	background: var(--sp-white);
	color: var(--sp-ink);
	text-decoration: none;
	box-shadow: var(--sp-shadow);
	transition: transform 0.2s ease, border-color 0.2s ease;
}
.sp-option-card:hover { transform: translateY(-2px); border-color: var(--sp-navy); }
.sp-option-card > span:nth-child(2) { flex: 1; }
.sp-option-card > svg { color: var(--sp-orange-dark); flex-shrink: 0; }
.sp-option-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: var(--sp-navy); color: var(--sp-orange); }
.sp-option-card__title { display: block; font-size: 17px; font-weight: 600; }
.sp-option-card__text { display: block; margin-top: 2px; font-size: 14px; color: var(--sp-muted); }

/* 17. Footer --------------------------------------------------------------- */
.sp-footer { background: var(--sp-navy-deep); color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.sp-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding: 72px 0 48px; }
.sp-footer__logo { display: block; width: auto; height: 52px; }
.sp-footer__tagline { max-width: 360px; margin: 20px 0 24px; line-height: 1.7; }
.sp-footer__title { margin: 0 0 18px; font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sp-white) !important; }
.sp-footer__links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sp-footer__links a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.sp-footer__links a:hover { color: var(--sp-white); }
.sp-footer__price { padding: 1px 8px; border-radius: 999px; background: rgba(245, 130, 50, 0.16); color: var(--sp-orange); font-size: 12px; font-weight: 600; }
.sp-footer__social { display: flex; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.sp-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: var(--sp-white); }
.sp-footer__social a:hover { background: var(--sp-orange); color: var(--sp-navy-deep); }
.sp-contact-list--footer .sp-contact-list__icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: var(--sp-orange); box-shadow: none; }
.sp-contact-list--footer .sp-contact-list__label { color: rgba(255, 255, 255, 0.5); }
.sp-contact-list--footer a, .sp-contact-list--footer span { color: rgba(255, 255, 255, 0.9); }
.sp-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.sp-footer__bottom p { margin: 0; }

/* 18. Parent templates in the premium frame ------------------------------- */
/* RFQ page, factory/machine detail and WooCommerce keep their markup. */
.sp-theme .st-container.pt-6 .relative.overflow-hidden.rounded-2xl > .absolute.inset-0.bg-black\/45 { background: linear-gradient(100deg, rgba(16, 20, 49, 0.92), rgba(23, 28, 70, 0.55)); }
.sp-theme #st-rfq-form { scroll-margin-top: 110px; }
.sp-theme .st-label { color: var(--sp-ink); font-weight: 600; }
.sp-theme .woocommerce .button,
.sp-theme .woocommerce button.button,
.sp-theme .woocommerce a.button.alt,
.sp-theme .woocommerce button.button.alt { background-color: var(--sp-navy); color: var(--sp-white); border-radius: 12px; }
.sp-theme .woocommerce .button:hover,
.sp-theme .woocommerce button.button.alt:hover { background-color: var(--sp-navy-deep); color: var(--sp-white); }

/* 19. Responsive ----------------------------------------------------------- */
@media (min-width: 640px) {
	:root { --sp-gutter: 24px; }
}

@media (max-width: 1180px) {
	.sp-nav__list a { padding: 10px 10px; font-size: 14px; }
	.sp-header__quote { display: none; }
}

@media (max-width: 1080px) {
	/* Beats the legacy mobile rule for the old header in Additional CSS. */
	.sp-theme .sp-header .sp-nav[aria-label="Main"] { display: none !important; }
	.sp-theme .sp-header > .sp-header__inner { flex-wrap: nowrap; }
	.sp-nav { display: none; }
	.sp-header__toggle { display: inline-flex; }
	.sp-hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 72px; }
	.sp-hero__card { max-width: 560px; }
	.sp-packages { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
	.sp-package__tagline { min-height: 0; }
	.sp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sp-why, .sp-faq, .sp-contact { grid-template-columns: 1fr; gap: 40px; }
	.sp-detail { grid-template-columns: 1fr; }
	.sp-detail__aside { position: static; }
	.sp-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sp-footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 1081px) {
	.sp-mobile-nav { display: none !important; }
}

@media (max-width: 782px) {
	.admin-bar .sp-header { top: 46px; }
}

@media (max-width: 640px) {
	.sp-topbar__text span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.sp-topbar__meta { display: none; }
	.sp-header__inner { min-height: 66px; gap: 12px; }
	.sp-header__brand img, .sp-header__logo { height: 38px; }
	.sp-header__cta { display: none; }
	.sp-section { padding: 56px 0; }
	.sp-section--tight { padding: 36px 0 56px; }
	.sp-heading { margin-bottom: 32px; }
	.sp-hero__inner { padding-top: 48px; padding-bottom: 56px; }
	.sp-hero__text { font-size: 16px; }
	.sp-hero__actions .sp-btn { width: 100%; }
	.sp-hero__points { flex-direction: column; gap: 10px; }
	.sp-starter { padding: 22px; }
	.sp-trust__stats { gap: 28px; }
	.sp-steps { grid-template-columns: 1fr; }
	.sp-why__grid { grid-template-columns: 1fr; }
	.sp-cta-band__inner { padding: 32px 24px; }
	.sp-cta-band__actions, .sp-cta-band__actions .sp-btn { width: 100%; }
	.sp-inline-cta { padding: 22px; }
	.sp-inline-cta .sp-btn { width: 100%; }
	.sp-page-hero { padding: 40px 0 44px; }
	.sp-footer__grid { grid-template-columns: 1fr; padding-top: 56px; }
	.sp-section__head { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.sp-theme *, .sp-theme *::before, .sp-theme *::after { transition: none !important; animation: none !important; }
	.sp-card:hover, .sp-package:hover, .sp-btn:hover { transform: none; }
}
