/* Feramo V2 – WooCommerce stylesheet: archives and single product shared parts (grid, cards, notices, reassurance) and the checkout header + steps, shipping methods, and tunnel header/footer shared by cart and checkout; replaces the WooCommerce default styles. Single product specifics live in product.css, cart specifics in cart.css, checkout specifics in checkout.css, order received specifics in confirmation.css, form fields shared by checkout and my account in section 14, my account specifics in account.css, order details table in order-details.css. */

/* 1. Shop body */
.feramo-shop-body {
	padding-bottom: 104px;
}

/* 2. Archive header band */
.feramo-archive-header {
	background: var(--feramo-ivory);
	border-bottom: 1px solid var(--feramo-line-warm);
}

.feramo-archive-header__inner {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-block: 40px 56px;
}

.feramo-archive-header__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 64px;
}

.feramo-archive-header__text {
	display: flex;
	flex: 1 1 520px;
	flex-direction: column;
	gap: 18px;
}

.feramo-archive-header__title {
	margin: 0;
	font-size: 56px;
	line-height: 1.08;
}

.feramo-archive-header .term-description,
.feramo-archive-header .page-description {
	max-width: 560px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--feramo-body);
}

.feramo-archive-header .term-description p,
.feramo-archive-header .page-description p {
	margin: 0;
}

.feramo-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 12px;
	color: var(--feramo-muted);
}

.feramo-breadcrumb a {
	color: var(--feramo-muted);
	text-decoration: none;
}

.feramo-breadcrumb a:hover {
	color: var(--feramo-copper-dark);
}

.feramo-breadcrumb__item:last-child {
	color: var(--feramo-ink);
}

/* 3. Subcategory pills */
.feramo-subcats__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 8px 0 0;
	list-style: none;
}

.feramo-pill {
	display: inline-block;
	padding: 11px 22px 13px;
	border: 1px solid var(--feramo-line-strong);
	border-radius: var(--feramo-radius-pill);
	background: transparent;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.feramo-pill:hover {
	border-color: var(--feramo-copper-dark);
}

.feramo-pill.is-current {
	border-color: var(--feramo-ink);
	background: var(--feramo-ink);
	color: #fff;
}

/* 4. Toolbar */
.feramo-shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 28px 0;
	border-bottom: 1px solid var(--feramo-line);
}

.feramo-shop-toolbar:empty {
	display: none;
}

.feramo-shop-body .woocommerce-result-count {
	margin: 0;
	font-size: 13px;
	color: var(--feramo-muted);
}

.feramo-shop-body .woocommerce-ordering {
	margin: 0;
}

.feramo-shop-body .woocommerce-ordering label {
	margin-right: 10px;
	font-size: 13px;
	color: var(--feramo-muted);
}

.feramo-shop-body .woocommerce-ordering select.orderby {
	height: 44px;
	padding: 0 40px 0 18px;
	border: 1px solid var(--feramo-line-strong);
	border-radius: var(--feramo-radius-pill);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231d1d1d' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
	color: var(--feramo-ink);
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

/* 5. Product grid */
.feramo-wc-main ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 48px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.feramo-shop-body ul.products {
	padding: 48px 0 32px;
}

.feramo-wc-main ul.products::before,
.feramo-wc-main ul.products::after {
	content: none;
	display: none;
}

.feramo-wc-main ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}

/* 6. Product card */
.feramo-wc-main ul.products li.product a.woocommerce-LoopProduct-link {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-decoration: none;
}

.feramo-wc-main ul.products li.product img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 8px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 6px;
	background: #ece8e3;
}

.feramo-card__category {
	margin: 0;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--feramo-muted);
}

.feramo-wc-main .woocommerce-loop-product__title {
	margin: 0;
	padding: 0;
	font-family: var(--feramo-font-serif);
	font-size: 19px;
	font-weight: 400;
	color: var(--feramo-ink);
}

.feramo-wc-main ul.products .price {
	font-size: 15px;
	font-weight: 500;
	color: var(--feramo-ink);
}

.feramo-wc-main ul.products .price del {
	font-size: 13px;
	font-weight: 400;
	color: var(--feramo-muted);
}

.feramo-wc-main ul.products .price ins {
	text-decoration: none;
}

