.wl-legal-docs {
	--wlld-primary: #0f4c5c;
	--wlld-primary-dark: #0b3944;
	--wlld-border: #d6dde3;
	--wlld-surface: #f6f9fb;
	--wlld-surface-strong: #eef4f7;
	--wlld-text: #16212b;
	--wlld-muted: #566573;
	--wlld-card-shadow: 0 12px 28px rgba(8, 33, 53, 0.07);
	color: var(--wlld-text);
	max-width: 1180px;
	margin: 0 auto;
}

.wl-legal-docs *,
.wl-legal-docs *::before,
.wl-legal-docs *::after {
	box-sizing: border-box;
}

.wl-legal-docs__title {
	margin: 0;
}

.wl-legal-docs__table-wrap {
	overflow-x: auto;
}

.wl-legal-docs__table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--wlld-border);
	border-radius: 18px;
	overflow: hidden;
}

.wl-legal-docs__table th,
.wl-legal-docs__table td {
	padding: 0.875rem;
	border-bottom: 1px solid var(--wlld-border);
	vertical-align: top;
}

.wl-legal-docs__table th {
	background: #f8fafc;
	font-size: 0.92rem;
	font-weight: 700;
	color: #223243;
}

.wl-legal-docs__actions,
.wl-legal-docs__form-actions,
.wl-legal-docs__header,
.wl-legal-docs__wizard-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.wl-legal-docs__header {
	justify-content: space-between;
}

