/* VeloToys · Policy pages (child theme)
   Scope: .vt-policy-page (template-policy.php)
   Applies to: privacy-policy, terms-of-service, return-policy, shipping-policy
   @version 1.0.0-policy · WordPress 6.x · Betheme child */

.vt-policy-page {
	--vt-ink: #30374f;
	--vt-body: #3c4252;
	--vt-muted: #667085;
	--vt-line: #e4e7ec;
	--vt-line-strong: #d7dbe2;
	--vt-soft: #f7f8fa;
	--vt-cta: #f8ad40;
	--vt-cta-deep: #f59322;
	--vt-cream: #fff8ec;
	--vt-r: 14px;
	background: #fff;
	color: var(--vt-body);
	font-size: 15px;
	line-height: 1.7;
}

.vt-policy-page .vt-p-wrap {
	width: 100%;
	max-width: 880px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.vt-policy-page .vt-p-wrap *,
.vt-policy-page .vt-p-wrap *::before,
.vt-policy-page .vt-p-wrap *::after {
	box-sizing: border-box;
}

/* ---------- hero ---------- */
.vt-policy-page .vt-p-hero {
	position: relative;
	background: linear-gradient(180deg, var(--vt-cream) 0%, #fff 100%);
	border-bottom: 1px solid var(--vt-line);
	padding: 40px 0 34px;
	overflow: hidden;
}

.vt-policy-page .vt-p-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(380px 150px at 92% 8%, rgba(248, 173, 64, .13), transparent 72%);
}

.vt-policy-page .vt-p-hero .vt-p-wrap {
	position: relative;
	z-index: 1;
}

.vt-policy-page .vt-p-crumb {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--vt-muted);
}

.vt-policy-page .vt-p-crumb a {
	color: var(--vt-muted);
	text-decoration: none;
}

.vt-policy-page .vt-p-crumb a:hover {
	color: var(--vt-cta-deep);
}

.vt-policy-page .vt-p-crumb span[aria-current="page"] {
	color: var(--vt-ink);
}

.vt-policy-page .vt-p-kicker {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(248, 173, 64, .16);
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0px;
	text-transform: uppercase;
	color: #9a5c0d;
}

.vt-policy-page .vt-p-hero h1 {
	margin: 12px 0 0;
	padding: 0;
	border: 0;
	font-size: 32px;
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: 0px;
	color: var(--vt-ink);
}

.vt-policy-page .vt-p-lead {
	max-width: 660px;
	margin: 10px 0 0;
	padding: 0;
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--vt-muted);
}

.vt-policy-page .vt-p-date {
	margin: 14px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--vt-muted);
}

.vt-policy-page .vt-p-date time {
	color: var(--vt-body);
}

/* ---------- body / tabs ---------- */
.vt-policy-page .vt-p-body {
	padding-top: 28px;
	padding-bottom: 72px;
}

