/**
 * TrackShip Theme Stylesheet
 */

@import 'variables.css';

/* ===========================
   RESET & NORMALIZATION
   =========================== */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: var(--lh-normal);
	color: var(--dark);
	background-color: var(--background);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: var(--fw-bold);
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-tight);
}

h1 { font-size: var(--fs-5xl); margin-bottom: 16px; }
h2 { font-size: var(--fs-4xl); margin-bottom: 16px; }
h3 { font-size: var(--fs-3xl); }
h4 { font-size: var(--fs-2xl); }
h5 { font-size: var(--fs-xl); }
h6 { font-size: var(--fs-lg); }

p {
	margin: 0 0 var(--spacing-md) 0;
}

a {
	color: var(--primary);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover {
	color: var(--primary-dark);
	text-decoration: underline;
}

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

.grecaptcha-badge {
	display: none !important;
}

/* ===========================
   CONTAINER & LAYOUT
   =========================== */

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1;
	width: 100%;
}

/* Pages should span edge-to-edge — sections render their own widths */
.site-main > article {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.site-main > article > .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Prevent paragraph wrapping from constraining sections */
.entry-content > p:empty {
	display: none;
}

/* Sections inside entry-content always span full width */
.entry-content .ts-section {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

/* Force hero text alignment for shipping providers page */
body.page-template-page .ts-section h1,
body.page-template-page .ts-section h2,
body.page-template-page .ts-section > p {
	text-align: center;
}

/* Mobile: tighter section padding for hero */
@media (max-width: 768px) {
	.ts-section {
		padding: 30px 0 !important;
	}
	.ts-section-inner {
		padding: 0 16px !important;
	}
	.ts-section h1 {
		font-size: 28px !important;
		line-height: 1.2;
	}
	.ts-section h2 {
		font-size: 24px !important;
	}
}

.container {
	width: 100%;
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 var(--container-gutter);
}

/* ===========================
   HEADER
   =========================== */

.site-header {
	background-color: var(--white);
	border-bottom: 1px solid var(--lighter-gray);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

/* Account for WordPress admin bar */
body.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

.site-header-inner {
	padding: 18px 0;
}

.site-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	max-width: 1280px;
}

/* Logo */
.site-branding {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.site-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.site-logo:hover { text-decoration: none; }

.site-logo-img {
	display: block;
	width: auto;
	max-width: 200px;
	height: auto;
	vertical-align: middle;
}

/* Navigation */
.main-navigation {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 8px;
	align-items: center;
}

.primary-menu > li > a {
	color: var(--dark);
	font-weight: 500;
	font-size: 15px;
	padding: 10px 16px;
	transition: color var(--transition-fast);
}

.primary-menu > li > a:hover {
	color: var(--primary);
	background: transparent;
}

/* Header CTA Buttons */
.header-cta {
	display: flex;
	gap: 12px;
	align-items: center;
	flex: 0 0 auto;
}

.header-btn {
	display: inline-flex;
	align-items: center;
	padding: 10px 22px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all var(--transition-fast);
	white-space: nowrap;
	line-height: 1.4;
}

.header-btn-outline {
	background: transparent;
	color: var(--primary);
	border: 2px solid var(--primary);
	padding: 9px 22px;
}

.header-btn-outline:hover {
	background: var(--primary);
	color: var(--white);
	text-decoration: none;
}

.header-btn-primary {
	background: var(--primary);
	color: var(--white);
	border: 1.5px solid var(--primary);
}

.header-btn-primary:hover {
	background: var(--primary-dark);
	border-color: var(--primary-dark);
	color: var(--white);
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(9, 211, 172, 0.3);
}

/* Mobile menu toggle (hamburger) */
.menu-toggle {
	display: none;
	background: transparent;
	border: none;
	padding: 8px;
	cursor: pointer;
	flex-direction: column;
	gap: 5px;
	width: 40px;
	height: 40px;
	justify-content: center;
	align-items: center;
	margin-left: auto;
}

.menu-toggle:hover,
.menu-toggle:focus {
	background: transparent;
}

.menu-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--dark);
	border-radius: 2px;
	transition: all var(--transition-fast);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
	opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Original ul for backward compatibility */
.main-navigation .original-ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--spacing-lg);
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	padding: var(--spacing-sm) var(--spacing-md);
	font-weight: var(--fw-medium);
	color: var(--dark);
	border-radius: var(--border-radius);
	transition: all var(--transition-fast);
}

.main-navigation a:hover {
	background-color: var(--lightest-gray);
	text-decoration: none;
}

.main-navigation li.current-menu-item > a {
	color: var(--primary);
	font-weight: var(--fw-semibold);
}

/* Highlight parent menu items when viewing their children */
.main-navigation li.current-menu-parent > a,
.main-navigation li.current-menu-ancestor > a {
	color: var(--primary);
	font-weight: var(--fw-semibold);
}

/* Indicator arrow for menu items with submenus */
.main-navigation .menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	margin-left: 6px;
	vertical-align: middle;
	transition: transform var(--transition-fast);
}

.main-navigation .menu-item-has-children:hover > a::after {
	transform: rotate(180deg);
}

/* === SUBMENU (DROPDOWN) === */
.main-navigation .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--white);
	border: 1px solid var(--lighter-gray);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-lg);
	padding: var(--spacing-sm) 0;
	margin: 0;
	z-index: 1000;
	flex-direction: column;
	gap: 0;
	list-style: none;
}

/* Show submenu on hover or focus-within */
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu,
.main-navigation li.is-open > .sub-menu {
	display: flex;
}

/* Bridge gap between parent and submenu to prevent flicker */
.main-navigation .menu-item-has-children::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 8px;
}

.main-navigation .sub-menu li {
	width: 100%;
}

.main-navigation .sub-menu a {
	padding: var(--spacing-sm) var(--spacing-md);
	border-radius: 0;
	width: 100%;
	font-weight: var(--fw-normal);
	font-size: var(--fs-sm);
	color: var(--dark-gray);
	white-space: nowrap;
}

.main-navigation .sub-menu a:hover {
	background-color: var(--lightest-gray);
	color: var(--primary);
}

/* Nested submenus (3rd level) */
.main-navigation .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

/* Hide arrows on nested submenu items, show right-pointing chevron instead */
.main-navigation .sub-menu .menu-item-has-children > a::after {
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 5px solid currentColor;
	border-right: 0;
	float: right;
	margin-top: 4px;
}

/* Mobile Menu */
@media (max-width: 1024px) {
	.menu-toggle {
		display: flex;
		order: 3;
	}

	.site-header .container {
		flex-wrap: wrap;
	}

	.main-navigation {
		display: none;
		width: 100%;
		margin-left: 0;
		margin-top: var(--spacing-lg);
		order: 4;
		justify-content: flex-start;
	}

	.header-cta {
		display: none;
		width: 100%;
		order: 5;
		justify-content: center;
		margin-top: var(--spacing-md);
		padding-top: var(--spacing-md);
		border-top: 1px solid var(--lighter-gray);
	}

	.main-navigation.active,
	.main-navigation.active ~ .header-cta {
		display: flex;
	}

	.main-navigation.active {
		display: block;
	}

	.main-navigation ul.primary-menu,
	.main-navigation ul {
		flex-direction: column;
		gap: 0;
		align-items: stretch;
	}

	.primary-menu > li > a {
		padding: 12px 16px;
		border-radius: 6px;
	}

	/* Submenu - inline on mobile */
	.main-navigation .sub-menu {
		display: none;
		position: static;
		box-shadow: none;
		border: none;
		border-left: 3px solid var(--primary);
		border-radius: 0;
		padding-left: var(--spacing-md);
		margin-left: var(--spacing-md);
		min-width: 0;
	}

	.main-navigation li.is-open > .sub-menu {
		display: block;
	}

	.main-navigation .sub-menu .sub-menu {
		left: 0;
		top: 0;
	}

	.header-btn { width: 100%; justify-content: center; }
}

/* Data-text-color attribute support (from Flatsome content) */
[data-text-color="primary"] { color: var(--primary) !important; }
[data-text-color="secondary"] { color: var(--secondary) !important; }
[data-text-color="alert"] { color: var(--error) !important; }
[data-text-color="success"] { color: var(--success) !important; }

/* Data-line-height attribute support */
[data-line-height="xs"] { line-height: 1.1; }
[data-line-height="s"] { line-height: 1.2; }
[data-line-height="m"] { line-height: 1.3; }
[data-line-height="l"] { line-height: 1.4; }
[data-line-height="xl"] { line-height: 1.6; }

/* Bullet checkmark list style (from Flatsome content) */
.bullet-checkmark {
	position: relative;
	padding-left: 28px !important;
	list-style: none !important;
	margin-bottom: 12px;
}
.bullet-checkmark::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--primary);
	font-weight: bold;
	font-size: 1.2em;
}
ul:has(.bullet-checkmark) { padding-left: 0 !important; }

/* ===========================
   CTA BANNER
   =========================== */

.cta-banner {
	background: #09d3ac !important;
	padding: 32px 0 !important;
	margin: 0 !important;
}

.cta-banner__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.cta-banner__content {
	flex: 1;
}

