/* Only what theme.json can't express. */

.lino-demo-bar a {
	color: inherit;
	font-weight: 600;
}

/* Promo bar: the whole line is the link; the code stands out without an underline of its own. */
.lino-promo-bar a {
	color: inherit;
	text-decoration: none;
}

.lino-promo-bar a:hover,
.lino-promo-bar a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.lino-promo-bar a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.lino-promo-code {
	font-weight: 600;
	letter-spacing: 0.08em;
}

.lino-header-tools .wc-block-mini-cart__button,
.lino-header-tools .wc-block-customer-account a {
	color: var(--wp--preset--color--charcoal);
}

.lino-search .wp-block-search__button {
	background: transparent;
	border-color: transparent;
	color: var(--wp--preset--color--charcoal);
	padding: 0.4rem;
}

.lino-plain-list {
	list-style: none;
	padding-left: 0;
}

.lino-plain-list li + li {
	margin-top: 0.35rem;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	border-width: 1px;
	padding: 0.9rem 1.75rem;
	background: transparent;
	color: var(--wp--preset--color--charcoal);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--base);
}

@media (max-width: 599px) {
	.lino-header .wp-block-site-title {
		font-size: 1.35rem;
	}

	.lino-header-tools {
		gap: 0.25rem;
	}
}

/* ---------- Home ---------- */

/* The hero sits right under the header. WooCommerce's (usually empty) notices block comes first in
   the template, so the hero isn't the first child and would get the section gap above it. */
main.lino-home,
.lino-home > .lino-hero {
	margin-block-start: 0;
}

.lino-home > .wc-block-store-notices:has(.wc-block-components-notice-banner, .woocommerce-message, .woocommerce-error, .woocommerce-info) {
	padding-block: var(--wp--preset--spacing--30);
}

.lino-eyebrow {
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sage-dark);
}

.lino-hero .lino-hero-title {
	font-size: clamp(3rem, 9vw, 6.5rem);
	line-height: 1;
	margin-block: 0.25em 0.3em;
}

.lino-hero .lino-hero-lead {
	max-width: 32ch;
}

.lino-hero.is-light .lino-hero-title,
.lino-hero.is-light .lino-hero-lead {
	color: var(--wp--preset--color--charcoal);
}

.lino-hero:not(.is-light) .lino-eyebrow,
.lino-hero:not(.is-light) .lino-hero-title,
.lino-hero:not(.is-light) .lino-hero-lead {
	color: var(--wp--preset--color--white);
}

.lino-hero:not(.is-light) .lino-hero-button .wp-block-button__link {
	background: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--charcoal);
}

.lino-section > h2 {
	margin-bottom: var(--wp--preset--spacing--40);
}

.lino-category-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--wp--preset--spacing--30);
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 900px) {
	.lino-category-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.lino-category-grid a {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: var(--wp--preset--color--sand);
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

.lino-category-grid img,
.lino-category-grid__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.lino-category-grid a:hover img {
	transform: scale(1.04);
}

.lino-category-grid a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(43, 42, 40, 0.7), transparent 60%);
}

.lino-category-grid__name {
	position: absolute;
	left: var(--wp--preset--spacing--30);
	bottom: var(--wp--preset--spacing--30);
	z-index: 1;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	text-shadow: 0 1px 8px rgba(43, 42, 40, 0.5);
}

.lino-category-grid a:focus-visible {
	outline: 2px solid var(--wp--preset--color--charcoal);
	outline-offset: 3px;
}

.lino-usp__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--wp--preset--spacing--40);
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 900px) {
	.lino-usp__list {
		grid-template-columns: repeat(4, 1fr);
	}
}

.lino-usp__list li {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding-left: var(--wp--preset--spacing--30);
	border-left: 2px solid var(--wp--preset--color--sage);
}

.lino-usp__list strong {
	font-weight: 600;
}