.vt-policy-page .vt-p-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.vt-policy-page .vt-p-tabs a {
	display: inline-block;
	padding: 9px 16px;
	border: 1px solid var(--vt-line);
	border-radius: 999px;
	background: #fff;
	font-size: 13.5px;
	line-height: 1.4;
	font-weight: 500;
	color: var(--vt-muted);
	text-decoration: none;
	transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

.vt-policy-page .vt-p-tabs a:hover {
	border-color: #ead1a9;
	background: #fffaf2;
	color: var(--vt-ink);
	text-decoration: none;
}

.vt-policy-page .vt-p-tabs a.is-active {
	border-color: var(--vt-ink);
	background: var(--vt-ink);
	color: #fff;
	font-weight: 600;
}

/* ---------- article card ---------- */
.vt-policy-page .vt-p-card {
	padding: 40px 44px;
	border: 1px solid var(--vt-line);
	border-radius: var(--vt-r);
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.vt-policy-page .vt-p-article {
	font-size: 15px;
	line-height: 1.75;
	color: var(--vt-body);
}

.vt-policy-page .vt-p-article > *:first-child {
	margin-top: 0 !important;
}

/* Neutralise the builder layout: the template supplies the page shell. */
.vt-policy-page .vt-p-article .mfn-builder-content > section.mcb-section {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

/* first builder section = the old page title, replaced by the hero */
.vt-policy-page .vt-p-article .mfn-builder-content > section.mcb-section:first-child {
	display: none !important;
}

.vt-policy-page .vt-p-article .mfn-builder-content .section_wrapper,
.vt-policy-page .vt-p-article .the_content .section_wrapper {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.vt-policy-page .vt-p-article .mfn-builder-content .mcb-section-inner,
.vt-policy-page .vt-p-article .mfn-builder-content .mcb-wrap,
.vt-policy-page .vt-p-article .mfn-builder-content .mcb-wrap-inner,
.vt-policy-page .vt-p-article .mfn-builder-content .mcb-column,
.vt-policy-page .vt-p-article .mfn-builder-content .mcb-column-inner,
.vt-policy-page .vt-p-article .mfn-builder-content .column_attr {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

/* classic content (shipping-policy) */
.vt-policy-page .vt-p-article > .the_content {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

.vt-policy-page .vt-p-article .the_content h1 {
	display: none !important;
}

/* ---------- article typography ---------- */
.vt-policy-page .vt-p-article p {
	margin: 0 0 15px;
	padding: 0;
	font-size: 15px;
	line-height: 1.75;
	color: var(--vt-body);
}

.vt-policy-page .vt-p-article p:has(> b:only-child) {
	margin: 30px 0 12px;
	font-size: 16.5px;
	line-height: 1.45;
	font-weight: 600;
	color: var(--vt-ink);
}

.vt-policy-page .vt-p-article p:has(> b:only-child):first-child {
	margin-top: 0;
}

.vt-policy-page .vt-p-article b,
.vt-policy-page .vt-p-article strong {
	font-weight: 600;
	color: var(--vt-ink);
}

.vt-policy-page .vt-p-article h2 {
	margin: 30px 0 12px;
	padding: 0;
	border: 0;
	font-size: 20px;
	line-height: 1.4;
	font-weight: 500;
	color: var(--vt-ink);
}

.vt-policy-page .vt-p-article h2:first-child {
	margin-top: 0;
}

.vt-policy-page .vt-p-article h3 {
	margin: 24px 0 10px;
	padding: 0;
	border: 0;
	font-size: 17px;
	line-height: 1.45;
	font-weight: 600;
	color: var(--vt-ink);
}

.vt-policy-page .vt-p-article h4,
.vt-policy-page .vt-p-article h5 {
	margin: 22px 0 10px;
	padding: 0;
	border: 0;
	font-size: 16px;
	line-height: 1.45;
	font-weight: 600;
	color: var(--vt-ink);
}

/* FAQ: question headings keep their H2 semantics but match the policy
   section-heading scale (the bold paragraphs above), and clear the sticky header. */
.vt-policy-page--faq .vt-p-article h2 {
	margin: 30px 0 12px;
	padding: 0;
	border: 0;
	font-size: 16.5px;
	line-height: 1.45;
	font-weight: 600;
	color: var(--vt-ink);
	scroll-margin-top: 96px;
}

.vt-policy-page--faq .vt-p-article h2:first-child {
	margin-top: 0;
}

/* FAQ: classic content is wrapped in Betheme's .the_content_wrapper, which
   narrows the column and applies its own paragraph rhythm. Neutralize it so
   the body copy matches the policy typography and card padding exactly. */
.vt-policy-page--faq .vt-p-article .the_content_wrapper {
	width: 100%;
	margin: 0;
}

.vt-policy-page--faq .vt-p-article .the_content p {
	margin: 0 0 15px;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.75;
	color: var(--vt-body);
}

.vt-policy-page--faq .vt-p-article .the_content p:last-child {
	margin-bottom: 0;
}

.vt-policy-page .vt-p-article ul,
.vt-policy-page .vt-p-article ol {
	margin: 0 0 16px;
	padding-left: 22px;
}

.vt-policy-page .vt-p-article li {
	margin: 0 0 7px;
	padding: 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--vt-body);
}

.vt-policy-page .vt-p-article li > ul,
.vt-policy-page .vt-p-article li > ol {
	margin: 7px 0 0;
}

.vt-policy-page .vt-p-article a {
	color: #9a5200;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.vt-policy-page .vt-p-article a:hover {
	color: var(--vt-ink);
}

.vt-policy-page .vt-p-article img {
	max-width: 100%;
	height: auto;
}

.vt-policy-page .vt-p-article hr {
	margin: 28px 0;
	border: 0;
	border-top: 1px solid var(--vt-line);
}

/* tables (GDPR / CCPA / shipping matrices) */
.vt-policy-page .vt-p-article table {
	width: 100%;
	max-width: 100%;
	margin: 16px 0 24px;
	border-collapse: collapse;
	border: 1px solid var(--vt-line);
	font-size: 13px;
	line-height: 1.6;
}

.vt-policy-page .vt-p-article th,
.vt-policy-page .vt-p-article td {
	padding: 10px 12px;
	border: 1px solid var(--vt-line);
	vertical-align: top;
	text-align: left;
	color: var(--vt-body);
}

.vt-policy-page .vt-p-article th {
	background: var(--vt-soft);
	font-weight: 600;
	color: var(--vt-ink);
}

.vt-policy-page .vt-p-article table p,
.vt-policy-page .vt-p-article table p:has(> b:only-child) {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	font-weight: 400;
	color: var(--vt-body);
}

.vt-policy-page .vt-p-article table p:has(> b:only-child) b {
	font-weight: 600;
	color: var(--vt-ink);
}

/* ---------- help band ---------- */
.vt-policy-page .vt-p-help {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 28px;
	padding: 28px 32px;
	border-radius: var(--vt-r);
	background: var(--vt-ink);
	color: #fff;
}

.vt-policy-page .vt-p-help h2 {
	margin: 0 0 6px;
	padding: 0;
	border: 0;
	font-size: 19px;
	line-height: 1.35;
	font-weight: 500;
	color: #fff;
}

.vt-policy-page .vt-p-help p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .72);
}

.vt-policy-page .vt-p-help-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 0 0 auto;
}

.vt-policy-page .vt-p-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 24px;
	border-radius: 8px;
	background: var(--vt-cta);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s ease;
}

.vt-policy-page .vt-p-btn:hover {
	background: var(--vt-cta-deep);
	color: #fff;
	text-decoration: none;
}

.vt-policy-page .vt-p-link {
	font-size: 13px;
	color: rgba(255, 255, 255, .75);
	text-decoration: none;
	white-space: nowrap;
}

.vt-policy-page .vt-p-link:hover {
	color: #fff;
	text-decoration: underline;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
	.vt-policy-page .vt-p-card {
		padding: 32px;
	}

	.vt-policy-page .vt-p-help {
		padding: 24px;
	}
}

@media (max-width: 767px) {
	.vt-policy-page .vt-p-hero {
		padding: 28px 0 24px;
	}

	.vt-policy-page .vt-p-hero h1 {
		font-size: 26px;
	}

	.vt-policy-page .vt-p-lead {
		font-size: 14.5px;
	}

	.vt-policy-page .vt-p-body {
		padding-top: 22px;
		padding-bottom: 52px;
	}

	.vt-policy-page .vt-p-tabs {
		gap: 6px;
		margin-bottom: 18px;
	}

	.vt-policy-page .vt-p-tabs a {
		padding: 8px 13px;
		font-size: 12.5px;
	}

	.vt-policy-page .vt-p-card {
		padding: 22px;
	}

	.vt-policy-page .vt-p-article p,
	.vt-policy-page .vt-p-article li {
		font-size: 14.5px;
	}

	.vt-policy-page .vt-p-article h2 {
		font-size: 18.5px;
	}

	.vt-policy-page--faq .vt-p-article h2 {
		font-size: 15.5px;
	}

	.vt-policy-page .vt-p-article p:has(> b:only-child) {
		font-size: 15.5px;
	}

	.vt-policy-page .vt-p-help {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 22px;
	}

	.vt-policy-page .vt-p-help-actions {
		width: 100%;
		justify-content: space-between;
	}
}

@media (max-width: 560px) {
	.vt-policy-page .vt-p-wrap {
		padding: 0 16px;
	}

	.vt-policy-page .vt-p-card {
		padding: 18px;
	}

	.vt-policy-page .vt-p-article th,
	.vt-policy-page .vt-p-article td {
		padding: 8px 7px;
		font-size: 12px;
	}

	.vt-policy-page .vt-p-article table {
		font-size: 12px;
	}

	.vt-policy-page .vt-p-help-actions {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}
}