.feramo-wc-main ul.products li.product .onsale {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	margin: 0;
	padding: 6px 12px;
	border-radius: var(--feramo-radius-pill);
	background: var(--feramo-ink);
	color: #fff;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* 7. Editorial tile */
.feramo-shop-body ul.products li.feramo-editorial-tile {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	grid-column: span 2;
	min-height: 400px;
	padding: 48px;
	border-radius: 6px;
	background: var(--feramo-anthracite);
	color: #fff;
}

.feramo-editorial-tile__eyebrow {
	color: var(--feramo-copper);
}

.feramo-editorial-tile__title {
	margin: 0;
	font-size: 36px;
	line-height: 1.15;
	color: #fff;
}

.feramo-editorial-tile__title em {
	color: var(--feramo-copper);
}

.feramo-editorial-tile__text {
	max-width: 440px;
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--feramo-footer-text);
}

.feramo-editorial-tile .feramo-btn {
	align-self: flex-start;
}

.feramo-editorial-tile .feramo-btn--outline-light:hover {
	border-color: var(--feramo-copper);
	background: var(--feramo-copper);
	color: #fff;
}

.feramo-editorial-tile :focus-visible {
	outline-color: var(--feramo-copper);
}

/* 8. Pagination */
.feramo-shop-body .woocommerce-pagination {
	padding: 24px 0 0;
	text-align: center;
}

.feramo-shop-body .woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.feramo-shop-body .woocommerce-pagination ul.page-numbers li {
	margin: 0;
	padding: 0;
	border: 0;
	overflow: visible;
}

.feramo-shop-body .woocommerce-pagination ul.page-numbers > li > a,
.feramo-shop-body .woocommerce-pagination ul.page-numbers > li > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--feramo-line-strong);
	border-radius: var(--feramo-radius-pill);
	background: transparent;
	color: var(--feramo-ink);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
}

.feramo-shop-body .woocommerce-pagination ul.page-numbers > li > a:hover {
	border-color: var(--feramo-copper-dark);
	background: transparent;
	color: var(--feramo-copper-dark);
}

.feramo-shop-body .woocommerce-pagination ul.page-numbers > li > span.current {
	border-color: var(--feramo-ink);
	background: var(--feramo-ink);
	color: #fff;
}

.feramo-shop-body .woocommerce-pagination ul.page-numbers > li > span.dots {
	border-color: transparent;
}

/* 9. Notices */
.feramo-wc-main .woocommerce-info,
.feramo-wc-main .woocommerce-message,
.feramo-wc-main .woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 24px 0;
	padding: 16px 20px;
	border-left: 3px solid var(--feramo-copper-dark);
	background: var(--feramo-ivory);
	font-size: 14px;
	list-style: none;
}

.feramo-wc-main ul.woocommerce-error {
	flex-direction: column;
	align-items: stretch;
	list-style: none;
}

.feramo-wc-main ul.woocommerce-error li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.feramo-wc-main .woocommerce-info a.button,
.feramo-wc-main .woocommerce-message a.button,
.feramo-wc-main .woocommerce-error a.button {
	padding: 10px 18px;
	border-radius: var(--feramo-radius-pill);
	background: var(--feramo-ink);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

.feramo-wc-main .woocommerce-info a.button:hover,
.feramo-wc-main .woocommerce-message a.button:hover,
.feramo-wc-main .woocommerce-error a.button:hover {
	background: var(--feramo-copper-dark);
	color: #fff;
}

.feramo-shop-body .woocommerce-no-products-found {
	padding: 48px 0;
}

.feramo-archive-header__cta svg {
	width: 16px;
	height: 16px;
}

/* 10. Reassurance band */
.feramo-reassurance {
	border-top: 1px solid var(--feramo-line);
	border-bottom: 1px solid var(--feramo-line);
	background: var(--feramo-ivory);
}

.feramo-reassurance__list {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin-block: 0;
	padding-block: 56px;
	list-style: none;
}

.feramo-reassurance__item {
	display: flex;
	flex: 1 1 220px;
	align-items: flex-start;
	gap: 16px;
}

.feramo-reassurance__item svg {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	color: var(--feramo-copper-dark);
}

.feramo-reassurance__title {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 600;
}

.feramo-reassurance__title a {
	text-decoration: none;
}

.feramo-reassurance__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--feramo-text-soft);
}

/* 11. Checkout header + steps */
.feramo-checkout-header {
	background: var(--feramo-ivory);
	border-bottom: 1px solid var(--feramo-line-warm);
}

.feramo-checkout-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding-block: 40px;
}

.feramo-checkout-header__title {
	margin: 0;
	font-family: var(--feramo-font-serif);
	font-size: 48px;
	font-weight: 400;
}