.cta-banner__title {
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.cta-banner__text {
	font-size: 16px;
	color: #e4e6e9;
	margin: 0;
	line-height: 1.5;
}

.cta-banner__btn {
	background: #fff;
	color: #09d3ac;
	padding: 14px 32px;
	border-radius: 8px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.cta-banner__btn:hover {
	background: rgba(255, 255, 255, 0.95);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	color: #09d3ac;
}

/* Responsive */
@media(max-width: 768px) {
	.cta-banner {
		padding: 24px 0;
	}

	.cta-banner__inner {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}

	.cta-banner__title {
		font-size: 20px;
	}

	.cta-banner__text {
		font-size: 14px;
	}

	.cta-banner__btn {
		width: 100%;
		justify-content: center;
	}
}

/* ===========================
   REUSABLE FAQ ACCORDION
   =========================== */
.ts-faq { max-width:760px; margin:0 auto; }
.ts-faq__group { margin-bottom:40px; }
.ts-faq__group-title {
	font-size:20px; font-weight:700; color:#1a1a2e;
	margin-bottom:16px; padding-bottom:12px;
	border-bottom:2px solid #f0f2f5;
}
.ts-faq-item {
	border:1.5px solid #e5e7eb; border-radius:12px; margin-bottom:10px;
	overflow:hidden; background:#fff;
	border-left:4px solid #d1d5db;
	transition:border-color .25s ease, box-shadow .25s ease;
}
.ts-faq-item:hover {
	border-color:#b2f0e4; border-left-color:#09d3ac;
	box-shadow:0 4px 16px rgba(9,211,172,.1);
}
.ts-faq-item.is-open {
	border-color:#09d3ac; border-left-color:#09d3ac;
	box-shadow:0 4px 16px rgba(9,211,172,.12);
}
.ts-faq-q {
	width:100%; text-align:left; background:#fff; border:none;
	padding:18px 20px; margin:0; font-size:15px; font-weight:600; color:#1a1a2e;
	cursor:pointer; display:flex; justify-content:space-between; align-items:center;
	gap:16px; font-family:inherit; line-height:1.5; box-sizing:border-box;
	transition:color .25s ease;
}
.ts-faq-item:hover .ts-faq-q,
.ts-faq-item.is-open .ts-faq-q { color:#09d3ac; background:#fff; }
.ts-faq-icon {
	width:26px; height:26px; border-radius:50%; flex-shrink:0;
	background:#f3f4f6; border:1.5px solid #e5e7eb;
	display:flex; align-items:center; justify-content:center;
	color:#6b7280; transition:all .25s ease;
}
.ts-faq-item:hover .ts-faq-icon {
	background:rgba(9,211,172,.12); border-color:#09d3ac; color:#09d3ac;
}
.ts-faq-item.is-open .ts-faq-icon {
	background:#09d3ac; border-color:#09d3ac; color:#fff;
}
.ts-faq-a {
	display:none; font-size:14px; color:#6b7280; line-height:1.8;
	padding:15px 20px; background:#fff; border-top:1px solid #f0f0f0;
}
.ts-faq-a.ts-faq-open { display:block; }
.ts-faq-a a { color:#09d3ac; }
.ts-faq-a a:hover { color:#07b99e; }
.ts-faq-a ol, .ts-faq-a ul { padding-left:20px; margin:8px 0; }
.ts-faq-a pre { background:#f7f8fc; border-radius:6px; padding:12px; font-size:13px; overflow-x:auto; }
.ts-faq-a code { font-family:Menlo,Monaco,monospace; font-size:13px; }

/* ===========================
   FOOTER
   =========================== */

.site-footer {
	background-color: #3c4758;
	color: #e4e6e9;
	margin-top: auto;
	padding: 64px 0 0;
	font-size: 15px;
}

.site-footer .container {
	max-width: 1280px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1.4fr;
	gap: 48px;
	align-items: start;
}

.footer-col-title {
	color: var(--white);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 20px 0;
	text-transform: uppercase;
}

/* Footer Logo + Brand column */
.footer-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	margin-bottom: 20px;
}

.footer-logo:hover { text-decoration: none; }

.footer-logo-img {
	display: block;
	width: auto;
	max-width: 220px;
	height: auto;
	vertical-align: middle;
}

/* Apply white treatment when using the default logo on dark footer background.
   The filter inverts the logo to a white silhouette so it's readable on dark bg. */
.footer-logo-white {
	filter: brightness(0) invert(1);
}

.footer-copyright {
	font-size: 14px;
	color: #e4e6e9;
	line-height: 1.6;
	margin: 0;
	padding: 0;
}

.footer-copyright-row {
	text-align: center;
	padding: 24px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 40px;
}

.footer-social {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 20px;
}

.footer-social-label {
	font-size: 14px;
	color: #e4e6e9;
}

.footer-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-social-link:hover {
	color: var(--white);
	transform: translateY(-2px);
	text-decoration: none;
}

/* Footer menu lists */
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li { margin: 0 0 12px 0; }

.footer-menu a {
	color: #e4e6e9;
	text-decoration: none;
	font-size: 15px;
	transition: color var(--transition-fast);
	display: inline-block;
}

.footer-menu a:hover {
	color: var(--primary);
	text-decoration: none;
}

/* Footer CTA column */
.footer-col-cta {
	display: flex;
	flex-direction: column;
}

.footer-cta-text {
	color: var(--white);
	font-size: 16px;
	line-height: 1.6;
	margin: 0 0 24px 0;
	font-weight: 400;
}

.footer-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--primary);
	color: var(--white);
	padding: 12px 24px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	width: fit-content;
	transition: all var(--transition-fast);
}

.footer-cta-btn:hover {
	background: var(--primary-dark);
	color: var(--white);
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(9, 211, 172, 0.4);
}

/* Footer responsive */
@media (max-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
	.footer-col-cta { grid-column: 1 / -1; }
	.footer-copyright { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	.site-footer { padding: 48px 0 32px; }
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.footer-col-cta { grid-column: auto; }
	.footer-copyright { grid-column: auto; }
}

/* Site Info / Copyright Row */
.site-info {
	background-color: #2d3849;
	padding: 24px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
}

.site-info p {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
	line-height: 1.6;
}

.site-info a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.site-info a:hover {
	color: var(--primary);
	text-decoration: underline;
}

/* ===========================
   BUTTONS
   =========================== */

.button,
button,
input[type="button"],
input[type="submit"] {
	display: inline-block;
	padding: var(--spacing-sm) var(--spacing-lg);
	background-color: var(--primary);
	color: var(--white);
	border: 1px solid var(--primary);
	border-radius: var(--border-radius);
	font-size: var(--fs-base);
	font-weight: var(--fw-medium);
	cursor: pointer;
	transition: all var(--transition-fast);
	text-decoration: none;
	font-family: inherit;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
	background-color: var(--primary-dark);
	border-color: var(--primary-dark);
	text-decoration: none;
	color: var(--white);
}

.button-secondary {
	background-color: var(--secondary);
	border-color: var(--secondary);
}

.button-secondary:hover {
	background-color: var(--secondary-dark);
	border-color: var(--secondary-dark);
}

.button-outline {
	background-color: transparent;
	color: var(--primary);
	border: 1px solid var(--primary);
}

.button-outline:hover {
	background-color: var(--primary);
	color: var(--white);
}

.button-small {
	padding: var(--spacing-xs) var(--spacing-md);
	font-size: var(--fs-sm);
}

.button-large {
	padding: var(--spacing-md) var(--spacing-2xl);
	font-size: var(--fs-lg);
}

/* ===========================
   CARDS & BOXES
   =========================== */

.card {
	background-color: var(--white);
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius-lg);
	padding: var(--spacing-lg);
	box-shadow: var(--shadow-sm);
	transition: all var(--transition-base);
}

.card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-2px);
}

/* ===========================
   FORMS
   =========================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
textarea,
select {
	width: 100%;
	padding: var(--spacing-sm) var(--spacing-md);
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	font-family: inherit;
	font-size: var(--fs-base);
	transition: border-color var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(29, 181, 196, 0.1);
}

label {
	display: block;
	margin-bottom: var(--spacing-sm);
	font-weight: var(--fw-medium);
	color: var(--dark);
}

.form-group {
	margin-bottom: var(--spacing-lg);
}

/* ===========================
   GUTENBERG BLOCK STYLES
   =========================== */

.wp-block-columns {
	display: grid;
	gap: var(--spacing-lg);
}

.wp-block-columns.has-3-columns {
	grid-template-columns: repeat(3, 1fr);
}

.wp-block-columns.has-2-columns {
	grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
	.wp-block-columns.has-3-columns,
	.wp-block-columns.has-2-columns {
		grid-template-columns: 1fr;
	}
}

/* Image Block */
.wp-block-image {
	margin-bottom: var(--spacing-lg);
}

.wp-block-image img {
	max-width: 100%;
}

/* Button Block */
.wp-block-button__link {
	color: var(--white);
	background-color: var(--primary);
	padding: var(--spacing-sm) var(--spacing-lg);
	border-radius: var(--border-radius);
	font-weight: var(--fw-medium);
	transition: all var(--transition-fast);
	text-decoration: none;
	display: inline-block;
	border: 1px solid var(--primary);
}

.wp-block-button__link:hover {
	background-color: var(--primary-dark);
	border-color: var(--primary-dark);
	text-decoration: none;
}

/* ===========================
   UTILITIES
   =========================== */

.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: var(--primary);
	color: var(--white);
	padding: var(--spacing-sm);
	text-decoration: none;
	z-index: 100;
	border-radius: var(--border-radius);
}

.skip-link:focus {
	top: 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

.text-left {
	text-align: left;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: var(--spacing-sm); }
.pt-2 { padding-top: var(--spacing-md); }
.pt-3 { padding-top: var(--spacing-lg); }
.pt-4 { padding-top: var(--spacing-xl); }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: var(--spacing-sm); }
.pb-2 { padding-bottom: var(--spacing-md); }
.pb-3 { padding-bottom: var(--spacing-lg); }
.pb-4 { padding-bottom: var(--spacing-xl); }

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
	.container {
		padding: 0 var(--spacing-lg);
	}

	h1 { font-size: var(--fs-4xl); }
	h2 { font-size: var(--fs-3xl); }
	h3 { font-size: var(--fs-2xl); }
}

@media (max-width: 768px) {
	.container {
		padding: 0 var(--spacing-md);
	}

	h1 { font-size: var(--fs-3xl); }
	h2 { font-size: var(--fs-2xl); }
	h3 { font-size: var(--fs-xl); }

	.site-header-inner {
		padding: var(--spacing-md) 0;
	}

	.site-title {
		font-size: var(--fs-xl);
	}

	.button,
	button,
	input[type="button"],
	input[type="submit"] {
		width: 100%;
		text-align: center;
	}
}

/* ===========================
   PROVIDERS SPECIFIC STYLES
   =========================== */

.providers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: var(--spacing-lg);
	margin: var(--spacing-2xl) 0;
}

.provider-card {
	background-color: var(--white);
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all var(--transition-base);
	box-shadow: var(--shadow-sm);
}

.provider-card:hover {
	box-shadow: var(--shadow-lg);
	border-color: var(--primary);
	transform: translateY(-4px);
}

.provider-card-header {
	padding: var(--spacing-lg);
	background-color: var(--lightest-gray);
	border-bottom: 1px solid var(--border-color);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80px;
}

.provider-logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

.provider-logo img {
	max-height: 60px;
	max-width: 100%;
}

.provider-card-body {
	padding: var(--spacing-lg);
	flex: 1;
}

.provider-name {
	margin: 0 0 var(--spacing-md) 0;
	font-size: var(--fs-lg);
}

.provider-name a {
	color: var(--secondary);
}

.provider-excerpt {
	color: var(--gray);
	font-size: var(--fs-sm);
	margin-bottom: var(--spacing-md);
}

.provider-countries {
	font-size: var(--fs-sm);
	color: var(--dark-gray);
	margin-bottom: var(--spacing-md);
}

.more-countries {
	display: inline-block;
	margin-left: var(--spacing-sm);
	color: var(--primary);
	font-weight: var(--fw-medium);
}

.provider-card-footer {
	padding: var(--spacing-lg);
	border-top: 1px solid var(--border-color);
	background-color: var(--background-alt);
}

.provider-card-footer .button {
	width: 100%;
	text-align: center;
	margin: 0;
}

/* Single Provider Details */
.provider-header {
	background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
	color: var(--white);
	padding: var(--spacing-3xl) 0;
	margin-bottom: var(--spacing-3xl);
}

.provider-header-inner {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: var(--spacing-3xl);
	align-items: start;
}

.provider-logo-large {
	background-color: var(--white);
	padding: var(--spacing-lg);
	border-radius: var(--border-radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
}

.provider-logo-large img {
	max-height: 180px;
	max-width: 100%;
}

/* Single provider page title (NOT the grid card title — that uses .provider-block .provider-title) */
.single-shipping-provider .provider-title,
.shipping-provider-content .provider-title,
.provider-header .provider-title {
	margin-bottom: var(--spacing-md);
	font-size: var(--fs-5xl);
}

.provider-description {
	font-size: var(--fs-lg);
	margin-bottom: var(--spacing-lg);
	opacity: 0.95;
}

.provider-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: var(--spacing-lg);
	margin-bottom: var(--spacing-2xl);
}

.meta-item {
	font-size: var(--fs-sm);
}

.meta-item strong {
	display: block;
	margin-bottom: var(--spacing-xs);
	font-weight: var(--fw-semibold);
}

.meta-item a {
	color: var(--white);
	text-decoration: underline;
}

.provider-actions {
	display: flex;
	gap: var(--spacing-md);
	flex-wrap: wrap;
}

.provider-actions .button {
	flex: 1;
	min-width: 200px;
}