.lino-usp__list span {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

.lino-story__media {
	aspect-ratio: 4 / 5;
	background: var(--wp--preset--color--sand);
	overflow: hidden;
}

.lino-story__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lino-newsletter__form {
	display: flex;
	gap: var(--wp--preset--spacing--20);
}

.lino-newsletter__form input {
	flex: 1;
	min-width: 0;
	padding: 0.85rem 1rem;
	border: 1px solid var(--wp--preset--color--charcoal);
	background: var(--wp--preset--color--white);
	font: inherit;
}

.lino-newsletter__message {
	text-align: center;
	font-weight: 500;
	color: var(--wp--preset--color--sage-dark);
}

/* ---------- Shop archive ---------- */

.lino-archive .wp-block-query-title {
	margin-block: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
}

.lino-archive__filters h2 {
	margin-top: 0;
}

.lino-archive__filters h3 {
	margin-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--20);
	font-family: var(--wp--preset--font-family--body);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.8rem;
}

.lino-product-grid .wc-block-product {
	text-align: left;
}

.lino-product-grid .wp-block-post-title,
.lino-related .wp-block-post-title,
.lino-section .wp-block-post-title {
	margin-block: 0.75rem 0.25rem;
}

.lino-product-grid .wp-block-post-title a,
.lino-related .wp-block-post-title a,
.lino-section .wp-block-post-title a {
	color: var(--wp--preset--color--charcoal);
	text-decoration: none;
}

.wc-block-components-product-image img,
.wp-block-woocommerce-product-image img {
	aspect-ratio: 3 / 4;
	object-fit: cover;
	background: var(--wp--preset--color--white);
}

@media (max-width: 599px) {
	.lino-product-grid .wc-block-product-template,
	.lino-related .wc-block-product-template,
	.lino-section .wc-block-product-template {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

/* ---------- Product page ---------- */

.lino-product__summary .wp-block-post-excerpt {
	color: var(--wp--preset--color--muted);
}

.lino-product__details {
	border-top: 1px solid var(--wp--preset--color--sand);
	padding-block: 0.9rem;
	margin: 0;
}

.lino-product__details:last-of-type {
	border-bottom: 1px solid var(--wp--preset--color--sand);
}

.lino-product__details summary {
	cursor: pointer;
	font-weight: 600;
}

.lino-product__details p {
	margin-block: 0.6rem 0;
	color: var(--wp--preset--color--muted);
}

/* Out-of-stock variation chips and blocked add-to-cart (assets/js/variation-stock.js). */
.wp-block-woocommerce-add-to-cart-with-options-variation-selector-attribute button.is-out-of-stock,
.wp-block-woocommerce-add-to-cart-with-options-variation-selector-attribute button:disabled {
	text-decoration: line-through;
	opacity: 0.45;
}

.wc-block-components-product-button__button.is-out-of-stock {
	opacity: 0.45;
	cursor: not-allowed;
}

.lino-related {
	margin-top: var(--wp--preset--spacing--70);
}

/* ---------- Size guide ---------- */

.lino-size-guide__trigger {
	background: none;
	border: 0;
	padding: 0;
	margin-top: var(--wp--preset--spacing--30);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--sage-dark);
	text-decoration: underline;
	cursor: pointer;
}

.lino-size-guide__trigger:focus-visible,
.lino-size-guide__close:focus-visible {
	outline: 2px solid var(--wp--preset--color--charcoal);
	outline-offset: 2px;
}

.lino-size-guide {
	width: min(92vw, 480px);
	border: 0;
	padding: var(--wp--preset--spacing--50);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--charcoal);
}

.lino-size-guide::backdrop {
	background: rgba(43, 42, 40, 0.45);
}

.lino-size-guide__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.lino-size-guide__header h2 {
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
}

.lino-size-guide__close {
	background: none;
	border: 0;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	color: inherit;
}

.lino-size-guide__table {
	width: 100%;
	border-collapse: collapse;
	margin-top: var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--small);
}

.lino-size-guide__table caption {
	text-align: left;
	color: var(--wp--preset--color--muted);
	padding-bottom: 0.5rem;
}

.lino-size-guide__table :is(th, td) {
	padding: 0.55rem 0.4rem;
	border-bottom: 1px solid var(--wp--preset--color--sand);
	text-align: left;
}

.lino-size-guide__note {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

/* ---------- Cart / checkout ---------- */

.lino-free-shipping {
	margin-block: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--sand);
}

.lino-free-shipping[hidden] {
	display: none;
}