.feramo-steps {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
}

.feramo-steps__item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--feramo-muted);
}

.feramo-steps__item + .feramo-steps__item::before {
	content: "";
	width: 40px;
	height: 1px;
	background: var(--feramo-line-strong);
}

.feramo-steps__marker {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 28px;
	height: 28px;
	border: 1px solid var(--feramo-line-strong);
	border-radius: 50%;
	font-size: 12px;
}

.feramo-steps__item.is-current {
	color: var(--feramo-ink);
	font-weight: 600;
}

.feramo-steps__item.is-complete {
	color: var(--feramo-body);
	font-weight: 400;
}

.feramo-steps__item.is-current .feramo-steps__marker {
	border-color: var(--feramo-ink);
	background: var(--feramo-ink);
	color: #fff;
}

.feramo-steps__item.is-complete .feramo-steps__marker {
	border-color: var(--feramo-line-warm);
	background: var(--feramo-line-warm);
	color: var(--feramo-ink);
}

.feramo-steps__item.is-complete + .feramo-steps__item::before {
	background: var(--feramo-ink);
}

.feramo-steps__marker svg {
	width: 14px;
	height: 14px;
}

.feramo-steps__label-short {
	display: none;
}

/* 12. Shipping methods (cart totals and checkout review) */
.feramo-wc-main ul#shipping_method {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.feramo-wc-main ul#shipping_method li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
}

.feramo-wc-main ul#shipping_method input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--feramo-ink);
}

.feramo-wc-main ul#shipping_method label {
	display: flex;
	flex: 1;
	gap: 12px;
}

.feramo-wc-main .feramo-shipping-method__price {
	margin-left: auto;
	font-weight: 500;
}

/* 13. Tunnel header + footer */
.feramo-tunnel-header {
	background: #fff;
	border-bottom: 1px solid var(--feramo-line);
}

.feramo-tunnel-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	padding-block: 16px;
}

.feramo-tunnel-header__back {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	gap: 10px;
	padding: 12px 0;
	color: var(--feramo-ink);
	font-size: 13px;
	text-decoration: none;
}

.feramo-tunnel-header__back:hover {
	color: var(--feramo-copper-dark);
}

.feramo-tunnel-header__back svg {
	width: 16px;
	height: 16px;
}

.feramo-tunnel-header .feramo-logo,
.feramo-tunnel-header .custom-logo-link {
	justify-self: center;
}

.feramo-tunnel-header .feramo-logo__svg {
	width: 118px;
	height: 52px;
}

.feramo-tunnel-header__secure {
	display: flex;
	align-items: center;
	justify-self: end;
	gap: 10px;
	margin: 0;
	color: var(--feramo-body);
	font-size: 13px;
}

.feramo-tunnel-header__secure svg {
	width: 18px;
	height: 18px;
	color: var(--feramo-copper-dark);
}

.feramo-tunnel-footer {
	background: var(--feramo-ivory);
	border-top: 1px solid var(--feramo-line-warm);
}

.feramo-tunnel-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	padding-block: 24px 12px;
	color: var(--feramo-muted);
	font-size: 12px;
}

.feramo-tunnel-footer__copy {
	margin: 0;
}

.feramo-tunnel-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.feramo-tunnel-footer__links a {
	display: inline-block;
	padding: 8px 0;
	color: var(--feramo-muted);
	text-decoration: none;
}

.feramo-tunnel-footer__links a:hover {
	color: var(--feramo-copper-dark);
}

.feramo-tunnel-footer__short {
	display: none;
}