@media (max-width: 768px) {
	.provider-header-inner {
		grid-template-columns: 1fr;
	}

	.provider-logo-large {
		min-height: 150px;
	}

	.provider-title {
		font-size: var(--fs-3xl);
	}

	.provider-actions {
		flex-direction: column;
	}

	.provider-actions .button {
		width: 100%;
	}
}

/* Related Providers */
.related-providers {
	margin: var(--spacing-3xl) 0;
	padding: var(--spacing-3xl) 0;
	border-top: 1px solid var(--border-color);
}

.related-providers h2 {
	margin-bottom: var(--spacing-2xl);
}

/* ===========================
   ARCHIVE PAGES
   =========================== */

.archive-header {
	text-align: center;
	margin-bottom: var(--spacing-3xl);
	padding: var(--spacing-3xl) 0;
	border-bottom: 1px solid var(--border-color);
}

.archive-title {
	margin-bottom: var(--spacing-md);
	color: var(--secondary);
}

.archive-description {
	font-size: var(--fs-lg);
	color: var(--gray);
	max-width: 600px;
	margin: var(--spacing-lg) auto 0;
}

/* ===========================
   ACCESSIBILITY
   =========================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ===========================
   SHIPPING PROVIDER LIST PAGE
   Styles for [shipping_provider_list] shortcode
   =========================== */

/* Search wrapper (note: plugin uses "serach" typo) */
.provider-serach-warapper {
	max-width: 640px;
	margin: 40px auto;
	padding: 0 16px;
	background: transparent;
	position: relative;
	z-index: 1;
}

/* Kill the plugin's decorative grey :before band */
.provider-serach-warapper::before {
	display: none !important;
	content: none !important;
	background: transparent !important;
	height: 0 !important;
}

.provider-serach-warapper .search-box {
	position: relative;
	background: var(--white);
	border-radius: 50px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	max-width: 100% !important;
}

/* Override plugin's #search_provider styles (height: 80px, etc.) */
input#search_provider,
#search_provider {
	width: 100% !important;
	height: auto !important;
	padding: 18px 24px 18px 56px !important;
	border: 1px solid transparent !important;
	border-radius: 50px !important;
	font-size: 16px !important;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 16px center;
	color: var(--dark) !important;
	margin: 0 !important;
	box-shadow: none !important;
	font-family: inherit;
	transition: border-color var(--transition-fast),
				box-shadow var(--transition-fast);
}

#search_provider::placeholder {
	font-size: 18px;
	color: #9e9e9e;
}

#search_provider:focus {
	outline: none !important;
	border-color: var(--primary) !important;
	box-shadow: 0 0 0 4px rgba(9, 211, 172, 0.15) !important;
}

/* Search icon - override plugin's right/top positioning */
.provider-serach-warapper i.icon-search,
.provider-serach-warapper .icon-search {
	position: absolute !important;
	left: 22px !important;
	right: auto !important;
	top: 50% !important;
	transform: translateY(-50%);
	width: 22px;
	height: 22px;
	margin: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
	pointer-events: none;
	z-index: 2;
	color: transparent;
	font-size: 0;
}

/* Hide any icon font characters that may render */
.provider-serach-warapper i.icon-search::before {
	content: '' !important;
	display: none !important;
}

/* Override Material Design Lite grid class from plugin */
.provider-list.mdl-grid,
.provider-list.grid-row {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 20px;
	padding: 0 40px;
	margin: 0 auto 40px;
	width: 100%;
}

/* Mobile padding adjustment */
@media (max-width: 768px) {
	.provider-list,
	.provider-list.mdl-grid,
	.provider-list.grid-row {
		padding: 0 16px !important;
	}
}

/* Add breathing room before the load more button area */
.provider-list ~ .text-center {
	margin-top: 32px;
	margin-bottom: 16px;
}

/* Spacing for the gap div between grid and load more */
.provider-list ~ .gap-element {
	height: 24px !important;
}

/* Hide providers beyond 35 by default (load-more reveals them) */
.provider-block.thirtyfivehidden {
	display: none !important;
}

/* Individual provider card */
.provider-block {
	background: var(--white) !important;
	border: 1px solid var(--lighter-gray) !important;
	border-radius: 10px !important;
	padding: 20px 16px !important;
	margin: 0 !important;
	text-align: center;
	transition: transform var(--transition-base),
				box-shadow var(--transition-base),
				border-color var(--transition-base);
	min-height: 130px;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.provider-block:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
	border-color: var(--primary) !important;
}

.provider-block a {
	text-decoration: none !important;
	color: inherit !important;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	height: auto;
	margin: 0 !important;
	padding: 0 !important;
}

.provider-block a:hover {
	text-decoration: none;
}

.provider-content {
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Override plugin's title styles (padding-right: 10px etc) */
.provider-title {
	font-size: 14px;
    line-height: 1.3;
    word-break: break-word;
}

.provider-block:hover .provider-title {
	color: var(--primary) !important;
}

.provider-image img {
	width: 50px;
}

.provider-block:hover .provider-title {
	color: var(--primary);
}

/* "No results" state - hidden by default, shown only when search has no matches */

/* Hide the image element itself */
img.unknown_img {
	display: none !important;
}

/* Hide the div wrapper that contains the heading */
div.unknown_img {
	display: none;
	margin: 40px auto;
	text-align: center;
}

/* Hide the unnamed wrapper div around the image (modern browsers via :has()) */
/* REMOVED - was blocking .providers-no-results section */

/* JS-added fallback class to hide the image wrapper div */
.unknown-img-wrapper {
	display: none !important;
}

/* ── Trust list (shared: hero sections, shipping providers) ── */
.shipping-providers-page .fp-trust-list {
	justify-content: center;
}
.fp-trust-item svg { color: #09d3ac; flex-shrink: 0; }

/* ── Shipping Providers page ── */
#search_provider:focus { border-color: #09d3ac; box-shadow: 0 0 0 3px rgba(9,211,172,0.12); }
#search_provider::placeholder { color: #94a3b8; }

.providers-no-results {
	display: none;
	text-align: center;
	margin-bottom: 40px;
}
.providers-no-results.active { display: block; }
.providers-no-results__icon {
	width: 80px; height: 80px;
	background: rgba(9,211,172,0.1);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 20px;
	color: #09d3ac;
}
.providers-no-results__title {
	font-size: 20px; font-weight: 700; color: #0f172a; margin: 0 0 10px;
}
.providers-no-results__text {
	font-size: 15px; color: #64748b; line-height: 1.6; margin: 0 0 24px;
}
.providers-no-results__query { color: #0f172a; }

/* When the no-results state is active, show all unknown elements */
.providers-no-results img.unknown_img {
	display: block !important;
	max-width: 220px;
	margin: 0 auto 16px;
}

.providers-no-results div.unknown_img,
.providers-no-results .unknown-img-wrapper,
.providers-no-results div:has(> img.unknown_img) {
	display: block !important;
}

.providers-load-more {
	text-align: center;
	margin: 0 auto 40px;
}

.providers-suggest {
	text-align: center;
	margin-bottom: 40px;
}

.providers-suggest a {
    font-weight: 600;
    transition: color 0.3s ease;
}

.providers-suggest a:hover {
  color: #07b99e;
  text-decoration: underline;
}

div.unknown_img h5 {
	font-size: 18px;
	color: var(--gray);
	margin: 0;
}

/* Load more button */
.loadmore_button {
	display: inline-block;
	padding: 12px 32px;
	background: var(--primary);
	color: var(--white);
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition-fast);
}

.loadmore_button:hover {
	background: var(--primary-dark);
	color: var(--white);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(9, 211, 172, 0.3);
}

.loadmore_button.is-hidden {
	display: none;
}

/* "Suggest a provider" line */
.provider-list ~ .text-center,
.loadmore_button ~ .text-center,
div.text-center > p {
	text-align: center;
	color: var(--gray);
	font-size: 15px;
	margin: 16px 0;
}

div.text-center > p > a {
	color: var(--primary);
	font-weight: 500;
}

div.text-center > p > a:hover {
	color: var(--primary-dark);
	text-decoration: underline;
}

/* === Responsive: tablet & mobile === */

/* Tablet (1024px and below): 4 cards per row */
@media (max-width: 1024px) {
	.provider-list,
	.provider-list.mdl-grid,
	.provider-list.grid-row {
		grid-template-columns: repeat(4, 1fr) !important;
		gap: 16px !important;
		padding: 0 24px !important;
	}
}

/* Mobile (768px and below): 3 cards per row */
@media (max-width: 768px) {
	.provider-serach-warapper {
		max-width: 100% !important;
	}

	.provider-list,
	.provider-list.mdl-grid,
	.provider-list.grid-row {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 12px !important;
		padding: 0 16px !important;
	}

	.provider-block {
		min-height: 110px !important;
		padding: 14px 8px !important;
	}

	.provider-block .provider-title {
		font-size: 12px !important;
	}
}

/* Small mobile (480px and below): 2 cards per row */
@media (max-width: 480px) {
	.provider-list,
	.provider-list.mdl-grid,
	.provider-list.grid-row {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px !important;
		padding: 0 12px !important;
	}

	.provider-block {
		min-height: 110px !important;
		padding: 12px 6px !important;
	}
	/* Logo size kept at 50x50 on all screens */
}

/* ===========================
   SHIPPING PROVIDERS HERO ENHANCEMENT
   Targets the hero section containing .b-dots title
   =========================== */

/* Enhanced hero section with gradient background and decorative elements */
.ts-section:has(.b-dots) {
	background: #F8FAFE !important;
	position: relative;
	overflow: hidden;
	padding: 50px 0 !important;
}

/* Decorative floating shapes */
.ts-section:has(.b-dots)::before {
	content: '';
	position: absolute;
	top: -160px;
	right: -80px;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(9,211,172,0.09) 0%, transparent 70%);
	pointer-events: none;
}

.ts-section:has(.b-dots)::after {
	content: '';
	position: absolute;
	bottom: -80px;
	left: -60px;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
	pointer-events: none;
}

.ts-section:has(.b-dots) .ts-section-inner {
	position: relative;
	z-index: 2;
}

/* The colored dots before and after the title */
h1.b-dots::before {
	content: '';
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--secondary);   /* #124ed6 blue */
	margin-right: 18px;
	vertical-align: middle;
	box-shadow: 0 0 0 4px rgba(18, 78, 214, 0.12);
	animation: pulseBlue 2s ease-in-out infinite;
}

h1.b-dots::after {
	content: '';
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #f97316;            /* orange */
	margin-left: 18px;
	vertical-align: middle;
	box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
	animation: pulseOrange 2s ease-in-out infinite 0.5s;
}

@keyframes pulseBlue {
	0%, 100% { box-shadow: 0 0 0 4px rgba(18, 78, 214, 0.12); }
	50% { box-shadow: 0 0 0 8px rgba(18, 78, 214, 0.05); }
}

@keyframes pulseOrange {
	0%, 100% { box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12); }
	50% { box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.05); }
}

/* Description paragraph next to .b-dots */
.ts-section:has(.b-dots) p {
	font-size: 18px !important;
	color: #475569;
	line-height: 1.7 !important;
	max-width: 720px;
	margin: 0 auto !important;
	text-align: center;
}

.ts-section:has(.b-dots) p strong {
	color: var(--primary);
	font-weight: 700;
	font-size: 1.1em;
	display: inline-block;
	padding: 2px 8px;
	background: rgba(9, 211, 172, 0.1);
	border-radius: 6px;
}