.lino-free-shipping__text {
	margin: 0 0 0.6rem;
	font-weight: 500;
}

.lino-free-shipping__bar {
	display: block;
	width: 100%;
	height: 6px;
	border: 0;
	appearance: none;
	background: var(--wp--preset--color--base);
	accent-color: var(--wp--preset--color--sage-dark);
}

.lino-free-shipping__bar::-webkit-progress-bar {
	background: var(--wp--preset--color--base);
}

.lino-free-shipping__bar::-webkit-progress-value {
	background: var(--wp--preset--color--sage-dark);
	transition: width 0.3s ease;
}

.lino-free-shipping__bar::-moz-progress-bar {
	background: var(--wp--preset--color--sage-dark);
}

.lino-free-shipping.is-free .lino-free-shipping__text {
	color: var(--wp--preset--color--sage-dark);
}

.lino-demo-note {
	padding: 0.75rem 1rem;
	background: var(--wp--preset--color--sand);
}

/* Empty cart: brand heading and a real button back to the shop. */
.wc-block-cart__empty-cart__title {
	font-size: var(--wp--preset--font-size--x-large);
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	background-color: var(--wp--preset--color--sage);
}

.wc-block-cart__empty-cart__title + p a {
	display: inline-block;
	padding: 0.9rem 1.75rem;
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.wc-block-cart__empty-cart__title + p a:hover {
	background: var(--wp--preset--color--sage-dark);
	color: var(--wp--preset--color--white);
}

/* ---------- Info pages ---------- */

.lino-table table {
	border-collapse: collapse;
	width: 100%;
}

.lino-table :is(th, td) {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--sand);
	padding: 0.7rem 0.5rem;
	text-align: left;
}

/* Unavailable add-to-cart (no variation chosen yet, or sold out): solid colours instead of
   WooCommerce's half-opacity fade, which left the label at 2.9:1 contrast. */
.lino-product__summary .wc-block-components-product-button__button:is(:disabled, .disabled, [aria-disabled="true"], .is-out-of-stock),
.lino-product__summary .wc-block-add-to-cart-with-options.is-invalid .wc-block-components-product-button__button {
	opacity: 1;
	background: var(--wp--preset--color--sand);
	border-color: var(--wp--preset--color--sand);
	color: var(--wp--preset--color--muted);
	cursor: not-allowed;
}

/* Gallery zoom button (positioned by WooCommerce's classic CSS, which this theme doesn't load). */
.woocommerce-product-gallery {
	position: relative;
}

.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 9;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(43, 42, 40, 0.15);
}

.woocommerce-product-gallery__wrapper {
	margin: 0;
}

.woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---------- Form fields ----------
   One look for every field: white, warm-grey border (3.6:1 against white, WCAG 1.4.11),
   4px corners, 48px tall, sage focus ring. Tokens: theme.json settings.custom.field. */

:root {
	--lino-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232B2A28' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--lino-focus: 0 0 0 3px rgba(79, 92, 73, 0.25);
}

:is(
	.wc-block-catalog-sorting select,
	.woocommerce-ordering select,
	.wp-block-search__input,
	.lino-newsletter__form input
) {
	min-height: var(--wp--custom--field--height);
	padding: 0 0.9rem;
	border: 1px solid var(--wp--custom--field--border);
	border-radius: var(--wp--custom--field--radius);
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--charcoal);
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

:is(
	.wc-block-catalog-sorting select,
	.woocommerce-ordering select,
	.wp-block-search__input,
	.lino-newsletter__form input
):is(:hover) {
	border-color: var(--wp--preset--color--charcoal);
}

:is(
	.wc-block-catalog-sorting select,
	.woocommerce-ordering select,
	.wp-block-search__input,
	.lino-newsletter__form input
):focus {
	outline: none;
	border-color: var(--wp--preset--color--sage-dark);
	box-shadow: var(--lino-focus);
}

/* Dropdowns: own chevron instead of the browser arrow. */
.wc-block-catalog-sorting select,
.woocommerce-ordering select {
	appearance: none;
	padding-right: 2.5rem;
	background-image: var(--lino-chevron);
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
	font-size: var(--wp--preset--font-size--small);
	cursor: pointer;
}

