/**
 * Leo Refund frontend styles.
 * Responsive orientation classes are emitted from Elementor's device controls.
 */

.leo-refund,
.leo-refund * {
	box-sizing: border-box;
}

.leo-refund {
	--leo-refund-admin-bar-offset: 0px;
	--leo-refund-bullet-size: 22px;
	--leo-refund-bullet-dot-size: 6px;
	--leo-refund-bullet-gap: 12px;
	--leo-refund-bullet-background: #faf3df;
	--leo-refund-bullet-color: #c49623;
	width: 100%;
	max-width: 100%;
	color: #596071;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.admin-bar .leo-refund {
	--leo-refund-admin-bar-offset: var(--wp-admin--admin-bar--height, 32px);
}

.leo-refund__inner {
	overflow: visible;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin-right: auto;
	margin-left: auto;
}

.leo-refund-layout {
	overflow: visible;
	display: flex;
	align-items: flex-start;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 52px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.leo-refund-layout-desktop-column .leo-refund-layout {
	flex-direction: column;
}

.leo-refund-layout-desktop-column .leo-refund-contents {
	width: 100%;
	flex-basis: auto;
}

.leo-refund-contents {
	flex: 0 0 240px;
	width: 240px;
	max-width: 100%;
	min-width: 0;
}

.leo-refund-contents--sidebar.is-sticky {
	position: sticky;
	top: calc(var(--leo-refund-scroll-offset, 110px) + var(--leo-refund-admin-bar-offset, 0px));
	align-self: flex-start;
}

.leo-refund-contents--mobile {
	display: none;
}

.leo-refund-contents__label {
	margin: 0 0 22px;
	color: #a77916;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.leo-refund-contents__list {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 18px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.leo-refund-contents__list > li {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.leo-refund-orientation-desktop-wrap .leo-refund-contents__list {
	flex-direction: row;
	flex-wrap: wrap;
}

.leo-refund-orientation-desktop-wrap .leo-refund-contents__list > li {
	flex: 1 1 200px;
}

.leo-refund-contents__link {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 11px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	border: 1px solid transparent;
	color: #596071;
	font-weight: 500;
	line-height: 1.45;
	text-decoration: none;
	overflow-wrap: anywhere;
	word-break: normal;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.leo-refund-contents__link:hover,
.leo-refund-contents__link:focus-visible {
	color: #171936;
	text-decoration: none;
}

.leo-refund-contents__link.is-active {
	color: #a77916;
	text-decoration: none;
}

.leo-refund-contents__link:focus-visible,
.leo-refund-button:focus-visible {
	outline: 3px solid rgba(196, 150, 35, 0.42);
	outline-offset: 3px;
}

.leo-refund-contents__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 18px;
	width: 18px;
	max-width: 18px;
	margin-top: 0.14em;
	color: currentColor;
	font-size: 16px;
	line-height: 1;
}

.leo-refund-contents__icon svg {
	display: block;
	width: 16px;
	height: 16px;
	max-width: 100%;
	fill: currentColor;
}

.leo-refund-contents__text {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
	font: inherit;
	letter-spacing: inherit;
	overflow-wrap: anywhere;
}

.leo-refund-contents__chevron {
	display: none;
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	margin: 0 1px 2px 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(-45deg);
	opacity: 0.75;
}

.leo-refund-orientation-desktop-pills .leo-refund-contents {
	flex-basis: auto;
	width: 100%;
	overflow: hidden;
}

.leo-refund-orientation-desktop-pills .leo-refund-contents__label {
	display: none;
}

.leo-refund-orientation-desktop-pills .leo-refund-contents__list {
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 8px;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 2px 2px 8px;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.leo-refund-orientation-desktop-pills .leo-refund-contents__list::-webkit-scrollbar {
	display: none;
}

.leo-refund-orientation-desktop-pills .leo-refund-contents__list > li {
	flex: 0 0 auto;
	width: auto;
	max-width: none;
}

.leo-refund-orientation-desktop-pills .leo-refund-contents__link {
	align-items: center;
	flex: 0 0 auto;
	width: auto;
	min-height: 38px;
	max-width: 220px;
	padding: 9px 13px;
	border-color: #dedbd5;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
	scroll-snap-align: start;
}

.leo-refund-orientation-desktop-pills .leo-refund-contents__link:hover,
.leo-refund-orientation-desktop-pills .leo-refund-contents__link:focus-visible {
	border-color: #d6a51f;
	background: #f4f1ea;
}

.leo-refund-orientation-desktop-pills .leo-refund-contents__link.is-active {
	border-color: #171936;
	background: #171936;
	color: #d6a51f;
}

.leo-refund-orientation-desktop-pills .leo-refund-contents__icon {
	display: none;
}

.leo-refund-orientation-desktop-pills .leo-refund-contents__text {
	display: block;
	flex: 0 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.leo-refund-orientation-desktop-pills .leo-refund-contents__chevron {
	display: block;
}

.leo-refund-orientation-desktop-pills .leo-refund-contents__link.is-active .leo-refund-contents__chevron {
	color: #d6a51f;
}

.leo-refund-contents__list:focus-visible {
	outline: 3px solid rgba(196, 150, 35, 0.42);
	outline-offset: 2px;
}

.leo-refund-cards {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 24px;
	width: auto;
	max-width: 100%;
	min-width: 0;
}

.leo-refund-card {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 36px 40px;
	border: 1px solid #e7e0d5;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 9px 28px rgba(23, 25, 54, 0.055);
	scroll-margin-top: 110px;
}

.leo-refund-card__header {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0 0 22px;
}

.leo-refund-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	max-width: 42px;
	border-radius: 50%;
	background: #faf3df;
	color: #a77916;
	font-size: 18px;
	line-height: 1;
}

.leo-refund-card__icon svg {
	display: block;
	width: 18px;
	height: 18px;
	max-width: 100%;
	fill: currentColor;
}

.leo-refund-card__title {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	color: #171936;
	font-size: clamp(1.25rem, 1.8vw, 1.6rem);
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.leo-refund-card__body {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	color: #596071;
	line-height: 1.72;
	overflow-wrap: anywhere;
}

.leo-refund-richtext {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	overflow-wrap: anywhere;
}

.leo-refund-richtext p,
.leo-refund-richtext ul,
.leo-refund-richtext ol,
.leo-refund-richtext li {
	font: inherit;
	letter-spacing: inherit;
}

.leo-refund-richtext > *:first-child {
	margin-top: 0;
}

.leo-refund-richtext > *:last-child,
.leo-refund-richtext li:last-child {
	margin-bottom: 0;
}

.leo-refund-richtext p {
	margin: 0 0 16px;
}

.leo-refund-richtext ul,
.leo-refund-richtext ol {
	max-width: 100%;
	margin: 20px 0;
}

.leo-refund-richtext ul {
	padding-left: 0;
	list-style: none;
}

.leo-refund-richtext ol {
	padding-left: 1.35em;
}

.leo-refund-richtext li {
	max-width: 100%;
	min-width: 0;
	margin: 0 0 14px;
	padding-left: 0.35em;
	overflow-wrap: anywhere;
}

.leo-refund-richtext ul > li {
	position: relative;
	padding-left: calc(var(--leo-refund-bullet-size) + var(--leo-refund-bullet-gap));
}

.leo-refund-richtext ul > li::before {
	position: absolute;
	top: max(0px, calc((1.72em - var(--leo-refund-bullet-size)) / 2));
	left: 0;
	width: var(--leo-refund-bullet-size);
	height: var(--leo-refund-bullet-size);
	border-radius: 50%;
	background: radial-gradient(circle at center, var(--leo-refund-bullet-color) 0 calc(var(--leo-refund-bullet-dot-size) / 2), transparent calc((var(--leo-refund-bullet-dot-size) / 2) + 0.5px)), var(--leo-refund-bullet-background);
	content: "";
}

.leo-refund-richtext ol > li::marker {
	color: var(--leo-refund-bullet-color);
	font-weight: 700;
}

.leo-refund-richtext strong {
	color: #171936;
}

.leo-refund-richtext a,
.leo-refund-card__body a {
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.leo-refund-richtext img,
.leo-refund-richtext video,
.leo-refund-richtext iframe,
.leo-refund-richtext svg {
	max-width: 100%;
	height: auto;
}

.leo-refund-richtext table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow: auto;
}

.leo-refund-richtext pre,
.leo-refund-richtext code {
	max-width: 100%;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.leo-refund-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-start;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin-top: 26px;
}

.leo-refund-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 0 1 auto;
	width: auto;
	max-width: 100%;
	min-width: 0;
	padding: 12px 20px;
	border: 1px solid #171936;
	border-radius: 8px;
	background: #171936;
	color: #fff;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	overflow-wrap: anywhere;
	word-break: break-word;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.leo-refund .leo-refund-button {
	height: auto;
	min-height: 0;
	block-size: auto;
	min-block-size: 0;
}

.leo-refund-button:hover,
.leo-refund-button:focus-visible {
	border-color: #d6a51f;
	background: #d6a51f;
	color: #171936;
	text-decoration: none;
}

.leo-refund-button__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	line-height: 1;
}

.leo-refund-button__icon svg {
	display: block;
	width: 1em;
	height: 1em;
	max-width: 1em;
	fill: currentColor;
}

.leo-refund-buttons-desktop-full .leo-refund-button {
	flex-basis: 100%;
	width: 100%;
}

@media (max-width: 1024px) {
	.leo-refund-contents--sidebar.is-sticky {
		top: calc(var(--leo-refund-scroll-offset, 90px) + var(--leo-refund-admin-bar-offset, 0px));
	}

	.leo-refund-layout-tablet-row .leo-refund-layout {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 24px;
	}

	.leo-refund-layout-tablet-column .leo-refund-layout {
		flex-direction: column;
		flex-wrap: nowrap;
	}

	.leo-refund-layout-tablet-column .leo-refund-contents {
		width: 100%;
		flex-basis: auto;
	}

	.leo-refund-layout-tablet-row .leo-refund-contents {
		flex: 0 0 180px;
		width: 180px;
	}

	.leo-refund-layout-tablet-row .leo-refund-cards {
		flex: 1 1 0;
		flex-basis: 0;
		width: auto;
		min-width: 0;
	}

	.leo-refund-orientation-tablet-vertical .leo-refund-contents__list {
		flex-direction: column;
		flex-wrap: nowrap;
	}

	.leo-refund-orientation-tablet-vertical .leo-refund-contents__list > li {
		flex: 0 1 auto;
		width: 100%;
	}

	.leo-refund-orientation-tablet-wrap .leo-refund-contents__list {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.leo-refund-orientation-tablet-wrap .leo-refund-contents__list > li {
		flex: 1 1 200px;
		max-width: 100%;
	}

	.leo-refund-orientation-tablet-pills .leo-refund-contents {
		flex-basis: auto;
		width: 100%;
		max-width: 100%;
		overflow: hidden;
	}

	.leo-refund-orientation-tablet-pills .leo-refund-contents__label {
		display: none;
	}

	.leo-refund-orientation-tablet-pills .leo-refund-contents__list {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 8px;
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 2px 2px 8px;
		overscroll-behavior-x: contain;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.leo-refund-orientation-tablet-pills .leo-refund-contents__list::-webkit-scrollbar {
		display: none;
	}

	.leo-refund-orientation-tablet-pills .leo-refund-contents__list > li {
		flex: 0 0 auto;
		width: auto;
		max-width: none;
	}

	.leo-refund-orientation-tablet-pills .leo-refund-contents__link {
		align-items: center;
		flex: 0 0 auto;
		width: auto;
		min-height: 38px;
		max-width: 220px;
		padding: 9px 13px;
		border-color: #dedbd5;
		border-radius: 999px;
		background: #fff;
		box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
		scroll-snap-align: start;
	}

	.leo-refund-orientation-tablet-pills .leo-refund-contents__link:hover,
	.leo-refund-orientation-tablet-pills .leo-refund-contents__link:focus-visible {
		border-color: #d6a51f;
		background: #f4f1ea;
	}

	.leo-refund-orientation-tablet-pills .leo-refund-contents__link.is-active {
		border-color: #171936;
		background: #171936;
		color: #d6a51f;
	}

	.leo-refund-orientation-tablet-pills .leo-refund-contents__icon {
		display: none;
	}

	.leo-refund-orientation-tablet-pills .leo-refund-contents__text {
		display: block;
		flex: 0 1 auto;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.leo-refund-orientation-tablet-pills .leo-refund-contents__chevron {
		display: block;
	}

	.leo-refund-orientation-tablet-pills .leo-refund-contents__link.is-active .leo-refund-contents__chevron {
		color: #d6a51f;
	}

	.leo-refund-buttons-tablet-auto .leo-refund-button {
		flex-basis: auto;
		width: auto;
	}

	.leo-refund-buttons-tablet-full .leo-refund-button {
		flex-basis: 100%;
		width: 100%;
	}

	.leo-refund-card {
		padding: 30px;
	}
}

@media (max-width: 767px) {
	.leo-refund__inner,
	.leo-refund-layout {
		overflow: visible;
	}

	.leo-refund-contents--sidebar {
		display: none;
	}

	.leo-refund-contents--mobile {
		display: block;
		margin-right: calc(0px - var(--leo-refund-padding-right, 16px));
		margin-bottom: 24px;
		margin-left: calc(0px - var(--leo-refund-padding-left, 16px));
		width: calc(100% + var(--leo-refund-padding-left, 16px) + var(--leo-refund-padding-right, 16px));
		max-width: none;
	}

	.leo-refund-layout-mobile-row .leo-refund-layout {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.leo-refund-layout-mobile-column .leo-refund-layout {
		flex-direction: column;
		flex-wrap: nowrap;
	}

	.leo-refund-layout-mobile-column .leo-refund-contents {
		width: 100%;
		flex-basis: auto;
	}

	.leo-refund-layout-mobile-column .leo-refund-layout {
		gap: 24px;
	}

	.leo-refund-layout-mobile-row .leo-refund-cards {
		flex-basis: 220px;
	}

	.leo-refund-orientation-mobile-vertical .leo-refund-contents__list {
		flex-direction: column;
		flex-wrap: nowrap;
	}

	.leo-refund-orientation-mobile-vertical .leo-refund-contents__list > li {
		flex: 0 1 auto;
		width: 100%;
	}

	.leo-refund-orientation-mobile-wrap .leo-refund-contents__list {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.leo-refund-orientation-mobile-wrap .leo-refund-contents__list > li {
		flex: 1 1 145px;
		max-width: 100%;
	}

	.leo-refund-orientation-mobile-pills .leo-refund-contents--mobile {
		flex-basis: auto;
		overflow: visible;
		width: calc(100% + var(--leo-refund-padding-left, 16px) + var(--leo-refund-padding-right, 16px));
		max-width: none;
	}

	.leo-refund-orientation-mobile-pills .leo-refund-contents--mobile.is-sticky {
		position: sticky;
		top: calc(var(--leo-refund-mobile-sticky-header-offset, 0px) + var(--leo-refund-admin-bar-offset, 0px) + env(safe-area-inset-top, 0px) + var(--leo-refund-mobile-sticky-gap, 12px));
		z-index: 40;
		align-self: stretch;
		padding: 8px 0 2px;
		background: rgba(247, 243, 235, 0.98);
		box-shadow: 0 8px 12px -12px rgba(23, 25, 54, 0.32);
	}

	.leo-refund-orientation-mobile-pills .leo-refund-contents__label {
		display: none;
	}

	.leo-refund-orientation-mobile-pills .leo-refund-contents__list {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 8px;
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 2px 2px 8px;
		overscroll-behavior-x: contain;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.leo-refund-orientation-mobile-pills .leo-refund-contents__list::-webkit-scrollbar {
		display: none;
	}

	.leo-refund-orientation-mobile-pills .leo-refund-contents__list > li {
		flex: 0 0 auto;
		width: auto;
		max-width: none;
	}

	.leo-refund-orientation-mobile-pills .leo-refund-contents__link {
		align-items: center;
		flex: 0 0 auto;
		width: auto;
		min-height: 38px;
		max-width: 220px;
		padding: 9px 13px;
		border-color: #dedbd5;
		border-radius: 999px;
		background: #fff;
		box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
		scroll-snap-align: start;
	}

	.leo-refund-orientation-mobile-pills .leo-refund-contents__link:hover,
	.leo-refund-orientation-mobile-pills .leo-refund-contents__link:focus-visible {
		border-color: #d6a51f;
		background: #f4f1ea;
		color: #171936;
	}

	.leo-refund-orientation-mobile-pills .leo-refund-contents__link.is-active {
		border-color: #171936;
		background: #171936;
		color: #d6a51f;
	}

	.leo-refund-orientation-mobile-pills .leo-refund-contents__icon {
		display: none;
	}

	.leo-refund-orientation-mobile-pills .leo-refund-contents__text {
		display: block;
		flex: 0 1 auto;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.leo-refund-orientation-mobile-pills .leo-refund-contents__chevron {
		display: block;
	}

	.leo-refund-orientation-mobile-pills .leo-refund-contents__link.is-active .leo-refund-contents__chevron {
		color: #d6a51f;
	}

	.leo-refund-buttons-mobile-auto .leo-refund-button {
		flex: 0 1 auto;
		width: auto;
	}

	.leo-refund-buttons-mobile-full .leo-refund-button {
		flex-basis: 100%;
		width: 100%;
	}

	.leo-refund-card {
		padding: 24px 20px;
		border-radius: 14px;
		scroll-margin-top: 80px;
	}

	.leo-refund-card__header {
		align-items: center;
		gap: 12px;
		margin-bottom: 18px;
	}

	.leo-refund-card__icon {
		flex-basis: 38px;
		width: 38px;
		height: 38px;
		max-width: 38px;
	}

	.leo-refund-richtext ol {
		padding-left: 1.2em;
	}

	.leo-refund-button {
		padding: 12px 16px;
	}
}

@media (max-width: 782px) {
	body.admin-bar .leo-refund {
		--leo-refund-admin-bar-offset: var(--wp-admin--admin-bar--height, 46px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.leo-refund-contents__link,
	.leo-refund-button {
		transition: none;
	}
}