/* Add trust badges below the description */
.ts-section:has(.b-dots) .ts-section-inner::after {
	content: '🌍 Worldwide Coverage  •  ⚡ Real-Time Updates  •  🔄 Auto-Sync';
	display: block;
	margin-top: 36px;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	color: #64748B;
	letter-spacing: 0.02em;
}

/* Mobile adjustments for hero */
@media (max-width: 768px) {
	.ts-section:has(.b-dots) {
		padding: 28px 0 32px !important;
	}

	h1.b-dots,
	h2.b-dots {
		font-size: 32px !important;
	}

	h1.b-dots::before,
	h1.b-dots::after {
		width: 8px;
		height: 8px;
		margin-left: 10px;
		margin-right: 10px;
	}

	.ts-section:has(.b-dots) p {
		font-size: 16px !important;
		padding: 0 16px;
	}

	.ts-section:has(.b-dots) .ts-section-inner::after {
		font-size: 12px;
		margin-top: 24px;
	}
}

@media (max-width: 480px) {
	h1.b-dots,
	h2.b-dots {
		font-size: 28px !important;
	}
	.ts-section:has(.b-dots) .ts-section-inner::after {
		content: '🌍 Worldwide  •  ⚡ Real-Time  •  🔄 Auto-Sync';
	}
}

/* =================================================
   SINGLE SHIPPING PROVIDER PAGE
   ================================================= */

.single-shipping-provider .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- HERO ---------- */
.provider-hero {
	position: relative;
	overflow: hidden;
	background: #F8FAFE;
	padding: 40px 0 60px;
}
.provider-hero::before, .provider-hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.provider-hero::before { width: 500px; height: 500px; top: -160px; right: -80px; background: radial-gradient(circle, rgba(9,211,172,0.09) 0%, transparent 70%); }
.provider-hero::after  { width: 280px; height: 280px; bottom: -80px; left: -60px; background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%); }

.provider-hero-bg-shape {
	position: absolute;
	pointer-events: none;
	border-radius: 50%;
}
.provider-hero-bg-shape--right {
	top: -120px;
	right: -120px;
	width: 360px;
	height: 360px;
	background: radial-gradient(circle, rgba(9, 211, 172, 0.18) 0%, transparent 70%);
}
.provider-hero-bg-shape--left {
	bottom: -150px;
	left: -150px;
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, rgba(18, 78, 214, 0.12) 0%, transparent 70%);
}

.provider-hero-inner {
	position: relative;
	z-index: 2;
}

/* Hero grid */
.provider-hero-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 60px;
	align-items: center;
}

/* Badge — now uses shared .fp-badge class */

.provider-hero-title-accent {
	display: block;
	background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-top: 6px;
	font-size: 0.7em;
}

.provider-hero-lead {
	font-size: 18px;
	color: #475569;
	line-height: 1.7;
	margin: 0 0 28px 0;
	max-width: 540px;
}

/* Meta pills */
.provider-hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
}
.provider-meta-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 50px;
	font-size: 14px;
	color: #475569;
	text-decoration: none;
	transition: all 0.2s;
}
.provider-meta-pill svg { color: var(--primary); flex-shrink: 0; }
a.provider-meta-pill:hover {
	border-color: var(--primary);
	color: #0F172A;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	text-decoration: none;
}

/* CTA buttons */
.provider-hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Button outline style - placed here for proper cascade */
.btn-outline {
	background: transparent !important;
	color: var(--secondary) !important;
	border: 1.5px solid var(--secondary) !important;
	padding: 12px 26px !important;
	font-size: 15px !important;
	border-radius: 8px !important;
}

.btn-outline:hover {
	background: var(--secondary) !important;
	color: #fff !important;
	text-decoration: none !important;
	border-color: var(--secondary) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(18, 78, 214, 0.3);
}

/* Hero visual (right) */
.provider-hero-visual { position: relative; }

.provider-hero-logo-card {
	position: relative;
	background: #fff;
	border-radius: 24px;
	padding: 60px 40px;
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08),
				0 8px 20px rgba(15, 23, 42, 0.04);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	overflow: hidden;
}

.provider-hero-logo {
	position: relative;
	z-index: 2;
	max-width: 260px;
	max-height: 200px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.provider-hero-logo--small {
	max-width: 120px;
	max-height: 120px;
}
.provider-hero-logo-fallback {
	font-size: 80px;
	font-weight: 600;
	color: var(--primary);
	letter-spacing: -0.04em;
}

.provider-hero-logo-ring {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 320px;
	height: 320px;
	border-radius: 50%;
	border: 2px dashed rgba(9, 211, 172, 0.2);
	animation: ringSpin 30s linear infinite;
}
.provider-hero-logo-ring::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 200px;
	height: 200px;
	border-radius: 50%;
	border: 2px dashed rgba(18, 78, 214, 0.15);
}
@keyframes ringSpin {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Stats below logo */
.provider-hero-stats {
	display: flex;
	align-items: center;
	justify-content: space-around;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	padding: 20px 16px;
	margin-top: 20px;
}
.stat-item { text-align: center; }
.stat-value {
	font-size: 28px;
	font-weight: 600;
	color: var(--primary);
	line-height: 1.1;
	margin-bottom: 4px;
}

/* Coverage stat may contain a country name — shrink if it's too long */
.stat-value-coverage {
	font-size: 22px;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.stat-label {
	font-size: 13px;
	color: #64748B;
	font-weight: 500;
}
.stat-divider {
	width: 1px;
	height: 36px;
	background: #E2E8F0;
}

/* ---------- DETAILS (About + Tracking Patterns) ---------- */
.provider-details {
	padding: 70px 0;
	background: #fff;
}
.provider-details-grid { display: grid; gap: 24px; }
.provider-details-grid.is-two-col { grid-template-columns: 1fr 1fr; }
.provider-details-grid.is-one-col {
	grid-template-columns: 1fr;
	max-width: 900px;
	margin: 0 auto;
}

.detail-card {
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	padding: 32px;
	transition: all 0.3s;
}
.detail-card:hover {
	border-color: var(--primary);
	box-shadow: 0 12px 28px rgba(9, 211, 172, 0.08);
}
.detail-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: rgba(9, 211, 172, 0.1);
	color: var(--primary);
	border-radius: 12px;
	margin-bottom: 18px;
}
.detail-card-title {
	margin: 0 0 8px 0;
}
.detail-card-subtitle {
	font-size: 14px;
	color: #64748B;
	margin: 0 0 16px 0;
}
.detail-card-body { color: #475569; line-height: 1.7; }
.detail-card-body p { margin: 0 0 12px 0; }
.detail-card-body p:last-child { margin-bottom: 0; }
.detail-card-body code {
	display: inline-block;
	padding: 3px 8px;
	background: #F1F5F9;
	border-radius: 4px;
	font-family: 'Menlo', 'Monaco', monospace;
	font-size: 13px;
	color: var(--secondary);
}
.detail-card-body ul { padding-left: 0; list-style: none; }
.detail-card-body ul li {
	padding: 8px 0;
	border-bottom: 1px solid #F1F5F9;
}
.detail-card-body ul li:last-child { border-bottom: none; }

/* ---------- COUNTRIES ---------- */
.provider-countries-section {
	padding: 70px 0;
	background: #F8FAFE;
}
.provider-countries-header {
	text-align: center;
	margin-bottom: 32px;
}
.provider-countries-header h2 {
	font-size: 32px;
	font-weight: 700;
	color: #0F172A;
	margin: 0 0 8px 0;
}
.provider-countries-header p { color: #64748B; margin: 0; }

.provider-countries-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}
.country-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 50px;
	font-size: 14px;
	color: #475569;
	transition: all 0.2s;
}
.country-chip:hover {
	border-color: var(--primary);
	color: #0F172A;
}
.country-chip svg { color: var(--primary); flex-shrink: 0; }

/* ---------- EXTRA CONTENT ---------- */
.provider-extra-content { padding: 50px 0; }
.provider-extra-content .container { max-width: 900px; }

/* ---------- RELATED PROVIDERS ---------- */
.provider-related {
	padding: 70px 0;
	background: #F8FAFE;
}
.provider-related-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 32px;
	gap: 20px;
}
.provider-related-header h2 {
	margin: 0;
}
.provider-related-viewall {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
	font-size: 14px;
	transition: gap 0.2s;
}
.provider-related-viewall:hover {
	color: var(--primary-dark);
	gap: 8px;
	text-decoration: none;
}

.provider-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 16px;
}

.related-provider-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 20px 16px;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: all 0.2s;
	min-height: 130px;
}
.related-provider-card:hover {
	border-color: var(--primary);
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(9, 211, 172, 0.08);
	text-decoration: none;
}
.related-provider-logo {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.related-provider-logo img {
	width: 50px;
	height: 50px;
	object-fit: contain;
}
.related-provider-name {
	font-size: 14px;
	font-weight: 500;
	color: #334155;
	text-align: center;
}
.related-provider-card:hover .related-provider-name {
	color: var(--primary);
}

/* ---------- CTA ---------- */
/* Replaced by shared template-parts/cta-banner.php */

/* ---------- SINGLE PROVIDER RESPONSIVE ---------- */
@media (max-width: 1024px) {
	.provider-hero-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	/* Image first, stats hidden on mobile */
	.provider-hero-visual { order: -1; max-width: 100%; width: 100%; }
	.provider-hero-stats  { display: none; }

	/* Centre-align the text column when stacked */
	.provider-hero-content {
		text-align: center;
	}
	.provider-hero-meta { justify-content: center; }
	.provider-hero-cta  { justify-content: center; }
	.provider-badge     { justify-content: center; }

	.provider-details-grid.is-two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	.single-shipping-provider .container { padding: 0 16px; }
	.provider-hero { padding: 28px 0 40px; }
	.provider-hero-lead { font-size: 16px; }
	.provider-hero-logo-card {
		padding: 40px 24px;
		min-height: 220px;
	}
	.provider-hero-logo {
		max-width: 200px;
		max-height: 150px;
	}
	.provider-hero-logo-ring {
		width: 240px;
		height: 240px;
	}
	.provider-hero-logo-ring::before {
		width: 160px;
		height: 160px;
	}
	.provider-details,
	.provider-countries-section,
	.provider-related,
	.provider-cta { padding: 50px 0; }
	.detail-card { padding: 24px; }
	.provider-countries-header h2 { font-size: 26px; }
	.provider-related-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.provider-cta-box h2 { font-size: 28px; }
	.stat-value { font-size: 24px; }
	.btn { padding: 11px 22px; font-size: 14px; }
	.btn-lg { padding: 14px 28px; font-size: 15px; }
}

@media (max-width: 480px) {
	.provider-hero-cta {
		flex-direction: column;
		align-items: stretch;
	}
	.provider-hero-cta .btn { justify-content: center; }
	.provider-related-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

/* ═══════════════════════════════════════════
   HOMEPAGE STYLES
═══════════════════════════════════════════ */

/* ── Shared section primitives ── */
.hp-section-label {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--primary);
	background: rgba(9, 211, 172, 0.10);
	padding: 8px 14px;
	border-radius: 999px;
	margin-bottom: 16px;
}
.hp-section-label--light { color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.12); }