.wc-blocks-components-select .wc-blocks-components-select__container {
	border: 0;
	background: transparent;
}

.wc-blocks-components-select__select {
	width: 100%;
}

/* Checkout floating labels: muted, and the fields get a little more air. */
.wc-block-components-text-input label,
.wc-blocks-components-select__label,
.wc-block-components-combobox label {
	color: var(--wp--preset--color--muted);
}

.wc-block-components-text-input.is-active label,
.wc-blocks-components-select__label {
	font-size: 0.75rem;
}

.wc-block-components-address-form .wc-block-components-text-input,
.wc-block-components-address-form .wc-blocks-components-select,
.wc-block-checkout__contact-fields .wc-block-components-text-input {
	margin-top: 0.75rem;
}

.wc-block-checkout .wc-block-components-checkout-step__title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
}

/* Errors. */
.wc-block-components-text-input.has-error input,
.wc-blocks-components-select.has-error .wc-blocks-components-select__select {
	border-color: var(--wp--custom--field--error);
}

.wc-block-components-validation-error {
	color: var(--wp--custom--field--error);
}

/* Checkboxes and radios in the brand colour. */
.wc-block-components-checkbox__input,
.wc-block-components-radio-control__input {
	accent-color: var(--wp--preset--color--sage-dark);
	border-color: var(--wp--custom--field--border);
}

.wc-block-components-checkbox__input:checked {
	background-color: var(--wp--preset--color--sage-dark);
	border-color: var(--wp--preset--color--sage-dark);
}

.wc-block-components-checkbox__mark {
	fill: var(--wp--preset--color--white);
}

.wc-block-components-radio-control__input:checked {
	border-color: var(--wp--preset--color--sage-dark);
}

.wc-block-components-radio-control__input:checked::before {
	background: var(--wp--preset--color--sage-dark);
}

/* Payment / shipping options as soft cards. */
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option {
	border-radius: var(--wp--custom--field--radius);
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option-checked,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--sage-dark);
}

/* Quantity steppers. */
.wc-block-components-quantity-selector {
	border-color: var(--wp--custom--field--border);
	border-radius: var(--wp--custom--field--radius);
	background: var(--wp--preset--color--white);
}

.wc-block-components-quantity-selector::after {
	border-color: var(--wp--custom--field--border);
	border-radius: var(--wp--custom--field--radius);
}

/* Header search field (opens from the icon) and newsletter input. */
.lino-search .wp-block-search__input {
	min-height: 40px;
}

.lino-newsletter__form input {
	flex: 1;
}

.lino-newsletter__form button {
	border-radius: var(--wp--custom--field--radius);
}

/* WooCommerce's block form rules use attribute selectors (input[type="email"]…), so match them with a body prefix. */
body .wc-block-components-form .wc-block-components-text-input :is(input[type], textarea),
body .wc-block-components-totals-coupon .wc-block-components-text-input input,
body .wc-blocks-components-select .wc-blocks-components-select__select {
	border: 1px solid var(--wp--custom--field--border);
	border-radius: var(--wp--custom--field--radius);
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--charcoal);
}

body .wc-block-components-form .wc-block-components-text-input :is(input[type], textarea):hover,
body .wc-block-components-totals-coupon .wc-block-components-text-input input:hover {
	border-color: var(--wp--preset--color--charcoal);
}

body .wc-block-components-form .wc-block-components-text-input :is(input[type], textarea):is(:focus, :focus-within),
body .wc-block-components-totals-coupon .wc-block-components-text-input input:focus,
body .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	outline: none;
	border-color: var(--wp--preset--color--sage-dark);
	box-shadow: var(--lino-focus);
}

body .wc-block-components-form .wc-block-components-text-input.has-error :is(input, textarea) {
	border-color: var(--wp--custom--field--error);
}

/* Checkout: country field spacing and the selected shipping/payment option in sage. */
body .wc-block-components-form .wc-block-components-address-form .wc-block-components-address-form__country {
	margin-top: 0.75rem;
}

body .wc-block-components-radio-control--highlight-checked :is(.wc-block-components-radio-control__option--checked-option-highlighted, .wc-block-components-radio-control-accordion-option--checked-option-highlighted) {
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--sage-dark);
}

