/* FurFun site-wide layer (7 Oct 2026): buttons, cookie banner, help/legal document pages,
   account / cart / checkout polish. Markup: inc/ffs-site.php. Tokens come from ffs-shop.css. */

:root {
	--ffs-ink: #1C404C; --ffs-accent: #ED6436; --ffs-accent-dark: #D4532A; --ffs-text: #55626A; --ffs-muted: #8A949A;
	--ffs-line: #E7E2D9; --ffs-soft: #F7F4EE; --ffs-mint: #E4F1EE; --ffs-radius: 16px;
}

/* ================= Buttons ================= */
.ffs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 26px; border: 1.5px solid var(--ffs-accent); border-radius: 999px;
	background: var(--ffs-accent); color: #fff; font: 700 15px/1 Inter, sans-serif; text-decoration: none; cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}
.ffs-btn:hover, .ffs-btn:focus-visible { background: var(--ffs-ink); border-color: var(--ffs-ink); color: #fff; }
.ffs-btn--ghost { background: #fff; color: var(--ffs-ink); border-color: var(--ffs-ink); }
.ffs-btn--ghost:hover, .ffs-btn--ghost:focus-visible { background: var(--ffs-ink); color: #fff; }
.ffs-eyebrow { margin: 0 0 12px; color: var(--ffs-accent); font: 700 13px/1.2 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; }

/* ================= Cookie banner ================= */
.ffs-consent {
	position: fixed; z-index: 99999; left: 24px; bottom: 24px; max-width: 460px;
	display: flex; flex-direction: column; gap: 16px; padding: 22px 24px;
	background: #fff; border: 1px solid var(--ffs-line); border-radius: 20px;
	box-shadow: 0 18px 50px rgba(28, 64, 76, .16); font-family: Inter, sans-serif;
}
.ffs-consent[hidden] { display: none; }
.ffs-consent strong { display: block; margin-bottom: 6px; color: var(--ffs-ink); font-size: 16px; }
.ffs-consent p { margin: 0; color: var(--ffs-text); font-size: 14px; line-height: 1.55; }
.ffs-consent a { color: var(--ffs-ink); text-decoration: underline; text-underline-offset: 3px; }
.ffs-consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ffs-consent__actions .ffs-btn { flex: 1 1 0; min-height: 44px; padding: 0 18px; font-size: 14px; }
@media (max-width: 600px) {
	.ffs-consent { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 18px; }
}

/* ================= Help & legal document pages ================= */
.ffs-doc-page .page-title.bwp-title, .ffs-doc-page .breadcrumb-noheading { display: none; }
.ffs-doc-page #main-content { padding: 0 0 80px; }
.ffs-doc { font-family: Inter, sans-serif; color: var(--ffs-text); }
.ffs-doc__hero {
	margin: 24px 0 48px; padding: 56px 56px 52px; border-radius: 28px; background: var(--ffs-soft);
}
.ffs-doc__hero h1 { margin: 0; color: var(--ffs-ink); font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.ffs-doc__lead { max-width: 56ch; margin: 16px 0 0; font-size: 18px; line-height: 1.6; color: var(--ffs-text); }

.ffs-doc__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.ffs-doc__nav { position: sticky; top: 110px; }
.ffs-doc__navtitle { margin: 0 0 10px; color: var(--ffs-muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ffs-doc__nav ul { list-style: none; margin: 0 0 28px; padding: 0; }
.ffs-doc__nav li { margin: 0; padding: 0; }
.ffs-doc__nav li::before { display: none; }
.ffs-doc__nav a { display: block; padding: 8px 14px; margin-left: -14px; border-radius: 10px; color: var(--ffs-ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.ffs-doc__nav a:hover { background: var(--ffs-soft); color: var(--ffs-ink); }
.ffs-doc__nav a[aria-current] { background: var(--ffs-ink); color: #fff; font-weight: 600; }
.ffs-doc__help { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; background: var(--ffs-mint); font-size: 14px; }
.ffs-doc__help strong { color: var(--ffs-ink); font-size: 15px; }
.ffs-doc__help a { color: var(--ffs-ink); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }

.ffs-doc__body { max-width: 760px; font-size: 16px; line-height: 1.7; }
.ffs-doc__body > :first-child { margin-top: 0; }
.ffs-doc__body p, .ffs-doc__body li { color: var(--ffs-text); font-size: 16px; line-height: 1.7; }
.ffs-doc__body p { margin: 0 0 16px; }
.ffs-doc__body h2 { margin: 44px 0 14px; color: var(--ffs-ink); font-size: 24px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.ffs-doc__body h3 { margin: 28px 0 10px; color: var(--ffs-ink); font-size: 18px; font-weight: 700; line-height: 1.35; }
.ffs-doc__body h4 { margin: 22px 0 8px; color: var(--ffs-ink); font-size: 16px; font-weight: 700; }
.ffs-doc__body strong { color: var(--ffs-ink); }
.ffs-doc__body a { color: var(--ffs-ink); text-decoration: underline; text-underline-offset: 3px; }
.ffs-doc__body a:hover { color: var(--ffs-accent); }
.ffs-doc__body ul, .ffs-doc__body ol { margin: 0 0 18px; padding-left: 22px; }
.ffs-doc__body li { margin-bottom: 8px; }
.ffs-doc__body .ffs-small { margin-top: 32px; font-size: 14px; color: var(--ffs-muted); }
.ffs-doc__body .ffs-note { padding: 22px 26px; border-radius: 16px; background: var(--ffs-soft); }
.ffs-doc__body .ffs-note p:last-child { margin: 0; }

/* numbered steps (Returns) */
.ffs-doc__body ol.ffs-steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.ffs-doc__body ol.ffs-steps li { counter-increment: s; position: relative; margin: 0; padding: 18px 20px 18px 68px; border: 1px solid var(--ffs-line); border-radius: 16px; background: #fff; }
.ffs-doc__body ol.ffs-steps li::before {
	content: counter(s); position: absolute; left: 20px; top: 18px; width: 32px; height: 32px; border-radius: 50%;
	display: grid; place-items: center; background: var(--ffs-accent); color: #fff; font-weight: 700; font-size: 15px; line-height: 1;
}
.ffs-doc__body ol.ffs-steps strong { display: block; margin-bottom: 2px; }

/* tables (Shipping, Cookie policy) */
.ffs-doc__body .ffs-table, .ffs-doc__body .cmplz-document table { overflow-x: auto; }
.ffs-doc__body table { width: 100%; margin: 0 0 20px; border: 1px solid var(--ffs-line); border-radius: 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.ffs-doc__body th, .ffs-doc__body td { padding: 14px 18px; border: 0; border-bottom: 1px solid var(--ffs-line); text-align: left; vertical-align: top; font-size: 15px; background: #fff; }
.ffs-doc__body th { background: var(--ffs-soft); color: var(--ffs-ink); font-weight: 700; }
.ffs-doc__body tr:last-child td { border-bottom: 0; }
.ffs-doc__body td:first-child { color: var(--ffs-ink); font-weight: 600; }

/* FAQ accordion */
.ffs-faq { display: grid; gap: 10px; }
.ffs-faq details { border: 1px solid var(--ffs-line); border-radius: 16px; background: #fff; transition: border-color .2s; }
.ffs-faq details[open] { border-color: var(--ffs-ink); }
.ffs-faq summary {
	position: relative; padding: 18px 56px 18px 22px; list-style: none; cursor: pointer;
	color: var(--ffs-ink); font-size: 16px; font-weight: 700; line-height: 1.4;
}
.ffs-faq summary::-webkit-details-marker { display: none; }
.ffs-faq summary::after {
	content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s;
}
.ffs-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.ffs-faq summary:focus-visible { outline: 2px solid var(--ffs-accent); outline-offset: 2px; border-radius: 16px; }
.ffs-faq details > div { padding: 0 22px 18px; }
.ffs-faq details > div p { margin: 0; }

/* Complianz-generated legal texts (pasted as static HTML) */
.ffs-doc .cmplz-document { max-width: none; font-size: 16px; }
.ffs-doc .cmplz-document > p:first-child i { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--ffs-soft); color: var(--ffs-text); font-size: 13px; font-style: normal; }
.ffs-doc .cmplz-document h2 { font-size: 22px; }
.ffs-doc .cmplz-fmail-domain, .cmplz-fmail-domain { display: none; }
.ffs-doc .cmplz-document details { margin: 0 0 10px; border: 1px solid var(--ffs-line); border-radius: 14px; padding: 0 18px; }
.ffs-doc .cmplz-document summary { padding: 14px 0; color: var(--ffs-ink); font-weight: 700; cursor: pointer; }

/* forms inside document pages (Withdrawal form, Order tracking) */
.ffs-doc .wpcf7 { margin: 28px 0; padding: 32px; border-radius: 20px; background: var(--ffs-soft); }
.ffs-doc .wpcf7 .ffs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.ffs-doc .wpcf7 p { margin: 0 0 18px; }
.ffs-doc .wpcf7 label, .ffs-doc .track_order label { display: block; color: var(--ffs-ink); font-size: 15px; font-weight: 600; }
.ffs-doc .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.ffs-doc .wpcf7 input[type=text], .ffs-doc .wpcf7 input[type=email], .ffs-doc .wpcf7 input[type=date], .ffs-doc .wpcf7 textarea,
.ffs-doc .track_order input[type=text], .ffs-doc .track_order input[type=email] {
	width: 100%; height: auto; padding: 13px 16px; border: 1px solid #E2D6C2; border-radius: 12px; background: #fff;
	color: var(--ffs-ink); font: 400 16px/1.4 Inter, sans-serif; box-shadow: none;
}
.ffs-doc .wpcf7 textarea { height: 110px; resize: vertical; }
.ffs-doc .wpcf7 input:focus, .ffs-doc .wpcf7 textarea:focus, .ffs-doc .track_order input:focus { border-color: var(--ffs-accent); outline: none; }
.ffs-doc .wpcf7 .ffs-form-note { color: var(--ffs-text); font-size: 14px; }
.ffs-doc .wpcf7 input[type=submit], .ffs-doc .track_order button {
	min-height: 50px; padding: 0 34px; border: 0; border-radius: 999px; background: var(--ffs-accent); color: #fff;
	font: 700 16px/1 Inter, sans-serif; text-transform: none; letter-spacing: 0; cursor: pointer; width: auto;
}
.ffs-doc .wpcf7 input[type=submit]:hover, .ffs-doc .track_order button:hover { background: var(--ffs-ink); }
.ffs-doc .wpcf7-response-output { margin: 8px 0 0 !important; padding: 12px 16px !important; border-radius: 12px; }

/* Order tracking: Petio's step tabs above the form are noise here */
.ffs-doc .woocommerce .cart-steps, .ffs-doc-page .cart-steps, .ffs-doc-page .bwp-cart-steps { display: none !important; }
.ffs-doc .track_order { max-width: 520px; padding: 32px; border-radius: 20px; background: var(--ffs-soft); }
.ffs-doc .track_order > p:first-child { margin-bottom: 22px; }
.ffs-doc .track_order .form-row { width: 100%; float: none; margin: 0 0 18px; padding: 0; }

@media (max-width: 991px) {
	.ffs-doc__layout { grid-template-columns: 1fr; gap: 0; }
	.ffs-doc__nav { position: static; order: 2; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--ffs-line); }
	.ffs-doc__hero { padding: 36px 24px; margin: 12px 0 32px; border-radius: 20px; }
	.ffs-doc__lead { font-size: 16px; }
}
@media (max-width: 600px) {
	.ffs-doc .wpcf7, .ffs-doc .track_order { padding: 20px; }
	.ffs-doc .wpcf7 .ffs-row { grid-template-columns: 1fr; }
	.ffs-doc__body h2 { font-size: 21px; margin-top: 36px; }
	.ffs-doc__body th, .ffs-doc__body td { padding: 12px; font-size: 14px; }
}

/* Order tracking: Petio's Cart / Checkout / Tracking tabs are noise inside the help layout */
.ffs-doc .woocommerce-page-header { display: none; }
/* Complianz expandable sections: keep the heading on the arrow line */
.ffs-doc .cmplz-document summary { display: flex; align-items: center; gap: 10px; list-style: none; }
.ffs-doc .cmplz-document summary::-webkit-details-marker { display: none; }
.ffs-doc .cmplz-document summary::before { content: "+"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ffs-soft); color: var(--ffs-accent); font-weight: 700; line-height: 1; }
.ffs-doc .cmplz-document details[open] summary::before { content: "−"; }
.ffs-doc .cmplz-document summary h3, .ffs-doc .cmplz-document summary h4 { display: inline; margin: 0; font-size: 17px; }

/* ================= Trust strip [ffs_trust] ================= */
.ffs-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; font-family: Inter, sans-serif; }
.ffs-trust li { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 22px; border-radius: 18px; background: var(--ffs-soft); }
.ffs-trust li::before { display: none; }
.ffs-trust__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ffs-accent); }
.ffs-trust strong { display: block; margin-bottom: 4px; color: var(--ffs-ink); font-size: 16px; font-weight: 700; line-height: 1.3; }
.ffs-trust strong a { color: inherit; text-decoration: none; }
.ffs-trust strong a:hover { color: var(--ffs-accent); }
.ffs-trust li > span > span { display: block; color: var(--ffs-text); font-size: 14px; line-height: 1.5; }
@media (max-width: 1024px) { .ffs-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ffs-trust { grid-template-columns: 1fr; gap: 10px; } .ffs-trust li { padding: 16px; } }

/* ================= Cart & checkout (WooCommerce blocks) ================= */
.ffs-order-page .page-title.bwp-title, .ffs-order-page .breadcrumb-noheading { display: none; }
.ffs-order-page #main-content { padding-bottom: 80px; }
.ffs-order-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: 32px 0 28px; font-family: Inter, sans-serif; }
.ffs-order-head h1 { margin: 0; color: var(--ffs-ink); font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ffs-order-steps { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.ffs-order-steps li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--ffs-soft); color: var(--ffs-muted); font-size: 14px; font-weight: 600; }
.ffs-order-steps li::before { display: none; }
.ffs-order-steps li a { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.ffs-order-steps__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ffs-muted); font-size: 13px; }
.ffs-order-steps .is-current { background: var(--ffs-ink); color: #fff; }
.ffs-order-steps .is-current .ffs-order-steps__n { background: var(--ffs-accent); color: #fff; }
.ffs-order-steps .is-done { color: var(--ffs-ink); }
.ffs-order-steps .is-done .ffs-order-steps__n { background: var(--ffs-mint); color: var(--ffs-ink); }
.ffs-order-trust { margin-top: 56px; }

.ffs-order-page .wc-block-cart, .ffs-order-page .wc-block-checkout,
.ffs-order-page .wc-block-components-sidebar-layout { font-family: Inter, sans-serif; color: var(--ffs-text); }
.ffs-order-page .wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 4%; }
/* supplier boilerplate ("If you are looking for new market trending items…") adds nothing in the order lists */
.ffs-order-page .wc-block-components-product-metadata__description { display: none; }
.ffs-order-page .wc-block-components-product-name { color: var(--ffs-ink) !important; font-weight: 600; text-decoration: none; font-size: 15px; line-height: 1.4; }
.ffs-order-page .wc-block-cart-item__image img, .ffs-order-page .wc-block-components-order-summary-item__image img { border-radius: 12px; background: var(--ffs-soft); mix-blend-mode: multiply; }
.ffs-order-page .wc-block-cart-item__image { padding-right: 20px !important; }
.ffs-order-page .wc-block-components-product-price, .ffs-order-page .wc-block-components-formatted-money-amount { color: var(--ffs-ink); }
.ffs-order-page .wc-block-cart-item__prices .wc-block-components-product-price { color: var(--ffs-text); font-weight: 500; }
.ffs-order-page .wc-block-cart-items__header, .ffs-order-page .wc-block-cart__totals-title { color: var(--ffs-muted) !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .1em; }

/* summary card */
.ffs-order-page .wc-block-cart__sidebar .wp-block-woocommerce-cart-totals-block,
.ffs-order-page .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
	padding: 8px 24px 24px; border: 0 !important; border-radius: 20px; background: var(--ffs-soft);
}
.ffs-order-page .wc-block-components-totals-wrapper { border-color: var(--ffs-line) !important; }
.ffs-order-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.ffs-order-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: var(--ffs-ink); font-weight: 800; font-size: 20px; }
.ffs-order-page .wc-block-components-checkout-order-summary__title-text,
.ffs-order-page .wc-block-components-title, .ffs-order-page .wc-block-components-checkout-step__title { color: var(--ffs-ink) !important; font-weight: 800 !important; }

/* primary actions */
.ffs-order-page .wc-block-cart__submit-button,
.ffs-order-page .wc-block-components-checkout-place-order-button {
	min-height: 54px; border: 0; border-radius: 999px !important; background: var(--ffs-accent) !important; color: #fff !important;
	font: 700 17px/1 Inter, sans-serif; text-transform: none; letter-spacing: 0; transition: background-color .2s;
}
.ffs-order-page .wc-block-cart__submit-button:hover,
.ffs-order-page .wc-block-components-checkout-place-order-button:hover { background: var(--ffs-ink) !important; }
.ffs-order-page .wc-block-components-checkout-return-to-cart-button { color: var(--ffs-ink); font-weight: 600; }

/* inputs */
.ffs-order-page .wc-block-components-text-input input, .ffs-order-page .wc-blocks-components-select .wc-blocks-components-select__select,
.ffs-order-page .wc-block-components-textarea, .ffs-order-page .wc-block-components-combobox .components-combobox-control input {
	border: 1px solid #E2D6C2 !important; border-radius: 12px !important; background: #fff !important; color: var(--ffs-ink) !important;
}
.ffs-order-page .wc-block-components-text-input.is-active input:focus, .ffs-order-page .wc-block-components-text-input input:focus,
.ffs-order-page .wc-blocks-components-select__select:focus { border-color: var(--ffs-accent) !important; box-shadow: 0 0 0 1px var(--ffs-accent) !important; }
.ffs-order-page .wc-block-components-radio-control__option, .ffs-order-page .wc-block-components-radio-control-accordion-option { border-radius: 12px; }
.ffs-order-page .wc-block-checkout__terms { color: var(--ffs-text); font-size: 14px; }
.ffs-order-page .wc-block-checkout__terms a { color: var(--ffs-ink); text-decoration: underline; text-underline-offset: 3px; }
.ffs-order-page .wc-block-components-quantity-selector { border-radius: 999px; border-color: var(--ffs-line); }
.ffs-order-page .wc-block-components-quantity-selector::after { border-radius: 999px; border-color: var(--ffs-line) !important; }

@media (max-width: 782px) {
	.ffs-order-head { margin: 20px 0; }
	.ffs-order-steps li { padding: 6px 12px 6px 6px; font-size: 13px; }
	.ffs-order-steps li:not(.is-current) { font-size: 0; padding: 6px; gap: 0; }
	.ffs-order-page .wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 0; }
	.ffs-order-trust { margin-top: 36px; }
}

/* ================= Account / wishlist / compare ================= */
.ffs-plain-page .page-title.bwp-title, .ffs-plain-page .breadcrumb-noheading { display: none; }
.ffs-plain-page #main-content { padding-bottom: 80px; }
.ffs-page-head p { margin: 8px 0 0; color: var(--ffs-text); font-size: 16px; }
.ffs-page-body { font-family: Inter, sans-serif; }

/* login / register boxes (Petio markup: #customer_login > .col-* > .box-form-login > h2 + .box-content > form) */
.ffs-plain-page .woocommerce #customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0; }
.ffs-plain-page #customer_login::before, .ffs-plain-page #customer_login::after { display: none; }
.ffs-plain-page #customer_login > div { width: auto; max-width: none; float: none; flex: none; padding: 0; margin: 0; }
.ffs-plain-page #customer_login .box-form-login { height: 100%; margin: 0; padding: 32px; border: 0 !important; border-radius: 20px; background: var(--ffs-soft); }
.ffs-plain-page #customer_login .box-content, .ffs-plain-page #customer_login form { margin: 0; padding: 0; border: 0; background: none; }
.ffs-plain-page #customer_login h2::after, .ffs-plain-page #customer_login h2::before { display: none; }
.ffs-plain-page #customer_login h2 { margin: 0 0 20px; padding: 0; text-align: left; }
.ffs-plain-page .rememberme-lost { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.ffs-plain-page #customer_login .button-login button, .ffs-plain-page #customer_login form.register button { width: 100%; }
.ffs-plain-page .woocommerce-privacy-policy-text p { color: var(--ffs-text); font-size: 14px; }
.ffs-plain-page .woocommerce-privacy-policy-text a { color: var(--ffs-ink); }
.ffs-plain-page #customer_login h2, .ffs-plain-page .box-form-login h2 { color: var(--ffs-ink); font-size: 22px; font-weight: 800; text-transform: none; letter-spacing: 0; border: 0; }
.ffs-plain-page .woocommerce form .form-row label { color: var(--ffs-ink); font-size: 15px; font-weight: 600; }
.ffs-plain-page .woocommerce form .input-text { height: 50px; padding: 0 16px; border: 1px solid #E2D6C2; border-radius: 12px; background: #fff; color: var(--ffs-ink); font-size: 16px; }
.ffs-plain-page .woocommerce form .input-text:focus { border-color: var(--ffs-accent); outline: none; }
.ffs-plain-page .woocommerce button.button, .ffs-plain-page .woocommerce input.button, .ffs-plain-page .woocommerce a.button {
	min-height: 50px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--ffs-accent) !important; color: #fff !important;
	font: 700 16px/50px Inter, sans-serif; text-transform: none; letter-spacing: 0; opacity: 1; cursor: pointer;
}
.ffs-plain-page .woocommerce button.button:hover, .ffs-plain-page .woocommerce a.button:hover { background: var(--ffs-ink) !important; }
.ffs-plain-page .woocommerce button.button:disabled { background: var(--ffs-muted) !important; cursor: not-allowed; }
.ffs-plain-page .woocommerce-LostPassword a, .ffs-plain-page .lost_password a { color: var(--ffs-ink); text-decoration: underline; }

/* logged-in account */
.ffs-plain-page .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 12px; border-radius: 20px; background: var(--ffs-soft); }
.ffs-plain-page .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; }
.ffs-plain-page .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ffs-ink); font-weight: 500; text-decoration: none; }
.ffs-plain-page .woocommerce-MyAccount-navigation li.is-active a { background: var(--ffs-ink); color: #fff; }

/* empty states (wishlist, compare) */
.ffs-plain-page .woosw-list .woosw-content-mid-notice, .ffs-plain-page .woosw-list .woosw-popup-content-mid-message,
.ffs-plain-page .woosw-list > :only-child, .ffs-plain-page .woosc_list > :only-child, .ffs-plain-page .woosc-list > :only-child {
	padding: 40px; border-radius: 20px; background: var(--ffs-soft); color: var(--ffs-text); text-align: center; font-size: 16px;
}
@media (max-width: 767px) {
	.ffs-plain-page .woocommerce #customer_login { grid-template-columns: 1fr; }
	.ffs-plain-page #customer_login .box-form-login { padding: 22px; }
}

/* ================= 404 ================= */
.error404 .page-title.bwp-title { display: none; }
.ffs-404 { max-width: 760px; margin: 40px auto 100px; padding: 64px 48px; border-radius: 28px; background: var(--ffs-soft); text-align: center; font-family: Inter, sans-serif; }
.ffs-404 h1 { margin: 0; color: var(--ffs-ink); font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.ffs-404__lead { margin: 14px 0 28px; color: var(--ffs-text); font-size: 18px; }
.ffs-404__search { display: flex; gap: 10px; max-width: 520px; margin: 0 auto 32px; }
.ffs-404__search input[type=search] { flex: 1 1 auto; height: 50px !important; min-height: 50px; min-width: 0; height: 50px; padding: 0 20px; border: 1px solid #E2D6C2; border-radius: 999px; background: #fff; font-size: 16px; color: var(--ffs-ink); }
.ffs-404__search input:focus { border-color: var(--ffs-accent); outline: none; }
.ffs-404__links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ffs-404__card { display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 18px; border-radius: 20px; background: #fff; color: var(--ffs-ink); font-weight: 700; text-decoration: none; transition: transform .2s; }
.ffs-404__card:hover { transform: translateY(-2px); color: var(--ffs-accent); }
.ffs-404__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: var(--ffs-soft); }
.ffs-404__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ffs-404__help { margin: 28px 0 0; color: var(--ffs-text); }
.ffs-404__help a { color: var(--ffs-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
	.ffs-404 { padding: 36px 20px; margin: 16px auto 60px; }
	.ffs-404__search { flex-direction: column; }
	.ffs-404__links { grid-template-columns: 1fr; }
}

.ffs-plain-page .woosw-list .woosw-switcher { display: none; }
.ffs-plain-page #customer_login button, .ffs-plain-page .woocommerce button.button { text-transform: none !important; font-size: 16px !important; letter-spacing: 0 !important; }

/* Footer link columns: centred on phones to match the centred column headings */
@media (max-width: 767px) {
	.elementor-location-footer .elementor-widget-nav-menu .elementor-nav-menu--main .elementor-nav-menu { flex-direction: column; align-items: center; }
	.elementor-location-footer .elementor-widget-nav-menu .elementor-nav-menu a { justify-content: center; }
}

/* Product names keep their own casing (the theme capitalised every word: "28 Cm") */
.single-product .product_title, ul.products li.product .product-title, ul.products li.product .product-title a,
.woocommerce-loop-product__title, .elementor-widget-woocommerce-product-title .product_title { text-transform: none !important; }

/* Delivery box with a single (UK) rate: one full-width row instead of a narrow tile */
.ffs-ship .ffs-ship__tile:only-child { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.ffs-ship .ffs-ship__tile:only-child em { margin-left: auto; }

/* Stock is already shown under the price; the add-to-cart form repeats it */
.ffs-buybox__cart p.stock { display: none; }