.wl-legal-docs__button {
	display: inline-grid;
	place-items: center;
	min-height: 44px;
	padding: 0.72rem 1rem;
	border: 1px solid color-mix(in srgb, var(--ast-global-color-0, var(--wlld-primary)) 18%, #cbd5e1) !important;
	border-radius: 12px;
	background: #fff !important;
	color: var(--ast-global-color-3, var(--wlld-text)) !important;
	font-weight: 600;
	line-height: 1.2 !important;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.wl-legal-docs__button:hover,
.wl-legal-docs__button:focus {
	background: #f8fafc !important;
	border-color: color-mix(in srgb, var(--ast-global-color-0, var(--wlld-primary)) 32%, #cbd5e1) !important;
	color: var(--ast-global-color-0, var(--wlld-primary)) !important;
	transform: translateY(-1px);
}

.wl-legal-docs__button--primary {
	background: var(--ast-global-color-0, var(--wlld-primary)) !important;
	border-color: var(--ast-global-color-0, var(--wlld-primary)) !important;
	color: #fff !important;
}

.wl-legal-docs__button--primary:hover,
.wl-legal-docs__button--primary:focus {
	background: color-mix(in srgb, var(--ast-global-color-0, var(--wlld-primary)) 88%, black) !important;
	border-color: color-mix(in srgb, var(--ast-global-color-0, var(--wlld-primary)) 88%, black) !important;
	color: #fff !important;
}

.wl-legal-docs__button::before,
.wl-legal-docs__button::after,
.wl-legal-docs__button:hover::before,
.wl-legal-docs__button:hover::after,
.wl-legal-docs__button:focus::before,
.wl-legal-docs__button:focus::after {
	display: none !important;
	content: none !important;
}

.wl-legal-docs .button:not(.wl-legal-docs-shop__cta),
.wl-legal-docs button.button:not(.wl-legal-docs-shop__cta) {
	border-radius: 10px !important;
	box-shadow: none !important;
	background-image: none !important;
	line-height: 1.2 !important;
	-webkit-appearance: none;
	appearance: none;
}

.wl-legal-docs .button:not(.wl-legal-docs-shop__cta)::before,
.wl-legal-docs .button:not(.wl-legal-docs-shop__cta)::after,
.wl-legal-docs button.button:not(.wl-legal-docs-shop__cta)::before,
.wl-legal-docs button.button:not(.wl-legal-docs-shop__cta)::after {
	display: none !important;
	content: none !important;
}

.wl-legal-docs__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.42rem 0.9rem;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	min-width: 7rem;
	background: var(--wlld-surface);
}

.wl-legal-docs__status--completed {
	background: #e6f6eb;
	color: #186a3b;
}

.wl-legal-docs__status--in_progress {
	background: #e9f2ff;
	color: #1d4f91;
	min-width: 8.75rem;
}

.wl-legal-docs__status--not_started {
	background: #f3f4f6;
	color: #475467;
	min-width: 8.75rem;
}

.wl-legal-docs__meta {
	margin: 1rem 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.wl-legal-docs__form-actions,
.wl-legal-docs__wizard-actions {
	gap: 0.9rem;
}

.wl-legal-docs__form {
	display: grid;
	gap: 0.75rem;
}

.wl-legal-docs__wizard-progress {
	background: #ecf1f5;
	height: 8px;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 0.8rem;
}

.wl-legal-docs__wizard-progress-bar {
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, #0f4c5c, #2b8ca5);
	transition: width 0.2s ease;
}

.wl-legal-docs__wizard-step-label {
	margin: 0 0 0.55rem;
	font-weight: 600;
	color: var(--wlld-muted);
}

.wl-legal-docs__step {
	display: none;
}

.wl-legal-docs__section-card {
	background: #fff;
	border: 1px solid var(--wlld-border);
	border-radius: 16px;
	padding: 1.15rem 1.25rem;
	margin-bottom: 0.75rem;
	box-shadow: var(--wlld-card-shadow);
}

.wl-legal-docs__completion-card {
	padding: 1.25rem;
	border-color: #b9dcca;
	background: linear-gradient(180deg, #f8fffb 0%, #f2faf6 100%);
}

.wl-legal-docs__section-title {
	margin: 0;
	font-size: 1.15rem;
}

.wl-legal-docs__section-description {
	margin: 0.4rem 0 0.7rem;
	color: var(--wlld-muted);
	font-size: 0.95rem;
}

.wl-legal-docs__fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.8rem 1rem;
	align-items: start;
}

.wl-legal-docs__field,
.wl-legal-docs__subfield {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
	align-self: start;
	width: 100%;
	max-width: none;
}

.wl-legal-docs__field {
	padding: 0.05rem 0;
	background: transparent;
}

.wl-legal-docs__field--textarea,
.wl-legal-docs__field--repeater,
.wl-legal-docs__field--address,
.wl-legal-docs__field--group,
.wl-legal-docs__field--notice,
.wl-legal-docs__field--help_toggle {
	grid-column: 1 / -1;
}

.wl-legal-docs__address-grid,
.wl-legal-docs__repeater-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem 0.9rem;
	align-items: start;
}

.wl-legal-docs__repeater-item {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.wl-legal-docs__radio-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.15rem;
}

.wl-legal-docs__radio-group--compact {
	gap: 0.4rem;
}

.wl-legal-docs__choice {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.75rem 0.95rem;
	border: 1px solid var(--wlld-border);
	border-radius: 12px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
	line-height: 1.35;
	min-height: 48px;
}

.wl-legal-docs__field-label,
.wl-legal-docs__subfield-label {
	display: block;
	font-weight: 600;
	line-height: 1.35;
	min-height: 0;
	color: #12202b;
}

.wl-legal-docs__picker-label {
	display: block;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 0.35rem;
	color: #12202b;
}

.wl-legal-docs__help {
	margin: 0;
	font-size: 0.88rem;
	color: var(--wlld-muted);
	line-height: 1.45;
}

.wl-legal-docs__required {
	color: #b91c1c;
	margin-left: 0.15rem;
}

.wl-legal-docs__input {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--wlld-border);
	border-radius: 10px;
	background: #fff;
	min-height: 48px;
	line-height: 1.4;
	box-sizing: border-box;
	box-shadow: inset 0 1px 2px rgba(8, 33, 53, 0.03);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.wl-legal-docs__person-picker {
	margin-bottom: 0.45rem;
}

.wl-legal-docs input.wl-legal-docs__input,
.wl-legal-docs select.wl-legal-docs__input,
.wl-legal-docs textarea.wl-legal-docs__input {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
}

.wc-block-checkout .wc-block-components-text-input:has(input[data-wl-agent-code-field="1"]) label,
.wc-block-checkout .wc-block-components-text-input input[data-wl-agent-code-field="1"]:focus + label,
.wc-block-checkout .wc-block-components-text-input input[data-wl-agent-code-field="1"]:not(:placeholder-shown) + label,
.wc-block-checkout .wc-block-components-text-input input[data-wl-agent-code-field="1"]:-webkit-autofill + label {
	transform: translateY(-1.35rem) scale(0.82);
	transform-origin: left top;
	background: #fff;
	padding: 0 0.3rem;
}

.wc-block-checkout .wc-block-components-text-input input[data-wl-agent-code-field="1"] {
	padding-top: 1.55rem;
	padding-bottom: 0.45rem;
}

.wl-legal-docs__checkout-account-banner {
	margin: 0 0 1.25rem;
	border: 1px solid #c7d7df;
	border-radius: 16px;
	background: linear-gradient(180deg, #f7fbfd 0%, #eef6f9 100%);
	box-shadow: 0 10px 24px rgba(8, 33, 53, 0.06);
}

.wl-legal-docs__checkout-account-banner-inner {
	padding: 1.2rem 1.3rem;
}

.wl-legal-docs__checkout-account-banner h3 {
	margin: 0 0 0.45rem;
	font-size: 1.1rem;
	color: #0f4c5c;
}

.wl-legal-docs__checkout-account-banner p {
	margin: 0 0 0.75rem;
	color: #21313d;
	line-height: 1.5;
}

.wl-legal-docs__checkout-account-banner p:last-child {
	margin-bottom: 0;
}

.wl-legal-docs__checkout-account-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1rem;
	border-radius: 10px;
	background: #0f4c5c;
	color: #fff !important;
	font-weight: 600;
	text-decoration: none;
}

.wl-legal-docs__checkout-account-link:hover,
.wl-legal-docs__checkout-account-link:focus {
	background: #0b3944;
	color: #fff !important;
}

body.woocommerce-cart .product-thumbnail,
body.woocommerce-cart .wc-block-cart-item__image,
body.woocommerce-checkout .wc-block-components-order-summary-item__image,
body.woocommerce-checkout .wc-block-cart-item__image,
body.woocommerce-page .wc-block-components-order-summary-item__image {
	display: none !important;
}

body.woocommerce-cart .product-name,
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
	padding-left: 0 !important;
}

body.single-product .woocommerce-breadcrumb,
body.single-product .product_meta,
body.single-product .posted_in,
body.single-product .ast-woo-product-category,
body.single-product .ast-woo-product-category *,
body.single-product .product-category,
body.single-product .product-categories,
body.single-product .related.products,
body.single-product .up-sells,
body.single-product .woocommerce-tabs,
body.single-product .wc-tabs-wrapper,
body.single-product .woocommerce-product-gallery {
	display: none !important;
}

body.single-product div.product {
	max-width: 920px;
	margin: 0 auto;
	padding: clamp(2rem, 4vw, 4rem) 1.25rem;
}

body.single-product div.product .summary {
	float: none !important;
	width: 100% !important;
	max-width: 640px;
	margin: 0 auto !important;
	padding: 2rem 2rem 1.75rem;
	border: 1px solid color-mix(in srgb, var(--ast-global-color-0, #2563eb) 12%, #dbe3ec);
	border-radius: 24px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
	box-shadow: 0 20px 44px rgba(15, 23, 42, 0.06);
}

body.single-product div.product .product_title {
	margin-bottom: 0.75rem;
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
	color: var(--ast-global-color-3, #0f172a);
}

body.single-product div.product p.price,
body.single-product div.product span.price {
	margin-bottom: 1.25rem;
	font-size: 2rem;
	font-weight: 700;
	color: var(--ast-global-color-3, #0f172a);
}

body.single-product .single_add_to_cart_button.button,
body.single-product .single_add_to_cart_button.button.alt {
	min-height: 52px;
	padding: 0.85rem 1.35rem;
	border-radius: 14px;
	font-weight: 700;
}

body.single-product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	align-items: center;
}

body.single-product form.cart .quantity {
	margin: 0 !important;
}

body.single-product form.cart .qty {
	min-height: 52px;
	border-radius: 12px;
}

.wl-legal-docs__input[type="date"] {
	padding-right: 0.5rem;
}

.wl-legal-docs textarea.wl-legal-docs__input {
	min-height: 132px;
	resize: vertical;
}

.wl-legal-docs__input:focus {
	border-color: #2b8ca5;
	outline: 2px solid rgba(43, 140, 165, 0.14);
	outline-offset: 0;
	background: #fff;
}

.wl-legal-docs__back {
	color: var(--wlld-primary);
}

.wl-legal-docs__repeater-items {
	display: grid;
	gap: 0.8rem;
	margin-bottom: 0.65rem;
}

.wl-legal-docs__repeater-item {
	border: 1px solid var(--wlld-border);
	border-radius: 14px;
	padding: 0.95rem 1rem 0.9rem;
	background: linear-gradient(180deg, #fbfdfe 0%, #f6fafc 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.wl-legal-docs__remove-row,
.wl-legal-docs__add-row {
	margin-top: 1rem;
}

body.woocommerce-shop ul.products,
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
	--wl-shop-accent: var(--ast-global-color-0, var(--ast-global-color-1, #2563eb));
	--wl-shop-accent-soft: color-mix(in srgb, var(--wl-shop-accent) 16%, white);
	--wl-shop-text: var(--ast-global-color-3, #0f172a);
	--wl-shop-muted: var(--ast-global-color-2, #6b7280);
	--wl-shop-surface: #ffffff;
	--wl-shop-border: color-mix(in srgb, var(--wl-shop-accent) 12%, #dbe3ec);
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center !important;
	align-items: stretch;
	width: 100%;
	max-width: 1200px;
	gap: 1.5rem;
	float: none !important;
	clear: both;
	margin: 0 auto !important;
	padding: 0;
	list-style: none;
}

.wl-legal-docs-shop-page {
	padding: clamp(2.25rem, 5vw, 4.75rem) clamp(1.5rem, 4vw, 3rem) 4.5rem;
}

.wl-legal-docs-shop-page__inner {
	max-width: 1240px;
	margin: 0 auto;
}

body.woocommerce-shop .wl-legal-docs-shop,
body.post-type-archive-product .wl-legal-docs-shop,
body.tax-product_cat .wl-legal-docs-shop,
body.tax-product_tag .wl-legal-docs-shop {
	display: flex;
	flex-direction: column;
	align-items: center;
}

body.woocommerce-shop .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count,
body.woocommerce-shop .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering {
	display: none !important;
}

body.woocommerce-shop .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header,
body.woocommerce-shop .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb,
body.tax-product_tag .woocommerce-breadcrumb {
	display: none !important;
}

body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
	float: none !important;
	flex: 0 1 340px;
	width: min(100%, 340px) !important;
	max-width: 340px;
	margin: 0 !important;
}

.wl-legal-docs-shop__intro {
	max-width: 760px;
	margin: 0 auto 2.2rem;
	text-align: center;
}

.wl-legal-docs-shop__eyebrow {
	margin: 0 0 0.4rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wl-shop-muted);
}

.wl-legal-docs-shop__title {
	margin: 0;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.05;
	color: var(--wl-shop-text);
}

.wl-legal-docs-shop__lede {
	margin: 0.9rem auto 0;
	max-width: 650px;
	font-size: 1.02rem;
	line-height: 1.7;
	color: var(--wl-shop-muted);
}

.wl-legal-docs-shop__card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 1.35rem 1.2rem 1.2rem;
	border: 1px solid var(--wl-shop-border);
	border-radius: 22px;
	background: linear-gradient(180deg, var(--wl-shop-surface) 0%, #fbfdff 100%);
	box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

body.woocommerce-shop ul.products li.product > .price,
body.post-type-archive-product ul.products li.product > .price,
body.tax-product_cat ul.products li.product > .price,
body.tax-product_tag ul.products li.product > .price,
body.woocommerce-shop ul.products li.product > .button,
body.post-type-archive-product ul.products li.product > .button,
body.tax-product_cat ul.products li.product > .button,
body.tax-product_tag ul.products li.product > .button,
body.woocommerce-shop ul.products li.product .added_to_cart,
body.post-type-archive-product ul.products li.product .added_to_cart,
body.tax-product_cat ul.products li.product .added_to_cart,
body.tax-product_tag ul.products li.product .added_to_cart,
body.woocommerce-shop ul.products li.product .posted_in,
body.post-type-archive-product ul.products li.product .posted_in,
body.tax-product_cat ul.products li.product .posted_in,
body.tax-product_tag ul.products li.product .posted_in,
body.woocommerce-shop ul.products li.product .product_meta,
body.post-type-archive-product ul.products li.product .product_meta,
body.tax-product_cat ul.products li.product .product_meta,
body.tax-product_tag ul.products li.product .product_meta {
	display: none !important;
}

.wl-legal-docs-shop__card--featured {
	border-color: color-mix(in srgb, var(--wl-shop-accent) 38%, white);
	box-shadow: 0 20px 44px color-mix(in srgb, var(--wl-shop-accent) 20%, transparent);
}

.wl-legal-docs-shop__badge {
	position: absolute;
	top: -0.85rem;
	left: 50%;
	transform: translateX(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.34rem 0.8rem;
	border-radius: 999px;
	background: var(--wl-shop-accent);
	color: #fff;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.wl-legal-docs-shop__card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
}

.wl-legal-docs-shop__card-title {
	margin: 0;
	font-size: 1.8rem;
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.wl-legal-docs-shop__card-title a {
	color: var(--wl-shop-text);
	text-decoration: none;
}

.wl-legal-docs-shop__card-subtitle {
	margin: 0.65rem 0 1.3rem;
	font-size: 0.98rem;
	line-height: 1.6;
	color: var(--wl-shop-muted);
}

.wl-legal-docs-shop__price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.55rem;
	margin-bottom: 0.3rem;
}

.wl-legal-docs-shop__price {
	font-size: 2.35rem;
	font-weight: 700;
	line-height: 1;
	color: var(--wl-shop-text);
}

.wl-legal-docs-shop__price .woocommerce-Price-amount {
	font-weight: inherit;
}

.wl-legal-docs-shop__billing-note {
	padding-bottom: 0.22rem;
	font-size: 0.95rem;
	color: var(--wl-shop-muted);
}

.wl-legal-docs-shop__price-note {
	margin: 0.2rem 0 0.8rem;
	font-size: 0.9rem;
	color: var(--wl-shop-accent);
}

.wl-legal-docs-shop__document-count {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: color-mix(in srgb, var(--wl-shop-text) 72%, white);
}

.wl-legal-docs-shop__feature-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.7rem;
	width: 100%;
}

.wl-legal-docs-shop__feature-list li {
	position: relative;
	padding-left: 1.4rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--wl-shop-text) 86%, white);
}

.wl-legal-docs-shop__feature-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: var(--wl-shop-accent);
}

.wl-legal-docs-shop__card-footer {
	margin-top: 1.4rem;
	padding-top: 1.1rem;
	width: 100%;
}

.wl-legal-docs-shop__cta.button,
.wl-legal-docs-shop__cta.button.alt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	border: 1px solid var(--wl-shop-border);
	border-radius: 14px;
	background: #fff;
	color: var(--wl-shop-text);
	font-weight: 700;
	text-decoration: none;
	box-shadow: none;
}

.wl-legal-docs-shop__card--featured .wl-legal-docs-shop__cta.button,
.wl-legal-docs-shop__card--featured .wl-legal-docs-shop__cta.button.alt {
	background: var(--wl-shop-accent);
	border-color: var(--wl-shop-accent);
	color: #fff;
}

.wl-legal-docs-shop__addons {
	margin-top: 4rem;
	padding-top: 1rem;
}

.wl-legal-docs-shop__addons-header {
	max-width: 720px;
	margin: 0 auto 1.8rem;
	text-align: center;
}

.wl-legal-docs-shop__addons-header h2 {
	margin: 0;
	font-size: clamp(1.7rem, 2vw, 2.4rem);
	color: var(--wl-shop-text);
}

.wl-legal-docs-shop__addons-header p {
	margin: 0.7rem 0 0;
	color: var(--wl-shop-muted);
	line-height: 1.6;
}

.wl-legal-docs-shop__addons-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.2rem;
}

.wl-legal-docs-shop__addon-card {
	padding: 1.2rem 1.15rem;
	border: 1px solid var(--wl-shop-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
	text-align: center;
}

.wl-legal-docs-shop__addon-card h3 {
	margin: 0;
	font-size: 1.15rem;
}

.wl-legal-docs-shop__addon-card h3 a {
	color: var(--wl-shop-text);
	text-decoration: none;
}

.wl-legal-docs-shop__addon-subtitle {
	margin: 0.65rem 0 0;
	color: var(--wl-shop-accent);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

.wl-legal-docs-shop__all-plans {
	margin-top: 3.25rem;
	padding-top: 2rem;
	border-top: 1px solid color-mix(in srgb, var(--wl-shop-accent) 10%, #dbe3ec);
	text-align: center;
}

.wl-legal-docs-shop__all-plans h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.45rem, 2vw, 2rem);
	color: var(--wl-shop-text);
}

.wl-legal-docs-shop__all-plans-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	max-width: 860px;
	margin: 0 auto;
}

.wl-legal-docs-shop__all-plans-grid span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	padding: 0.9rem 1rem;
	border: 1px solid var(--wl-shop-border);
	border-radius: 16px;
	background: #fff;
	font-weight: 700;
	color: var(--wl-shop-text);
}

@media (max-width: 1080px) {
	body.woocommerce-shop ul.products,
	body.post-type-archive-product ul.products,
	body.tax-product_cat ul.products,
	body.tax-product_tag ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wl-legal-docs-shop__addons-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wl-legal-docs-shop__all-plans-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	body.woocommerce-shop ul.products,
	body.post-type-archive-product ul.products,
	body.tax-product_cat ul.products,
	body.tax-product_tag ul.products,
	.wl-legal-docs-shop__addons-grid,
	.wl-legal-docs-shop__all-plans-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.wl-legal-docs-shop__card {
		padding-top: 1.7rem;
	}
}

.wl-legal-docs__remove-row {
	align-self: flex-start;
}

.wl-legal-docs__review h4 {
	margin: 0.85rem 0 0.35rem;
}

.wl-legal-docs__review ul {
	margin: 0;
	padding-left: 1rem;
}

.wl-legal-docs__group-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1rem;
	align-items: start;
}

.wl-legal-docs__group-grid > .wl-legal-docs__subfield,
.wl-legal-docs__address-grid > .wl-legal-docs__subfield,
.wl-legal-docs__repeater-card-grid > .wl-legal-docs__subfield {
	margin: 0;
}

.wl-legal-docs__address-grid > .wl-legal-docs__subfield[data-address-part="street_address"] {
	grid-column: 1;
	grid-row: 1;
}

.wl-legal-docs__address-grid > .wl-legal-docs__subfield[data-address-part="address_line_2"] {
	grid-column: 2;
	grid-row: 1;
}

.wl-legal-docs__address-grid > .wl-legal-docs__subfield[data-address-part="city"] {
	grid-column: 1;
	grid-row: 2;
}

.wl-legal-docs__address-grid > .wl-legal-docs__subfield[data-address-part="state"] {
	grid-column: 2;
	grid-row: 2;
}

.wl-legal-docs__address-grid > .wl-legal-docs__subfield[data-address-part="zip_code"] {
	grid-column: 1;
	grid-row: 3;
}

.wl-legal-docs__field .wl-legal-docs__group-grid,
.wl-legal-docs__field .wl-legal-docs__address-grid,
.wl-legal-docs__field .wl-legal-docs__repeater-card-grid {
	width: 100%;
	max-width: none;
}

.wl-legal-docs__repeater-card-grid > .wl-legal-docs__subfield--group,
.wl-legal-docs__repeater-card-grid > .wl-legal-docs__subfield--address,
.wl-legal-docs__repeater-card-grid > .wl-legal-docs__subfield--radio {
	grid-column: 1 / -1;
}

.wl-legal-docs__repeater-card-grid > .wl-legal-docs__subfield--text,
.wl-legal-docs__repeater-card-grid > .wl-legal-docs__subfield--email,
.wl-legal-docs__repeater-card-grid > .wl-legal-docs__subfield--phone,
.wl-legal-docs__repeater-card-grid > .wl-legal-docs__subfield--number,
.wl-legal-docs__repeater-card-grid > .wl-legal-docs__subfield--date,
.wl-legal-docs__repeater-card-grid > .wl-legal-docs__subfield--select {
	min-width: 0;
}

.wl-legal-docs__repeater-card-grid .wl-legal-docs__group-grid,
.wl-legal-docs__repeater-card-grid .wl-legal-docs__address-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
	.wl-legal-docs__field--group .wl-legal-docs__group-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wl-legal-docs__field--address .wl-legal-docs__address-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wl-legal-docs__repeater-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.wl-legal-docs__notice {
	grid-column: 1 / -1;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	padding: 0.9rem 1rem;
	background: #f8fafc;
}

.wl-legal-docs__notice--warning {
	border-color: #f59e0b;
	background: #fff8eb;
}

.wl-legal-docs__notice p,
.wl-legal-docs__note {
	margin: 0.45rem 0 0;
	color: var(--wlld-muted);
}

.wl-legal-docs__help-toggle {
	grid-column: 1 / -1;
	padding: 0.8rem 1rem;
	border: 1px solid var(--wlld-border);
	border-radius: 10px;
	background: #fff;
}

.wl-legal-docs__help-toggle summary {
	cursor: pointer;
	font-weight: 600;
}

.wl-legal-docs__help-toggle-content {
	margin-top: 0.8rem;
	color: var(--wlld-muted);
	line-height: 1.55;
}

.wl-legal-docs__step-errors {
	margin: 0 0 0.75rem;
	color: #b91c1c;
}

.wl-legal-docs__step-errors ul {
	margin: 0;
	padding-left: 1rem;
}

.wl-legal-docs__copy-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.35rem;
	font-size: 0.95rem;
}

body.woocommerce-account .woocommerce,
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
	width: 100%;
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
	margin-bottom: 1.15rem;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wl-legal-docs-account-nav {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.wl-legal-docs-account-nav__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wl-legal-docs-account-nav__tab {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.wl-legal-docs-account-nav__tab a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0.45rem 0.8rem;
	border: 1px solid rgba(15, 23, 42, 0.12) !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: var(--ast-global-color-3, #1e293b);
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
}

.wl-legal-docs-account-nav__tab a:hover,
.wl-legal-docs-account-nav__tab a:focus {
	background: #f8fafc !important;
	color: var(--ast-global-color-0, #1d4f91) !important;
	border-color: rgba(29, 79, 145, 0.2) !important;
	box-shadow: none !important;
	transform: none !important;
}

.wl-legal-docs-account-nav__tab a::before,
.wl-legal-docs-account-nav__tab a::after,
.wl-legal-docs-account-nav__tab a:hover::before,
.wl-legal-docs-account-nav__tab a:hover::after,
.wl-legal-docs-account-nav__tab a:focus::before,
.wl-legal-docs-account-nav__tab a:focus::after {
	display: none !important;
	content: none !important;
}

.wl-legal-docs-account-nav__current {
	font-size: clamp(1.45rem, 2vw, 2rem);
	font-weight: 700;
	line-height: 1.05;
	color: var(--ast-global-color-3, #0f172a);
}

body.woocommerce-account .woocommerce-MyAccount-content > :first-child {
	margin-top: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content .entry-title,
body.woocommerce-account .woocommerce-MyAccount-content h1,
body.woocommerce-account .woocommerce-MyAccount-content h2 {
	line-height: 1.08;
}

body.woocommerce-account .wl-legal-docs__header {
	margin-bottom: 0.65rem;
}

body.woocommerce-account .wl-legal-docs__back {
	font-weight: 600;
	text-decoration: none;
}

body.woocommerce-account .wl-legal-docs__meta {
	margin: 0.75rem 0 1rem;
}

body.woocommerce-account .wl-legal-docs__actions {
	gap: 0.6rem;
	align-items: center;
}

body.woocommerce-account .wl-legal-docs__actions .wl-legal-docs__button {
	min-height: 44px;
	padding: 0.72rem 0.95rem;
	font-size: 0.92rem;
	min-width: 180px;
}

body.woocommerce-account .wl-legal-docs__table td[data-title="Actions"] {
	vertical-align: middle;
}

body.woocommerce-account .wl-legal-docs__table td[data-title="Actions"] .wl-legal-docs__actions {
	display: grid;
	grid-template-columns: minmax(180px, 220px);
	justify-content: center;
	justify-items: center;
	align-content: center;
	gap: 0.7rem;
}

body.woocommerce-account .wl-legal-docs__table td[data-title="Actions"] .wl-legal-docs__button {
	width: 100%;
	min-width: 180px;
}

body.woocommerce-account .wl-legal-docs__actions,
body.woocommerce-account .wl-legal-docs__form-actions,
body.woocommerce-account .wl-legal-docs__wizard-actions {
	justify-content: center;
	align-items: center;
}

body.woocommerce-account .wl-legal-docs__form-actions .wl-legal-docs__button,
body.woocommerce-account .wl-legal-docs__wizard-actions .wl-legal-docs__button,
body.woocommerce-account .wl-legal-docs__actions .wl-legal-docs__button {
	text-align: center;
	min-width: 180px;
}

body.woocommerce-account .wl-legal-docs__wizard-actions .button,
body.woocommerce-account .wl-legal-docs__form-actions .button {
	min-width: 180px;
	min-height: 44px;
}

body.woocommerce-account .woocommerce-privacy-policy-text,
body.woocommerce-account .woocommerce-form-register .privacy-policy-text,
body.woocommerce-account .woocommerce-form-register .woocommerce-privacy-policy-text {
	display: none !important;
}

.wl-legal-docs__required-indicator {
	color: #b42318;
	font-weight: 700;
}

.wl-legal-docs__remove-row,
.wl-legal-docs__add-row {
	align-self: flex-start;
	margin-top: 0.65rem;
	min-width: 170px;
}

@media (max-width: 640px) {
	.wl-legal-docs {
		max-width: 100%;
	}

	.wl-legal-docs__section-card {
		padding: 1rem;
		border-radius: 12px;
	}

	.wl-legal-docs__group-grid,
	.wl-legal-docs__address-grid,
	.wl-legal-docs__repeater-card-grid,
	.wl-legal-docs__fields {
		grid-template-columns: minmax(0, 1fr);
	}

	.wl-legal-docs__field {
		grid-column: 1 / -1;
	}

	.wl-legal-docs__table th,
	.wl-legal-docs__table td {
		padding: 0.75rem 0.5rem;
	}

	.wl-legal-docs__wizard-actions .button {
		width: 100%;
		justify-content: center;
	}
}