body .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
	border-color: var(--wp--preset--color--sage-dark);
}

body .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before {
	background: var(--wp--preset--color--sage-dark);
}

/* Payment options: one outline around the whole selected option (no second outline on its label row),
   and the method's description (our demo note) in a sand panel so it stands out. */
body .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
	box-shadow: none;
}

/* flow-root keeps the panel's bottom margin inside the option, so the panel stops short of the outline. */
body .wc-block-components-radio-control-accordion-option {
	display: flow-root;
}

body .wc-block-components-radio-control-accordion-content {
	/* Same as the 1.5px outline, so the panel never covers it. */
	margin: 0 1.5px 1.5px;
	padding: 0.75rem 1rem;
	background: var(--wp--preset--color--sand);
	border-radius: 0 0 var(--wp--custom--field--radius) var(--wp--custom--field--radius);
	font-size: var(--wp--preset--font-size--small);
}

/* ---------- My account (WooCommerce's classic templates) ---------- */

/* Title and account content share one width (WooCommerce's classic CSS gave them different ones). */
body.woocommerce-account main > .wp-block-post-title,
body.woocommerce-account main > .wp-block-post-content,
body.woocommerce-account main > .wp-block-post-content > .woocommerce {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

body.woocommerce-account main > .wp-block-post-title {
	font-size: var(--wp--preset--font-size--x-large);
	margin-bottom: var(--wp--preset--spacing--50);
}

body.woocommerce-account .wp-block-post-content > .woocommerce {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: var(--wp--preset--spacing--60);
	align-items: start;
}

/* WooCommerce's clearfix pseudo-elements would become grid cells. */
body.woocommerce-account .wp-block-post-content > .woocommerce::before,
body.woocommerce-account .wp-block-post-content > .woocommerce::after {
	content: none;
}

body.woocommerce-account .wp-block-post-content > .woocommerce > :is(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) {
	float: none;
	width: auto;
	margin: 0;
}

@media (max-width: 781px) {
	body.woocommerce-account .wp-block-post-content > .woocommerce {
		grid-template-columns: 1fr;
		gap: var(--wp--preset--spacing--40);
	}
}

/* Account menu: compact list with a clear active item. */
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--wp--preset--color--sand);
}

.woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--wp--preset--color--sand);
}

.woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.7rem 0.75rem;
	color: var(--wp--preset--color--charcoal);
	text-decoration: none;
}

.woocommerce-MyAccount-navigation a:hover {
	background: var(--wp--preset--color--sand);
}

.woocommerce-MyAccount-navigation .is-active a {
	font-weight: 600;
	box-shadow: inset 3px 0 0 var(--wp--preset--color--sage-dark);
}

/* Address cards: heading and "Redaguoti" on one line, regular (not italic) address text. */
.woocommerce-account .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--wp--preset--spacing--40);
	margin-top: var(--wp--preset--spacing--40);
}

.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after {
	content: none;
}

.woocommerce-account .woocommerce .woocommerce-Addresses .woocommerce-Address {
	float: none;
	width: auto;
	max-width: none;
	padding: var(--wp--preset--spacing--40);
	border: 1px solid var(--wp--custom--field--border);
	border-radius: var(--wp--custom--field--radius);
	background: var(--wp--preset--color--white);
}

.woocommerce-account .woocommerce-Address-title {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.woocommerce-account .woocommerce-Address-title::before,
.woocommerce-account .woocommerce-Address-title::after {
	content: none;
}

.woocommerce-account .woocommerce-Address-title h2 {
	float: none;
	margin: 0;
	font-size: var(--wp--preset--font-size--medium);
}

.woocommerce-account .woocommerce-Address-title .edit {
	float: none;
	flex-shrink: 0;
	font-size: var(--wp--preset--font-size--small);
}

.woocommerce-account .woocommerce-Address address {
	font-style: normal;
	line-height: 1.7;
	color: var(--wp--preset--color--muted);
}

/* Classic clearfix pseudo-elements become flex items in the address header; the theme's list
   spacing adds padding under each menu item. */
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title::before,
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title::after {
	content: none;
	display: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	padding: 0;
}