.hp-section-title {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--dark);
	margin: 0 0 20px;
}
.hp-section-title--white { color: #fff; }

.hp-section-sub {
	font-size: 18px;
	line-height: 1.7;
	color: var(--gray);
	max-width: 640px;
	margin: 0 auto 0;
}
.hp-section-sub--light { color: rgba(255,255,255,0.75); }

/* ── Shared btn additions ── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.18s ease;
	border: 2px solid transparent;
	cursor: pointer;
	white-space: nowrap;
}
.btn-primary {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
	padding: 12px 26px;
}
.btn-primary:hover {
	background: var(--primary-dark);
	border-color: var(--primary-dark);
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(9,211,172,0.35);
}
.btn-ghost {
	background: transparent;
	color: var(--dark);
	border-color: var(--lighter-gray);
	padding: 12px 26px;
}
.btn-ghost:hover {
	border-color: var(--primary);
	color: var(--primary);
	text-decoration: none;
}
.btn-cta {
	background: #fff;
	color: var(--secondary);
	border-color: #fff;
	padding: 14px 36px;
	font-size: 17px;
	border-radius: 12px;
}
.btn-cta:hover {
	background: rgba(255,255,255,0.9);
	color: var(--secondary);
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(0,0,0,0.20);
}
.btn-lg { font-size: 16px; padding: 14px 32px; }


.hp-hero__play-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--secondary);
	color: #fff;
	flex-shrink: 0;
}

/* ── FEATURE CARDS ── */
.hp-features {
	padding: 60px 0;
	background: #fff;
}
.hp-features__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.hp-feat-card {
	background: #F8FAFE;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	padding: 32px 28px;
	text-align: left;
	transition: box-shadow 0.2s, transform 0.2s;
}
.hp-feat-card:hover,
.hp-feat-card--active {
	box-shadow: 0 8px 32px rgba(15,23,42,0.10);
	transform: translateY(-2px);
}
.hp-feat-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	margin: 0 0 20px;
}
.hp-feat-card__icon--track    { background: rgba(9,211,172,0.12);  color: var(--primary); }
.hp-feat-card__icon--automate { background: rgba(37,99,235,0.10);  color: var(--secondary); }
.hp-feat-card__icon--engage   { background: rgba(239,68,68,0.08);  color: #ef4444; }
.hp-feat-card__title {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: #1e293b;
	margin: 0 0 10px;
	line-height: 1.3;
}
.hp-feat-card__desc {
	font-size: 14px;
	line-height: 1.65;
	color: #64748b;
	margin: 0;
}
.hp-feat-card__desc a { color: var(--primary); text-decoration: none; }
.hp-feat-card__desc a:hover { text-decoration: underline; }

/* ── BENEFITS ── */
.hp-benefits {
	padding: 80px 0;
	background: #F8FAFE;
	text-align: center;
}
.hp-benefits__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 60px;
	margin-top: 48px;
	text-align: left;
}
.hp-benefits__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.hp-benefits__list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--dark-gray);
	padding: 14px 0;
	border-bottom: 1px solid var(--lighter-gray);
}
.hp-benefits__list li:last-child { border-bottom: none; }
.hp-check {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

/* ── HOW IT WORKS ── */
.hp-how {
	padding: 80px 0;
	background: var(--secondary);
	text-align: center;
	position: relative;
	overflow: hidden;
}
.hp-how::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.4) 0%, transparent 70%);
	pointer-events: none;
}
.hp-how .container { position: relative; z-index: 1; }

.hp-how__steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin-top: 56px;
}
.hp-how__step {
	flex: 1;
	max-width: 200px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 20px;
	padding: 32px 20px 28px;
	text-align: center;
	transition: background 0.2s ease, transform 0.2s ease;
}
.hp-how__step:hover {
	background: rgba(255,255,255,0.13);
	transform: translateY(-4px);
}
.hp-how__step-icon {
	width: 60px;
	height: 60px;
	border-radius: 16px;
	background: rgba(9,211,172,0.18);
	color: #09d3ac;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}
.hp-how__step-num {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #09d3ac;
	margin-bottom: 10px;
	text-transform: uppercase;
}
.hp-how__step-title {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 10px;
}
.hp-how__step-desc {
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255,255,255,0.65);
	margin: 0;
}
.hp-how__connector {
	flex-shrink: 0;
	padding: 0 8px;
	margin-bottom: 40px;
}
@media (max-width: 768px) {
	.hp-how__steps {
		flex-direction: column;
		gap: 16px;
		align-items: stretch;
	}
	.hp-how__step { max-width: 100%; text-align: left; display: flex; gap: 16px; align-items: flex-start; }
	.hp-how__step-icon { flex-shrink: 0; margin-bottom: 0; }
	.hp-how__step-num { margin-bottom: 4px; }
	.hp-how__connector { display: none; }
}

/* ── SPLIT SECTIONS ── */
.hp-split { padding: 80px 0; }
.hp-split--tinted { background: #F8FAFE; }
.hp-split__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
.hp-split--alt .hp-split__inner { }
.hp-split__text { }
.hp-split__title {
	font-size: clamp(24px, 3.5vw, 36px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--dark);
	margin: 0 0 16px;
}
.hp-split__lead {
	font-size: 17px;
	font-weight: 600;
	color: var(--dark-gray);
	margin: 0 0 12px;
}
.hp-split__body {
	font-size: 16px;
	line-height: 1.75;
	color: var(--gray);
	margin: 0 0 16px;
}
.hp-split__body a { color: var(--primary); }
.hp-split__text .btn { margin-top: 12px; }
.hp-split__visual img { width: 100%; height: auto; border-radius: 16px; }

/* ── ACCORDION ── */
.hp-accordion { margin-top: 24px; }
.hp-accordion__item {
	border-bottom: 1px solid var(--lighter-gray);
}
.hp-accordion__item:first-child { border-top: 1px solid var(--lighter-gray); }
.hp-accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	font-weight: 600;
	font-size: 16px;
	color: var(--dark);
	cursor: pointer;
	list-style: none;
	gap: 16px;
}
.hp-accordion__summary::-webkit-details-marker { display: none; }
.hp-accordion__summary:hover { color: var(--primary); }
.hp-accordion__chevron { flex-shrink: 0; transition: transform 0.2s ease; }
details[open] .hp-accordion__chevron { transform: rotate(180deg); }
details[open] > .hp-accordion__summary { color: var(--primary); }
.hp-accordion__body {
	font-size: 15px;
	line-height: 1.7;
	color: var(--gray);
	padding: 0 0 18px;
}

/* ── ENGAGE GRID ── */
.hp-engage-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.hp-engage-card {
	background: #fff;
	border: 1px solid var(--lighter-gray);
	border-radius: 16px;
	padding: 28px 20px;
	text-align: center;
	transition: all 0.2s ease;
}
.hp-engage-card:hover {
	border-color: var(--primary);
	box-shadow: 0 6px 20px rgba(9,211,172,0.12);
	transform: translateY(-2px);
}
.hp-engage-card__icon {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: rgba(9,211,172,0.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}
.hp-engage-card__label {
	font-size: 14px;
	font-weight: 600;
	color: var(--dark-gray);
	margin: 0;
	line-height: 1.4;
}


/* ═══════════════════════════════════════
   HOMEPAGE RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
	.hp-hero__inner  { grid-template-columns: 1fr; gap: 40px; }
	.hp-hero__visual { order: -1; }
	.hp-hero__lead   { max-width: 100%; }
	.hp-split__inner { grid-template-columns: 1fr; gap: 40px; }
	.hp-split--alt .hp-split__visual { order: -1; }
	.hp-features__grid { grid-template-columns: 1fr; gap: 16px; }
	.hp-benefits__grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 640px) {
	.hp-hero { padding: 48px 0 40px; }
	.hp-hero__cta { flex-direction: column; align-items: stretch; }
	.hp-hero__cta .btn { justify-content: center; }
	.hp-features, .hp-benefits, .hp-how,
	.hp-split { padding: 56px 0; }
	.hp-engage-grid { grid-template-columns: 1fr; }
	.btn-cta { width: 100%; justify-content: center; }
}

/* ================================================================
   FEATURE PAGES  (.fp-*)
   ================================================================ */

.fp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: #124ed6;
	background: rgba(18,78,214,0.08);
	border-radius: 999px;
	padding: 8px 14px;
	margin-bottom: 20px;
}
.fp-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: #124ed6; flex-shrink: 0; }