/* 14. Form fields (checkout and my account) */
/* The order received page also carries .woocommerce-checkout: :where() excludes it without changing the specificity (its login form is styled in confirmation.css). */
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-billing-fields__field-wrapper,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-shipping-fields__field-wrapper,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-address-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-billing-fields__field-wrapper .form-row,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-shipping-fields__field-wrapper .form-row,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-address-fields__field-wrapper .form-row {
	display: flex;
	flex-direction: column;
	grid-column: 1 / -1;
	gap: 8px;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #billing_first_name_field,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #billing_last_name_field,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #billing_postcode_field,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #billing_city_field,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #billing_phone_field,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #billing_email_field,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #shipping_first_name_field,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #shipping_last_name_field,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #shipping_postcode_field,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #shipping_city_field {
	grid-column: auto;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #billing_address_2_field,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #shipping_address_2_field {
	margin-top: -12px;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) label {
	font-size: 13px;
	font-weight: 500;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .required {
	color: var(--feramo-copper-dark);
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) abbr.required {
	border: 0;
	text-decoration: none;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .optional {
	color: var(--feramo-muted);
	font-weight: 400;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .input-text,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) select {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 1px solid var(--feramo-line-strong);
	border-radius: 8px;
	background-color: #fff;
	color: var(--feramo-ink);
	font: inherit;
	font-size: 15px;
	box-sizing: border-box;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1d' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-repeat: no-repeat;
	background-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) textarea.input-text {
	height: auto;
	min-height: 112px;
	padding: 14px 16px;
	resize: vertical;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .input-text:focus,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) select:focus {
	border-color: var(--feramo-ink);
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .select2-container .select2-selection--single {
	height: 52px;
	border: 1px solid var(--feramo-line-strong);
	border-radius: 8px;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 40px 0 16px;
	color: var(--feramo-ink);
	font-size: 15px;
	line-height: 50px;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .select2-container .select2-selection--single .select2-selection__arrow {
	top: 0;
	right: 10px;
	height: 50px;
}

.select2-container--open .select2-dropdown {
	border: 1px solid var(--feramo-line-strong);
	border-radius: 8px;
}

.select2-container .select2-results__option--highlighted[aria-selected],
.select2-container .select2-results__option--highlighted[data-selected] {
	background: var(--feramo-ink);
	color: #fff;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) input[type="checkbox"],
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) input[type="radio"] {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--feramo-ink);
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-invalid .input-text,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-invalid select,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-invalid .select2-selection {
	border-color: #a3361f;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .checkout-inline-error-message {
	margin: 0;
	color: #a3361f;
	font-size: 12px;
}

/* Password show/hide toggle (markup added by woocommerce.js) */
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .password-input {
	position: relative;
	display: block;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .password-input .input-text {
	padding-right: 56px;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .show-password-input {
	position: absolute;
	top: 4px;
	right: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--feramo-muted);
	cursor: pointer;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .show-password-input::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath%20d='M2%2012s3.5-7%2010-7%2010%207%2010%207-3.5%207-10%207S2%2012%202%2012z'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath%20d='M2%2012s3.5-7%2010-7%2010%207%2010%207-3.5%207-10%207S2%2012%202%2012z'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .show-password-input.display-password::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath%20d='M2%2012s3.5-7%2010-7%2010%207%2010%207-3.5%207-10%207S2%2012%202%2012z'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='3'/%3E%3Cpath%20d='M4%204l16%2016'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath%20d='M2%2012s3.5-7%2010-7%2010%207%2010%207-3.5%207-10%207S2%2012%202%2012z'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='3'/%3E%3Cpath%20d='M4%204l16%2016'/%3E%3C/svg%3E");
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .show-password-input:hover,
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .show-password-input:focus-visible {
	color: var(--feramo-ink);
}

/* Password strength meter (markup added by WooCommerce wc-password-strength-meter) */
:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-password-strength {
	margin-top: 8px;
	padding: 8px 12px;
	border-left: 3px solid currentColor;
	border-radius: 0 8px 8px 0;
	background: var(--feramo-ivory);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-password-strength:is(.short, .bad) {
	color: #a3361f;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-password-strength.good {
	color: var(--feramo-copper-dark);
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-password-strength.strong {
	color: #2e6b3f;
}

:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-password-hint {
	display: block;
	margin-top: 6px;
	color: var(--feramo-muted);
	font-size: 12px;
	line-height: 1.5;
}

/* 15. Mobile */
@media (max-width: 899.98px) {
	.feramo-checkout-header__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		padding-block: 28px;
	}

	.feramo-checkout-header__title {
		font-size: 34px;
	}

	.feramo-steps {
		flex-wrap: nowrap;
		gap: 8px;
		font-size: 11px;
	}

	.feramo-steps__item {
		gap: 6px;
	}

	.feramo-steps__item + .feramo-steps__item {
		flex: 1 1 auto;
	}

	.feramo-steps__item + .feramo-steps__item::before {
		flex: 1 1 auto;
		width: auto;
	}

	.feramo-steps__marker {
		width: 24px;
		height: 24px;
	}

	.feramo-steps__label-long {
		display: none;
	}

	.feramo-steps__label-short {
		display: inline;
	}

	.feramo-archive-header__inner {
		padding-block: 24px 28px;
		gap: 16px;
	}

	.feramo-archive-header__title {
		font-size: 36px;
		line-height: 1.1;
	}

	.feramo-archive-header .term-description,
	.feramo-archive-header .page-description {
		font-size: 14px;
		line-height: 1.7;
	}

	.feramo-archive-header .feramo-eyebrow,
	.feramo-archive-header__cta {
		display: none;
	}

	.feramo-subcats__list {
		flex-wrap: nowrap;
		margin-inline: calc(var(--feramo-gutter) * -1);
		padding-inline: var(--feramo-gutter);
		overflow-x: auto;
		scrollbar-width: none;
	}

	.feramo-subcats__list::-webkit-scrollbar {
		display: none;
	}

	.feramo-pill {
		flex: 0 0 auto;
		padding: 11px 18px;
	}

	.feramo-shop-toolbar {
		padding: 16px 0;
	}

	.feramo-shop-body .woocommerce-ordering {
		order: -1;
		width: 100%;
	}

	.feramo-shop-body .woocommerce-ordering label {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.feramo-shop-body .woocommerce-ordering select.orderby {
		width: 100%;
	}

	.feramo-shop-body .woocommerce-result-count {
		font-size: 12px;
	}

	.feramo-wc-main ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 12px;
	}

	.feramo-shop-body ul.products {
		padding-top: 16px;
	}

	.feramo-card__category {
		font-size: 10px;
		letter-spacing: 0.1em;
	}

	.feramo-wc-main .woocommerce-loop-product__title {
		font-size: 16px;
	}

	.feramo-wc-main ul.products .price {
		font-size: 14px;
	}

	.feramo-shop-body ul.products li.feramo-editorial-tile {
		gap: 16px;
		min-height: auto;
		padding: 32px 24px;
	}

	.feramo-editorial-tile__title {
		font-size: 28px;
	}

	.feramo-editorial-tile__text {
		font-size: 14px;
	}

	.feramo-editorial-tile .feramo-btn {
		align-self: stretch;
		justify-content: center;
	}

	.feramo-shop-body {
		padding-bottom: 64px;
	}

	.feramo-reassurance {
		border-color: var(--feramo-line-warm);
	}

	.feramo-reassurance__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
		padding: 36px 20px;
	}

	.feramo-reassurance__item {
		flex-direction: column;
		gap: 8px;
	}

	.feramo-reassurance__item svg {
		width: 24px;
		height: 24px;
	}

	.feramo-reassurance__title {
		margin: 0;
		font-size: 13px;
	}

	.feramo-reassurance__text {
		display: none;
	}

	.feramo-tunnel-header__inner {
		padding: 6px 8px;
	}

	.feramo-tunnel-header__back,
	.feramo-tunnel-header__secure {
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
	}

	.feramo-tunnel-header__back svg,
	.feramo-tunnel-header__secure svg {
		width: 20px;
		height: 20px;
	}

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

	.feramo-tunnel-header .feramo-logo__svg {
		width: 100px;
		height: 44px;
	}

	.feramo-tunnel-footer__inner {
		gap: 4px 20px;
		padding-block: 20px;
	}

	.feramo-tunnel-footer__copy,
	.feramo-tunnel-footer__long {
		display: none;
	}

	.feramo-tunnel-footer__short {
		display: inline;
	}

	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-billing-fields__field-wrapper,
	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-shipping-fields__field-wrapper,
	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .woocommerce-address-fields__field-wrapper {
		gap: 16px 12px;
	}

	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #billing_first_name_field,
	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #billing_last_name_field,
	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #billing_phone_field,
	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #billing_email_field,
	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #shipping_first_name_field,
	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) #shipping_last_name_field {
		grid-column: 1 / -1;
	}

	/* 16px avoids the iOS focus zoom. */
	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .input-text,
	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) select {
		height: 50px;
		padding: 0 14px;
		font-size: 16px;
	}

	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) select {
		padding-right: 40px;
	}

	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) textarea.input-text {
		height: auto;
		padding: 14px;
	}

	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .select2-container .select2-selection--single {
		height: 50px;
	}

	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .select2-container .select2-selection--single .select2-selection__rendered {
		font-size: 16px;
		line-height: 48px;
	}

	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .select2-container .select2-selection--single .select2-selection__arrow {
		height: 48px;
	}

	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .password-input .input-text {
		padding-right: 52px;
	}

	:is(.woocommerce-checkout, .woocommerce-account):where(:not(.woocommerce-order-received)) .show-password-input {
		top: 3px;
		right: 3px;
	}
}