.fp-hero {
	padding: 80px 0 72px;
	background: #F8FAFE;
	position: relative;
	overflow: hidden;
}
.fp-hero::before, .fp-hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.fp-hero::before { width: 500px; height: 500px; top: -160px; right: -80px; background: radial-gradient(circle, rgba(9,211,172,0.09) 0%, transparent 70%); }
.fp-hero::after  { width: 280px; height: 280px; bottom: -80px; left: -60px; background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%); }
.fp-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.fp-hero__content h1 { line-height: 1.15; }
.fp-hero__lead  { font-size: 17px; line-height: 1.75; color: #475569; margin-bottom: 32px; }
.fp-hero__cta   { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.fp-hero__sub   { font-size: 13px; color: #94a3b8; margin-top: 16px; }

/* ── Trust Badges (shared: home hero + feature heroes) ── */
.fp-trust-list {
	list-style: none; padding: 0; margin: 20px 0 0;
	display: flex; gap: 8px; flex-wrap: wrap;
}
.fp-trust-item {
	display: flex; align-items: center; gap: 8px;
	font-size: 13px; color: #94a3b8;
	padding: 7px 14px; border-radius: 8px;
	transition: all .3s ease;
}
.fp-trust-item::before {
	content: '✓';
	display: inline-flex; align-items: center; justify-content: center;
	width: 18px; height: 18px;
	background: rgba(9,211,172,.12); color: #09d3ac;
	border-radius: 4px; font-weight: 700; font-size: 11px;
	flex-shrink: 0; transition: all .3s ease;
}
.fp-trust-item:hover {
	color: #09d3ac; background: rgba(9,211,172,.08);
}
.fp-trust-item:hover::before {
	background: #09d3ac; color: #fff; transform: scale(1.15);
}

/* Dark hero variant (homepage hero has dark bg) */
.fp-hero .fp-trust-item { color: #94a3b8; }
.fp-hero .fp-trust-item:hover { color: #09d3ac; }
.fp-hero__visual { display: flex; align-items: center; justify-content: center; }
.fp-hero__visual img { width: 100%; max-width: 540px; height: auto; filter: drop-shadow(0 20px 40px rgba(15,23,42,0.08)); }

.fp-grid { padding: 80px 0; background: white; }
.fp-grid__header { text-align: center; margin-bottom: 48px; }
.fp-grid__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #09d3ac; margin-bottom: 10px; }
.fp-grid__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fp-grid__row--4 { grid-template-columns: repeat(4, 1fr); }
.fp-grid__card { background: #F8FAFE; border-radius: 16px; padding: 32px 28px; border: 1px solid #E2E8F0; transition: box-shadow 0.2s, transform 0.2s; }
.fp-grid__card:hover { box-shadow: 0 8px 32px rgba(15,23,42,0.10); transform: translateY(-2px); }
.fp-grid__icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(9,211,172,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: #09d3ac; }
.fp-grid__icon--blue   { background: rgba(37,99,235,0.10);  color: #2563eb; }
.fp-grid__icon--orange { background: rgba(249,115,22,0.10); color: #f97316; }
.fp-grid__icon--purple { background: rgba(139,92,246,0.10); color: #8b5cf6; }
.fp-grid__card-title { font-size: 17px; margin-bottom: 10px; }
.fp-grid__card-desc  { font-size: 14px; line-height: 1.65; color: #64748b; margin: 0; }

.fp-split { padding: 80px 0; background: #F8FAFE; }
.fp-split--white { background: white; }
.fp-split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fp-split__inner--reverse .fp-split__visual { order: -1; }
.fp-split__content > p { font-size: 16px; line-height: 1.75; color: #475569; margin-bottom: 24px; }
.fp-split__list { list-style: none; padding: 0; margin: 0 0 28px; }
.fp-split__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #475569; margin-bottom: 14px; line-height: 1.5; }
.fp-split__check { flex-shrink: 0; margin-top: 1px; }
.fp-split__visual { display: flex; align-items: center; justify-content: center; }
.fp-split__visual img { width: 100%; max-width: 520px; height: auto; filter: drop-shadow(0 16px 32px rgba(15,23,42,0.08)); }

@media (max-width: 1024px) {
	.fp-hero__inner,
	.fp-split__inner { grid-template-columns: 1fr; gap: 40px; }
	.fp-hero__visual { order: -1; }
	.fp-split__inner--reverse .fp-split__visual { order: 0; }
	.fp-grid__row,
	.fp-grid__row--4 { grid-template-columns: repeat(2, 1fr); }
	.fp-hero { padding: 60px 0 52px; }
}
@media (max-width: 640px) {
	.fp-hero { padding: 48px 0 40px; }
	.fp-hero__cta { flex-direction: column; align-items: stretch; }
	.fp-hero__cta .btn { justify-content: center; }
	.fp-grid__row { grid-template-columns: 1fr; }
	.fp-split, .fp-grid { padding: 56px 0; }
}

/* ══════════════════════════════════════════
   PLATFORM PAGE (ParcelPanel-style layout)
   ══════════════════════════════════════════ */

/* ── Platform hero ── */
.fp-phero {
	background: #F8FAFE;
	padding: 72px 0 64px;
	position: relative;
	overflow: hidden;
}
.fp-phero::before, .fp-phero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.fp-phero::before { width: 500px; height: 500px; top: -160px; right: -80px; background: radial-gradient(circle, rgba(9,211,172,0.09) 0%, transparent 70%); }
.fp-phero::after  { width: 280px; height: 280px; bottom: -80px; left: -60px; background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%); }
.fp-phero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: center;
}
.fp-phero__logo-wrap {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 20px;
}
.fp-phero__icon {
	width: 72px;
	height: 72px;
	border-radius: 18px;
	flex-shrink: 0;
}
.fp-phero__platform-name {
	margin: 0;
}
.fp-phero__platform-sub {
	font-size: 0.95rem;
	color: #94a3b8;
	margin-top: 4px;
}
.fp-phero__tagline {
	font-size: 1.05rem;
	font-weight: 600;
	color: #475569;
	margin-bottom: 20px;
	line-height: 1.5;
}
.fp-phero__bullets {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.fp-phero__bullets li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.95rem;
	color: #1e293b;
	line-height: 1.5;
}
.fp-phero__bullets li svg { flex-shrink: 0; margin-top: 2px; }
.fp-phero__cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}
.btn-pill-dark {
	background: #0f172a;
	color: white;
	border: 2px solid #0f172a;
	border-radius: 100px;
	padding: 13px 28px;
	font-size: 0.95rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s;
	cursor: pointer;
}
.btn-pill-dark:hover { background: #1e293b; border-color: #1e293b; color: white; }
.btn-pill-outline {
	background: transparent;
	color: #0f172a;
	border: 2px solid #CBD5E1;
	border-radius: 100px;
	padding: 13px 28px;
	font-size: 0.95rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s;
	cursor: pointer;
}
.btn-pill-outline:hover { border-color: #09d3ac; color: #09d3ac; }
.fp-phero__ratings {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.fp-prating {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #F8FAFE;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
	padding: 6px 12px;
}
.fp-prating__source { font-size: 0.72rem; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 0.04em; }
.fp-prating__stars { color: #f59e0b; font-size: 0.65rem; letter-spacing: -1px; }
.fp-prating__score { font-weight: 600; color: #1e293b; font-size: 0.85rem; }
.fp-phero__visual { display: flex; align-items: center; justify-content: center; }
.fp-phero__visual img { width: 100%; max-width: 540px; height: auto; filter: drop-shadow(0 16px 40px rgba(15,23,42,0.10)); }
.fp-phero__right { display: flex; align-items: center; justify-content: center; }
.fp-phero__right img { width: 100%; height: auto; filter: drop-shadow(0 16px 40px rgba(15,23,42,0.10)); }
.fp-phero__desc { font-size: 1.05rem; line-height: 1.75; color: #475569; margin: 0 0 28px; }
.fp-phero__content { display: flex; flex-direction: column; justify-content: center; }
.fp-phero__platform-logo { height: 60px; width: auto; max-width: 160px; flex-shrink: 0; object-fit: contain; }

/* ── Feature cards (3×2, image at top) ── */
.fp-fcards {
	background: #fff;
	padding: 80px 0;
}
.fp-fcards__header {
	text-align: center;
	margin-bottom: 48px;
}
.fp-fcards__label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #09d3ac;
	margin-bottom: 10px;
}
.fp-fcards__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.fp-fcard {
	background: white;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #E2E8F0;
	transition: box-shadow 0.2s, transform 0.2s;
}
.fp-fcard:hover { box-shadow: 0 8px 28px rgba(15,23,42,0.10); transform: translateY(-3px); }
.fp-fcard__img {
	width: 100%;
	height: 180px;
	overflow: hidden;
	background: #F1F5F9;
	display: flex;
	align-items: center;
	justify-content: center;
}
.fp-fcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fp-fcard__body { padding: 20px 22px 24px; }
.fp-fcard__title { font-size: 1rem; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.fp-fcard__desc { font-size: 0.875rem; color: #64748b; line-height: 1.6; margin: 0; }

/* ── Stats bar ── */
.fp-stats {
	background: #F8FAFE;
	padding: 44px 0;
}
.fp-stats__inner {
	display: flex;
	justify-content: center;
}
.fp-stats__item {
	flex: 1;
	text-align: center;
	padding: 0 36px;
	border-right: 1px solid #E2E8F0;
}
.fp-stats__item:last-child { border-right: none; }
.fp-stats__number {
	font-size: 2rem;
	font-weight: 600;
	color: #09d3ac;
	line-height: 1;
	margin-bottom: 8px;
	letter-spacing: -0.02em;
}
.fp-stats__label { font-size: 0.875rem; color: #64748b; font-weight: 500; }

/* ── How it works ── */
.fp-steps {
	padding: 80px 0;
	background: #fff;
}
.fp-steps__header { text-align: center; margin-bottom: 52px; }
.fp-steps__label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #09d3ac;
	margin-bottom: 10px;
}
.fp-steps__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.fp-steps__item {
	background: white;
	border-radius: 16px;
	padding: 32px 22px;
	text-align: center;
	border: 1px solid #E2E8F0;
}
.fp-steps__num {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, #09d3ac, #05b393);
	color: white;
	font-size: 1.1rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	box-shadow: 0 4px 14px rgba(9,211,172,0.28);
}
.fp-steps__step-title { font-size: 0.975rem; font-weight: 700; color: #1e293b; margin-bottom: 8px; }
.fp-steps__step-desc { font-size: 0.85rem; color: #64748b; line-height: 1.6; margin: 0; }

@media (max-width: 1024px) {
	.fp-phero__inner { grid-template-columns: 1fr; gap: 40px; }
	.fp-fcards__grid { grid-template-columns: repeat(2, 1fr); }
	.fp-steps__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.fp-phero { padding: 52px 0 44px; }
	.fp-fcards__grid { grid-template-columns: 1fr; }
	.fp-steps__grid { grid-template-columns: 1fr; }
	.fp-stats__inner { flex-wrap: wrap; }
	.fp-stats__item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid #E2E8F0; padding: 20px; }
	.fp-stats__item:nth-child(odd) { border-right: 1px solid #E2E8F0; }
	.fp-phero__logo-wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
	.fp-phero__cta { flex-direction: column; }
	.fp-phero__cta a { justify-content: center; }
}

/* ===========================
   HOMEPAGE SECTIONS (.hp-)
   =========================== */

.hp-hero {
	background: linear-gradient(135deg, #f0f9fb 0%, #e8f9f8 100%);
	padding: 80px 40px;
	width: 100%;
	margin: 0;
}

.hp-hero h1 {
	font-size: 3em;
	color: var(--secondary);
	text-align: center;
	margin: 30px 0;
}

.hp-hero p {
	text-align: center;
	font-size: 1.1em;
	color: #555;
	margin: 30px 0 40px;
}

.hp-features-wrapper {
	background: #f5f5f5;
	padding: 80px 40px;
	border-top: 3px solid var(--primary);
	margin: 0;
}

.hp-features {
	background: transparent;
	padding: 0;
	border: none;
	margin: 0;
}

/* hp-feat-card duplicate override removed — handled by the primary block above */

.hp-benefits-wrapper {
	background: #ffffff;
	padding: 80px 40px;
	border-top: 3px solid var(--accent);
	margin: 0;
}

.hp-benefits {
	background: transparent;
	padding: 0;
	border: none;
	margin: 0;
}

.hp-benefits__title {
	font-size: 1.8em;
	font-weight: 700;
	color: var(--secondary);
	text-align: center;
	margin: 30px 0;
}

.hp-benefits__list {
	list-style: none;
	padding-left: 0;
	color: #666;
	line-height: 1.8;
}

.hp-benefits__list li {
	padding-left: 30px;
	position: relative;
	margin-bottom: 15px;
}

.hp-benefits__list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: bold;
	font-size: 1.2em;
}

.hp-how {
	background: linear-gradient(135deg, var(--secondary) 0%, #16293c 100%);
	color: white;
	padding: 80px 40px;
	border-radius: 8px;
	margin: 40px 0;
}

.hp-how .wp-block-columns {
	gap: 40px;
}

.hp-how .wp-block-column {
	text-align: center;
	padding: 20px;
	background: transparent;
	border: none;
}

.hp-how__step-num {
	font-size: 3em;
	font-weight: 600;
	color: #09d3ac;
	margin: 20px 0;
	display: block;
}

.hp-how__step-title {
	color: white;
	font-weight: 700;
	margin: 20px 0;
	display: block;
	font-size: 1.2em;
}

.hp-how p {
	color: rgba(255,255,255,0.9);
	text-align: center;
}

.hp-split {
	background: #ffffff;
	padding: 60px 40px;
	margin: 0;
	border-radius: 0;
}

.hp-split--tinted {
	background: #f5f5f5;
}

.hp-split .wp-block-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	margin: 0;
}

.hp-split .wp-block-column {
	padding: 0;
	background: transparent;
	border: none;
}

.hp-split__title {
	font-size: 1.8em;
	font-weight: 600;
	color: var(--secondary);
	margin: 0 0 20px 0;
	line-height: 1.3;
}

.hp-split__body {
	color: #555;
	line-height: 1.7;
	margin: 0 0 25px 0;
	font-size: 1rem;
}

.hp-split__visual {
	text-align: center;
}

.hp-split__visual img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.wp-block-button__link {
	padding: 14px 32px !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	font-size: 1rem !important;
	transition: all 0.3s ease !important;
	cursor: pointer !important;
	border: none !important;
	text-decoration: none !important;
	display: inline-block !important;
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hp-btn-primary .wp-block-button__link {
	background-color: var(--primary) !important;
	color: white !important;
}

.hp-btn-primary .wp-block-button__link:hover {
	background-color: var(--primary-dark) !important;
}

.hp-btn-secondary .wp-block-button__link {
	background-color: transparent !important;
	color: var(--primary) !important;
	border: 2px solid var(--primary) !important;
}

.hp-btn-secondary .wp-block-button__link:hover {
	background-color: var(--primary) !important;
	color: white !important;
}

.wp-block-button {
	margin: 10px 0;
}

@media (max-width: 768px) {
	.hp-split .wp-block-columns {
		grid-template-columns: 1fr;
	}

	.hp-hero {
		padding: 40px 20px;
	}

	.hp-split {
		padding: 40px 20px;
	}

	.hp-how {
		padding: 40px 20px;
	}

	.hp-split__title {
		font-size: 1.5em;
	}
}

/* ── Legal page card layout ── */
.legal-page {
	background: #F8FAFE;
	padding: 48px 24px 64px;
	min-height: calc(100vh - 80px);
}

.legal-page > article {
	max-width: 1232px !important;
	margin: 0 auto !important;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	padding: 36px 48px !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.legal-page > article > .entry-content {
	padding: 0 !important;
	margin: 0 !important;
}

/* Strip inner wrapper styling — UX-Builder and Gutenberg blocks */
.legal-page .ts-section {
	background: transparent !important;
	padding: 0 !important;
}

.legal-page .ts-section-inner {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Reset Gutenberg group blocks inside the card */
.legal-page .wp-block-group,
.legal-page .wp-block-group__inner-container {
	background: transparent !important;
	border-radius: 0 !important;
	border: none !important;
	box-shadow: none !important;
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Strip inline card styling from UX-Builder column wrappers */
.legal-page .ts-col {
	background: transparent !important;
	border-radius: 0 !important;
	padding: 0 !important;
	flex: 1 1 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

@media (max-width: 768px) {
	.legal-page {
		padding: 24px 16px 48px;
	}
	.legal-page > article {
		padding: 32px 24px !important;
	}
}

/* ── Entry-content: heading styles ── */
.entry-content h2 {
	font-size: 1.375rem;
	font-weight: 700;
	color: #111827;
	margin: 2.5rem 0 0.75rem;
	line-height: 1.3;
	letter-spacing: -0.01em;
}
.entry-content h3 {
	font-size: 1.125rem;
	font-weight: 600;
	color: #111827;
	margin: 2rem 0 0.5rem;
	line-height: 1.4;
}
.entry-content h4 {
	font-size: 1rem;
	font-weight: 600;
	color: #374151;
	margin: 1.5rem 0 0.5rem;
	line-height: 1.4;
}
/* First heading in the content — no top margin */
.entry-content > h1:first-child,
.entry-content > h2:first-child,
.entry-content > h3:first-child {
	margin-top: 0;
}

/* CTA banner inside entry-content (pricing page) — restore white colors */
.entry-content .cta-banner__title {
	color: #fff !important;
	font-size: 24px;
	margin: 0 0 8px;
}
.entry-content .cta-banner__text {
	color: #e4e6e9 !important;
}

/* ── Entry-content: table styling (HTML tables + legacy .ts-row layout) ── */

/* HTML <table> */
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.93rem;
	line-height: 1.6;
	margin: 1.5rem 0 2rem;
}
.entry-content table thead th {
	color: #111827;
	font-weight: 600;
	text-align: left;
	padding: 12px 16px;
	border-bottom: 2px solid #e5e7eb;
}
.entry-content table tbody tr {
	border-bottom: 1px solid #e5e7eb;
}
.entry-content table tbody tr:last-child {
	border-bottom: none;
}
.entry-content table td {
	padding: 12px 16px;
	vertical-align: top;
	color: #374151;
}
.entry-content table td:first-child {
	width: 40%;
}
@media (max-width: 640px) {
	.entry-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* Legacy UX-Builder .ts-row layout (staging content) */
.entry-content .ts-row {
	background: transparent !important;
	border-radius: 0 !important;
	border: none !important;
	border-bottom: 1px solid #e5e7eb !important;
	padding: 12px 0 !important;
	gap: 0 !important;
	font-size: 0.93rem !important;
	line-height: 1.6 !important;
	margin: 0 !important;
}
.entry-content .ts-row:last-of-type {
	border-bottom: none !important;
}
.entry-content .ts-row:nth-child(even) {
	background: #f9fafb !important;
}
/* First column */
.entry-content .ts-row > div:first-child:not(:only-child) {
	color: #374151 !important;
	font-weight: 400 !important;
	padding: 0 24px 0 0 !important;
	flex: 0 0 40% !important;
	max-width: 40% !important;
}
/* Second column */
.entry-content .ts-row > div:not(:first-child) {
	color: #374151 !important;
	flex: 1 !important;
}

/* ══════════════════════════════════════════════════════════════════════
   FEATURES OVERVIEW PAGE  (page-features.php)
   ══════════════════════════════════════════════════════════════════════ */

/* Shared container */
.features-overview-page .fo-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ── Hero ── */
.fo-hero {
	background: #F8FAFE;
	padding: 80px 0 72px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.fo-hero::before, .fo-hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.fo-hero::before { width: 500px; height: 500px; top: -160px; right: -80px; background: radial-gradient(circle, rgba(9,211,172,0.09) 0%, transparent 70%); }
.fo-hero::after  { width: 280px; height: 280px; bottom: -80px; left: -60px; background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%); }
.fo-eyebrow {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #124ed6;
	background: rgba(18, 78, 214, 0.08);
	border-radius: 999px;
	padding: 8px 14px;
	margin-bottom: 20px;
}
.fo-subtitle {
	font-size: 1.125rem;
	color: #4b5563;
	max-width: 600px;
	margin: 0 auto 36px;
	line-height: 1.7;
}
.fo-hero-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ── Feature Grid ── */
.fo-features {
	padding: 80px 0;
	background: #fff;
}
.fo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

/* ── Feature Card ── */
.fo-card {
	background: #F8FAFE;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: box-shadow 0.2s, transform 0.2s;
}
.fo-card:hover {
	box-shadow: 0 8px 32px rgba(15,23,42,0.10);
	transform: translateY(-2px);
}
.fo-card-icon {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.fo-card-icon svg {
	width: 26px;
	height: 26px;
}
/* Icon colour variants */
.fo-icon--teal   { background: #f0fdfa; color: #0d9488; }
.fo-icon--blue   { background: #eff6ff; color: #2563eb; }
.fo-icon--green  { background: #f0fdf4; color: #16a34a; }
.fo-icon--orange { background: #fff7ed; color: #ea580c; }
.fo-icon--purple { background: #faf5ff; color: #7c3aed; }
.fo-icon--indigo { background: #eef2ff; color: #4338ca; }

.fo-card h2 {
	font-size: 1.1rem;
	font-weight: 700;
	color: #111827;
	line-height: 1.35;
	margin: 0;
}
.fo-card p {
	font-size: 0.93rem;
	color: #6b7280;
	line-height: 1.7;
	margin: 0;
	flex: 1;
}
.fo-card p strong {
	color: #374151;
	font-weight: 600;
}
.fo-card-link {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--primary);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 4px;
	transition: gap 0.15s ease, color 0.15s ease;
}
.fo-card-link:hover {
	gap: 8px;
	color: var(--primary-dark);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.fo-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 640px) {
	.fo-hero {
		padding: 56px 0 48px;
	}
	.fo-features,
	.fo-cta-section {
		padding: 56px 0;
	}
	.fo-grid {
		grid-template-columns: 1fr;
	}
}

/* ════════════════════════════════════════════
   PRICING PAGE
   ════════════════════════════════════════════ */

/* ── HERO ── */
.pricing-hero {
	background: #F8FAFE;
	padding: 60px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.pricing-hero::before, .pricing-hero::after {
	content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.pricing-hero::before { width: 500px; height: 500px; top: -160px; right: -80px; background: radial-gradient(circle, rgba(9,211,172,0.09) 0%, transparent 70%); }
.pricing-hero::after  { width: 280px; height: 280px; bottom: -80px; left: -60px; background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%); }
.pricing-hero .container { position: relative; z-index: 1; }
.pricing-hero__inner { max-width: 680px; margin: 0 auto; }
.pricing-hero__title {
	font-size: clamp(32px, 5vw, 44px); font-weight: 800;
	line-height: 1.12; letter-spacing: -0.025em;
	color: #1a1a2e; margin: 20px 0 40px;
}
.pricing-hero__accent { color: #09d3ac; }
.pricing-hero__sub { font-size: 17px; color: #6b7280; margin: 0 0 28px; line-height: 1.65; }
.pricing-trust-list {
	list-style: none; padding: 0; margin: 0;
	display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.pricing-trust-list li {
	display: flex; align-items: center; gap: 8px;
	font-size: 14px; color: #6b7280;
	padding: 8px 14px; border-radius: 8px;
	transition: all 0.25s ease;
}
.pricing-trust-list li::before {
	content: '✓'; display: inline-flex; align-items: center; justify-content: center;
	width: 18px; height: 18px; background: rgba(9,211,172,0.12); color: #09d3ac;
	border-radius: 3px; font-weight: 700; font-size: 11px; flex-shrink: 0;
}
.pricing-trust-list li:hover { color: #0a6b56; background: rgba(9,211,172,0.08); }

/* ── PRICING MAIN ── */
.pricing-main { background: #fff; padding: 64px 0 80px; }

/* ── SLIDER ── */
.pricing-slider { max-width: 640px; margin: 0 auto 40px; }
.pricing-slider__labels { display: flex; justify-content: space-between; font-size: 13px; color: #6b7280; margin-bottom: 8px; font-weight: 500; }
.pricing-slider__wrap { position: relative; height: 74px; }

.pricing-bubble {
	position: absolute; top: 0; left: 0; transform: translateX(-50%);
	background: #124ed6; color: #fff; font-size: 13px; font-weight: 700;
	padding: 5px 12px; border-radius: 20px; white-space: nowrap; z-index: 3;
}
.pricing-bubble::after {
	content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
	border: 5px solid transparent; border-top-color: #124ed6;
}
/* Track fill handled by CSS gradient on the input itself — hide the old overlay */
.pricing-track-bg { display: none; }

/* Range slider — mirrors front.css approach, scoped to pricing page */
.pricing-page .pricing-range {
	--min: 0; --max: 11; --val: 0;
	--ratio: calc((var(--val) - var(--min)) / (var(--max) - var(--min)));
	--sx: calc(0.5 * 1.5em + var(--ratio) * (100% - 1.5em));
	position: absolute; left: 0; top: 43px; width: 100%;
	height: 1.5em; margin: 0; padding: 0;
	-webkit-appearance: none; appearance: none;
	background: transparent; cursor: pointer; z-index: 1; display: block;font-size: 1em;
}
.pricing-page .pricing-range::-webkit-slider-runnable-track {
	-webkit-box-sizing: border-box; box-sizing: border-box;
	border: 0; border-radius: 4px; width: 100%; height: .5em;
	background: linear-gradient(#09d3ac,#09d3ac) 0/var(--sx) 100% no-repeat #e6ebef;
}
.pricing-page .pricing-range::-webkit-slider-thumb {
	-webkit-appearance: none; margin-top: -0.5em;
	-webkit-box-sizing: border-box; box-sizing: border-box;
	border: 0; width: 1.5em; height: 1.5em; border-radius: 50%;
	-webkit-box-shadow: 0 2px 7px rgba(0,0,0,.15); box-shadow: 0 2px 7px rgba(0,0,0,.15);
	background-image: url('/wp-content/themes/trackship/assets/img/range-icon.png');
	background-size: 24px; background-repeat: no-repeat; background-color: #fff;
}
.pricing-page .pricing-range::-moz-range-thumb {
	box-sizing: border-box; border: 0; width: 1.5em; height: 1.5em; border-radius: 50%;
	background: #09d3ac; box-shadow: 0 2px 7px rgba(0,0,0,.15);
}
.pricing-page .pricing-range::-moz-range-track {
	box-sizing: border-box; border: 0; border-radius: 4px; width: 100%; height: .5em; background: #e6ebef;
}
.pricing-page .pricing-range::-moz-range-progress { height: .5em; background: #09d3ac; }

/* ── DUPLICATE SLIDER ZONES ── */
.pricing-slider-zone--mobile { display: none; }

/* ── BILLING TOGGLE ── */
.pricing-toggle {
	display: flex; align-items: center; justify-content: center;
	gap: 14px; margin-bottom: 48px;
}
.pricing-toggle__lbl {
	font-size: 15px; font-weight: 500; color: #9ca3af; cursor: pointer;
	transition: color 0.2s;
}
.pricing-lbl-active { color: #1a1a2e; font-weight: 600; }
.pricing-toggle__pill {
	width: 52px; height: 28px; border-radius: 999px; background: #e5e7ef;
	position: relative; cursor: pointer; transition: background 0.25s;
}
.pricing-toggle__pill.pricing-on { background: #09d3ac; }
.pricing-toggle__knob {
	position: absolute; top: 3px; left: 3px;
	width: 22px; height: 22px; border-radius: 50%; background: #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.15); transition: transform 0.25s;
}
.pricing-toggle__pill.pricing-on .pricing-toggle__knob { transform: translateX(24px); }
.pricing-save-badge {
	background: #ff6b29; color: #fff; font-size: 11px; font-weight: 700;
	padding: 3px 9px; border-radius: 999px;
}

/* ── PLAN CARDS ── */
.pricing-cards {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 24px; margin: 0 auto;
}
.pricing-card {
	background: #fff; border: 1px solid #E2E8F0; border-radius: 16px;
	padding: 32px 28px; display: flex; flex-direction: column;
	transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover { box-shadow: 0 8px 32px rgba(15,23,42,0.10); transform: translateY(-2px); }
.pricing-card--trial {
	background: #e8faf6;
	border-color: rgba(9, 211, 172, .3);
}
.pricing-card--pro {
	background: #F8FAFE; border: 2px solid #124ed6;
	box-shadow: 0 8px 32px rgba(18,78,214,0.10);
	position: relative; padding-top: 48px;
}
.pricing-card__popular {
	position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
	font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
	color: #fff; background: #124ed6;
	border-radius: 999px; padding: 6px 18px; white-space: nowrap;
}
.pricing-card__name { font-size: 20px; font-weight: 700; color: #1a1a2e; margin-bottom: 4px; }
.pricing-card__tagline { font-size: 14px; color: #6b7280; margin-bottom: 24px; }
.pricing-card__price-row { display: flex; align-items: flex-start; gap: 2px; margin-bottom: 4px; }
.pricing-card__currency { font-size: 18px; font-weight: 700; color: #1a1a2e; line-height: 1.2; margin-top: 8px; }
.pricing-card__amount { font-size: 48px; font-weight: 800; color: #1a1a2e; line-height: 1; letter-spacing: -0.03em; }
.pricing-card__amount--custom { font-size: 38px; }
.pricing-card__period { font-size: 13px; color: #9ca3af; margin-bottom: 4px; }
.pricing-card__note { font-size: 13px; color: #6b7280; }
.pricing-card__divider { border: none; border-top: 1px solid #E2E8F0; margin: 20px 0; }
.pricing-card__ship { font-size: 14px; color: #1a1a2e; margin-bottom: 20px; }
.pricing-card__ship strong { color: #09d3ac; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pricing-card__features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #374151; line-height: 1.4; }
.pricing-card__btn {
	display: flex; width: 100%; justify-content: center;
	text-align: center; margin-top: auto; box-sizing: border-box;
}
.pricing-card__btn--blue { background: #124ed6; color: #fff; border-color: #124ed6; }
.pricing-card__btn--blue:hover { background: #0d3aa0; border-color: #0d3aa0; color: #fff; text-decoration: none; }

/* ── FAQ ── */
.pricing-faq { background: #F8FAFE; padding: 80px 0; }
.pricing-faq__header { text-align: center; margin-bottom: 48px; }
.tspw-faq { max-width: 720px; margin: 0 auto; }
.tspw-faq-item {
	border: 1.5px solid #e5e7eb; border-radius: 12px; margin-bottom: 10px;
	overflow: hidden; background: #fff;
	border-left: 4px solid #d1d5db;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, border-left-color 0.25s ease;
}
.tspw-faq-item:hover {
	border-color: #b2f0e4; border-left-color: #09d3ac;
	box-shadow: 0 4px 16px rgba(9,211,172,0.10);
}
.tspw-faq-item.is-open {
	border-color: #09d3ac; border-left-color: #09d3ac;
	box-shadow: 0 4px 16px rgba(9,211,172,0.12);
}
.tspw-faq-q {
	width: 100%; text-align: left; background: #fff; border: none;
	padding: 20px 24px; margin: 0; font-size: 15px; font-weight: 600; color: #1a1a2e;
	cursor: pointer; display: flex; justify-content: space-between; align-items: center;
	gap: 16px; font-family: var(--font-body); line-height: 1.5; box-sizing: border-box;
	transition: color 0.25s ease;
}
.tspw-faq-item:hover .tspw-faq-q { color: #09d3ac; background: #fff; }
.tspw-faq-item.is-open .tspw-faq-q { color: #09d3ac; background: #fff; }
.tspw-faq-icon {
	width: 26px; height: 26px; border-radius: 50%;
	background: #f3f4f6; border: 1.5px solid #e5e7eb;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0; color: #6b7280;
	transition: all 0.25s ease;
}
.tspw-faq-item:hover .tspw-faq-icon { background: rgba(9,211,172,0.12); border-color: #09d3ac; color: #09d3ac; }
.tspw-faq-item.is-open .tspw-faq-icon { background: #09d3ac; border-color: #09d3ac; color: #fff; }
.tspw-faq-a {
	display: none; font-size: 14px; color: #6b7280; line-height: 1.8;
	padding: 15px 24px; background: #fff;
	border-top: 1px solid #f0f0f0;
}
.tspw-faq-a.tspw-open { display: block; }

/* ── Pricing Responsive ── */
@media (max-width: 1024px) {
	.pricing-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.pricing-hero { padding: 56px 0 48px; }
	.pricing-trust-list { flex-direction: column; align-items: center; }
	.pricing-cards { grid-template-columns: 1fr; }
	.pricing-toggle { gap: 10px; }
	.pricing-slider-zone--desktop { display: none; }
	.pricing-slider-zone--mobile {
		display: block;
		margin-bottom: 24px;
		padding-bottom: 24px;
		border-bottom: 1px solid #E2E8F0;
	}
	.pricing-slider-zone--mobile .pricing-slider { max-width: 100%; margin: 0 0 16px; }
	.pricing-slider-zone--mobile .pricing-toggle { margin-bottom: 0; }
}

/* ════════════════════════════════════════════
   COOKIE NOTICE
   ════════════════════════════════════════════ */

/* ── Video Modal ── */
.ts-video-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ts-video-modal[hidden] { display: none; }
.ts-video-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.ts-video-modal__wrap { position: relative; z-index: 1; width: 100%; max-width: 900px; }
.ts-video-modal__close { position: absolute; top: -44px; right: 0; background: none; border: none; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; padding: 4px 8px; opacity: 0.8; transition: opacity 0.2s; }
.ts-video-modal__close:hover { opacity: 1; }
.ts-video-modal__iframe-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; background: #000; }
.ts-video-modal__iframe-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ts-cookie-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	background: #3c4758;
	border-top: 1px solid rgba(255,255,255,0.08);
	padding: 19px 24px;
	transform: translateY(100%);
	transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.ts-cookie-bar--visible { transform: translateY(0); }
.ts-cookie-bar__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.ts-cookie-bar__text {
	flex: 1;
	font-size: 14px;
	color: #e4e6e9;
	margin: 0;
	line-height: 1.55;
	min-width: 200px;
}
.ts-cookie-bar__text a { color: #09d3ac; }
.ts-cookie-bar__text a:hover { text-decoration: underline; }
.ts-cookie-bar__actions { display: flex; gap: 10px; flex-shrink: 0; }
.ts-cookie-btn {
	padding: 9px 22px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
	font-family: inherit;
	line-height: 1;
}
.ts-cookie-btn--accept { background: #09d3ac; color: #fff; border: none; }
.ts-cookie-btn--accept:hover { background: #07b99e; }
.ts-cookie-btn--decline { background: transparent; color: #fff; border: 1px solid #fff; }
.ts-cookie-btn--decline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

@media (max-width: 600px) {
	.ts-cookie-bar__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
	.ts-cookie-bar__actions { width: 100%; }
	.ts-cookie-btn { flex: 1; text-align: center; }
}

/* ── 404 page ── */
.error-404__hero {
	position: relative;
	overflow: hidden;
	background: #F8FAFE;
	padding: 80px 0 96px;
	text-align: center;
}
.error-404__hero::before, .error-404__hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.error-404__hero::before { width: 500px; height: 500px; top: -160px; right: -80px; background: radial-gradient(circle, rgba(9,211,172,0.09) 0%, transparent 70%); }
.error-404__hero::after  { width: 280px; height: 280px; bottom: -80px; left: -60px; background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%); }
.error-404__hero .container { position: relative; z-index: 1; max-width: 760px; }
.error-404__hero .fp-badge { margin: 0 auto 4px; }

.error-404__code {
	font-size: clamp(64px, 12vw, 110px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	margin: 4px 0 8px;
	color: var(--dark);
}
.error-404__title { margin: 0 0 12px; }
.error-404__sub {
	font-size: 17px;
	color: var(--gray);
	line-height: 1.6;
	max-width: 520px;
	margin: 0 auto 40px;
}

.error-404__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	text-align: left;
	margin-bottom: 32px;
}
.error-404__card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.error-404__card:hover {
	border-color: var(--primary);
	box-shadow: 0 8px 24px rgba(15,23,42,0.08);
	transform: translateY(-2px);
	text-decoration: none;
}
.error-404__card-icon {
	flex-shrink: 0;
	width: 44px; height: 44px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 10px;
	background: rgba(9,211,172,0.1);
	color: var(--primary);
}
.error-404__card-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.error-404__card-label { font-weight: 600; color: var(--dark); font-size: 15px; }
.error-404__card-desc { font-size: 13px; color: var(--gray); }
.error-404__card-arrow { color: var(--light-gray); flex-shrink: 0; transition: color 0.2s, transform 0.2s; }
.error-404__card:hover .error-404__card-arrow { color: var(--primary); transform: translateX(3px); }

.error-404__actions { margin: 4px 0 28px; }
.error-404__machine { font-size: 13px; color: var(--gray); margin: 0; }
.error-404__machine a { color: var(--secondary); font-weight: 500; }

@media (max-width: 640px) {
	.error-404__hero { padding: 56px 0 72px; }
	.error-404__cards { grid-template-columns: 1fr; }
}
