/* Farmley account and signup pages */
body.woocommerce-account,
body.page-template-page-signup {
	background: #fbf8f1;
}

body.woocommerce-account #qodef-page-inner,
body.page-template-page-signup #qodef-page-inner {
	padding-top: 34px;
	padding-bottom: 70px;
}

body.woocommerce-account:not(.logged-in) #qodef-page-inner {
	padding-top: 20px;
	padding-bottom: 28px;
}

body.woocommerce-account:not(.logged-in) {
	--ng-auth-card-width: 450px;
}

body.woocommerce-account:not(.logged-in) .qodef-page-content-section {
	display: block;
	width: 100%;
	text-align: center;
}

.ng-farmley-signup {
	max-width: 1160px;
	margin: 44px auto 82px;
	padding: 0 22px;
}

body.page-template-page-signup .ng-farmley-auth {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.8fr);
	gap: 30px;
	align-items: stretch;
}

body.woocommerce-account #customer_login.ng-farmley-auth--account {
	display: block !important;
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 0;
	grid-template-columns: none;
}

.ng-farmley-auth__intro,
.ng-farmley-auth__card,
body.woocommerce-account .woocommerce:not(.widget) {
	position: relative;
	border: 1px solid rgba(12, 83, 61, 0.08);
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 22px 60px rgba(12, 83, 61, 0.09);
	overflow: hidden;
}

.ng-farmley-auth__intro {
	min-height: 560px;
	padding: 52px 48px;
	background:
		radial-gradient(circle at 84% 18%, rgba(185, 149, 49, 0.18) 0 120px, transparent 121px),
		linear-gradient(135deg, #0c533d 0%, #1f7055 72%, #f4ead8 72.2%, #fffaf2 100%);
	color: #ffffff;
}

.ng-farmley-auth__intro::after {
	content: "";
	position: absolute;
	right: 42px;
	bottom: 42px;
	width: 210px;
	height: 210px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 42% 42%, rgba(185, 149, 49, 0.7) 0 16px, transparent 17px),
		radial-gradient(circle at 62% 58%, rgba(255, 255, 255, 0.55) 0 10px, transparent 11px),
		rgba(255, 255, 255, 0.12);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.ng-farmley-auth__intro .ng-farmley-auth__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	font-family: "Manrope", sans-serif;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
}

.ng-farmley-auth__intro .ng-farmley-auth__eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 999px;
	background: #e9d199;
}

.ng-farmley-signup__title {
	max-width: 520px;
	margin: 0 0 14px;
	font-family: "Manrope", sans-serif;
	font-size: clamp(38px, 5vw, 64px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.05em;
	color: inherit;
}

.ng-farmley-signup__sub {
	max-width: 430px;
	margin: 0 0 30px;
	font-family: "Manrope", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.82);
}

.ng-farmley-auth__benefits {
	display: grid;
	gap: 14px;
	max-width: 430px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ng-farmley-auth__benefits li {
	position: relative;
	padding: 14px 16px 14px 44px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 18px;
	background: rgba(8, 48, 36, 0.78);
	color: #ffffff;
	font-family: "Manrope", sans-serif;
	font-size: 14px;
	font-weight: 700;
	backdrop-filter: blur(10px);
	box-shadow: 0 8px 20px rgba(8, 48, 36, 0.18);
}

.ng-farmley-auth__benefits li::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 50%;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	transform: translateY(-50%);
	background: #e9d199;
	box-shadow: inset 0 0 0 4px rgba(12, 83, 61, 0.28);
}

.ng-farmley-auth__card {
	padding: 38px;
}

body.page-template-page-signup .u-column1.col-1 {
	display: none !important;
}

body.page-template-page-signup .u-columns.col2-set,
body.page-template-page-signup .u-column2.col-2 {
	width: 100% !important;
	max-width: none;
	margin: 0;
	float: none !important;
}

body.page-template-page-signup .u-column2.col-2 > h2 {
	margin-top: 0;
}

.ng-farmley-signup__login-link {
	margin: 22px 0 0;
	text-align: center;
	font-family: "Manrope", sans-serif;
	font-size: 14px;
	color: #5f6f68;
}

.ng-farmley-signup__login-link a,
body.woocommerce-account .woocommerce a:not(.button):not(.woocommerce-button):not(.woocommerce-Button) {
	color: #0c533d;
	font-weight: 800;
}

body.woocommerce-account .woocommerce-info .button,
body.woocommerce-account .woocommerce-message .button,
body.woocommerce-account .woocommerce-error .button,
body.woocommerce-account .woocommerce-info .woocommerce-Button,
body.woocommerce-account .woocommerce-message .woocommerce-Button,
body.woocommerce-account .woocommerce-error .woocommerce-Button,
body.woocommerce-account .woocommerce-info .wc-forward,
body.woocommerce-account .woocommerce-message .wc-forward,
body.woocommerce-account .woocommerce-error .wc-forward {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 22px;
	margin-top: 10px;
	border: 0;
	border-radius: 999px;
	background: #0c533d;
	color: #ffffff !important;
	font-family: "Manrope", sans-serif;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-decoration: none;
	box-shadow: 0 10px 22px rgba(12, 83, 61, 0.16);
}

body.woocommerce-account .woocommerce-info .button:hover,
body.woocommerce-account .woocommerce-message .button:hover,
body.woocommerce-account .woocommerce-error .button:hover,
body.woocommerce-account .woocommerce-info .woocommerce-Button:hover,
body.woocommerce-account .woocommerce-message .woocommerce-Button:hover,
body.woocommerce-account .woocommerce-error .woocommerce-Button:hover,
body.woocommerce-account .woocommerce-info .wc-forward:hover,
body.woocommerce-account .woocommerce-message .wc-forward:hover,
body.woocommerce-account .woocommerce-error .wc-forward:hover {
	background: #173a2e;
	color: #ffffff !important;
}

body.woocommerce-account .woocommerce:not(.widget) {
	max-width: 1120px;
	margin: 0 auto;
	padding: 34px;
}

body.woocommerce-account:not(.logged-in) .woocommerce:not(.widget) {
	display: inline-block;
	width: min(var(--ng-auth-card-width), calc(100% - 32px));
	max-width: var(--ng-auth-card-width);
	margin: 20px auto 28px;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible;
	text-align: left;
	vertical-align: top;
}

body.woocommerce-account .woocommerce::after {
	content: "";
	display: table;
	clear: both;
}

body.woocommerce-account .woocommerce > h2,
body.page-template-page-signup .woocommerce > h2,
body.woocommerce-account #customer_login h2,
body.page-template-page-signup #customer_login h2 {
	margin: 0 0 22px;
	font-family: "Manrope", sans-serif;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: #0c533d;
}

body.woocommerce-account:not(.logged-in) #customer_login h2 {
	margin: 0;
	font-size: 1.45rem;
	color: #fff;
}

body.woocommerce-account #customer_login {
	width: 100%;
	max-width: none;
	margin: 0 auto;
}

body.woocommerce-account:not(.logged-in) #customer_login {
	width: 100%;
	max-width: 450px;
}

body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2 {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body.woocommerce-account .woocommerce-form,
body.page-template-page-signup .woocommerce-form {
	margin: 0;
}

body.woocommerce-account .woocommerce .form-row,
body.page-template-page-signup .ng-farmley-auth__card .form-row {
	margin-bottom: 18px;
}

body.woocommerce-account .woocommerce label,
body.page-template-page-signup .ng-farmley-auth__card label {
	margin-bottom: 8px;
	font-family: "Manrope", sans-serif;
	font-size: 13px;
	font-weight: 800;
	color: #183b2f;
}

body.woocommerce-account .woocommerce input[type="text"],
body.woocommerce-account .woocommerce input[type="email"],
body.woocommerce-account .woocommerce input[type="password"],
body.page-template-page-signup .ng-farmley-auth__card input[type="text"],
body.page-template-page-signup .ng-farmley-auth__card input[type="email"],
body.page-template-page-signup .ng-farmley-auth__card input[type="password"] {
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid rgba(12, 83, 61, 0.12);
	border-radius: 16px;
	background: #fbf8f1;
	font-family: "Manrope", sans-serif;
	font-size: 15px;
	color: #173a2e;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.woocommerce-account .woocommerce input:focus,
body.page-template-page-signup .ng-farmley-auth__card input:focus {
	border-color: rgba(12, 83, 61, 0.42);
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(12, 83, 61, 0.08);
	outline: none;
}

body.woocommerce-account .woocommerce-form .button,
body.woocommerce-account #customer_login .button,
body.woocommerce-account .woocommerce-MyAccount-content > .button,
body.woocommerce-account .woocommerce-MyAccount-content form .button,
body.page-template-page-signup .ng-farmley-auth__card .button {
	min-height: 54px;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: #0c533d;
	box-shadow: 0 12px 24px rgba(12, 83, 61, 0.18);
	font-family: "Manrope", sans-serif;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #ffffff;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.woocommerce-account .woocommerce-form .button:hover,
body.woocommerce-account #customer_login .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content > .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content form .button:hover,
body.page-template-page-signup .ng-farmley-auth__card .button:hover {
	background: #173a2e;
	box-shadow: 0 16px 28px rgba(12, 83, 61, 0.24);
	transform: translateY(-1px);
}

body.woocommerce-account:not(.logged-in) #customer_login .ng-farmley-otp-form,
body.woocommerce-account:not(.logged-in) #customer_login .ng-farmley-otp-form__field,
body.woocommerce-account:not(.logged-in) #customer_login .ng-farmley-otp-form__control {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

body.woocommerce-account:not(.logged-in) #customer_login .ng-farmley-otp-form input[type="text"],
body.woocommerce-account:not(.logged-in) #customer_login .ng-farmley-otp-form input[type="email"],
body.woocommerce-account:not(.logged-in) #customer_login .ng-farmley-otp-form input[type="tel"] {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 12px 14px 12px 42px !important;
	border-radius: 12px !important;
	font-size: 15px !important;
	line-height: 1.4 !important;
	box-sizing: border-box !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .ng-farmley-otp-form label {
	margin-bottom: 6px !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .ng-farmley-otp-form .button:not(.is-hidden) {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 46px !important;
	padding: 12px 16px !important;
	border-radius: 12px !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	box-sizing: border-box !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .ng-farmley-otp-form .button.is-hidden {
	display: none !important;
}

body.woocommerce-account .woocommerce-form-login .form-row:not(.form-row-wide) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

body.woocommerce-account .woocommerce-form-login .woocommerce-form__label-for-checkbox {
	margin: 0;
	color: #5f6f68;
	font-weight: 700;
}

body.woocommerce-account .woocommerce-LostPassword {
	margin: 10px 0 0;
}

body.woocommerce-account .woocommerce-privacy-policy-text,
body.page-template-page-signup .woocommerce-privacy-policy-text {
	margin: 0 0 22px;
	font-size: 13px;
	line-height: 1.7;
	color: #6d7d76;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
	width: 28%;
	padding-right: 28px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	padding: 12px;
	border: 1px solid rgba(12, 83, 61, 0.08);
	border-radius: 24px;
	background: #fffaf2;
}

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

body.woocommerce-account .woocommerce-MyAccount-navigation ul li + li {
	margin-top: 8px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0 16px;
	border-radius: 16px;
	background: transparent;
	background-image: none !important;
	background-size: auto !important;
	font-size: 14px;
	font-weight: 600;
	color: #24483c !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:focus,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:focus-visible,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a:hover {
	background: #0c533d !important;
	background-image: none !important;
	color: #fcf4eb !important;
	-webkit-text-fill-color: #fcf4eb !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
	width: 72%;
	padding: 30px;
	border: 1px solid rgba(12, 83, 61, 0.08);
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 12px 34px rgba(12, 83, 61, 0.06);
}

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

body.woocommerce-account .ng-farmley-account-email-hint {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fbf8f1;
	border: 1px solid rgba(12, 83, 61, 0.12);
	font-family: "Manrope", sans-serif;
	font-size: 13px;
	line-height: 1.45;
	color: #0c533d;
}

body.woocommerce-account table.shop_table {
	border-radius: 18px;
	overflow: hidden;
}

/* My Account — orders table */
body.woocommerce-account .ng-farmley-orders-table,
body.woocommerce-account .woocommerce-orders-table {
	width: 100%;
	table-layout: fixed;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0;
}

body.woocommerce-account .ng-farmley-orders-table__col--order {
	width: 11%;
}

body.woocommerce-account .ng-farmley-orders-table__col--date {
	width: 19%;
}

body.woocommerce-account .ng-farmley-orders-table__col--status {
	width: 19%;
}

body.woocommerce-account .ng-farmley-orders-table__col--total {
	width: 24%;
}

body.woocommerce-account .ng-farmley-orders-table__col--actions {
	width: 27%;
}

body.woocommerce-account .woocommerce-orders-table thead th {
	padding: 14px 16px;
	font-family: "Manrope", sans-serif;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #5c6b64;
	background: #fbf8f1;
	border-bottom: 1px solid rgba(12, 83, 61, 0.1);
	text-align: left;
}

body.woocommerce-account .woocommerce-orders-table__header-order-actions {
	text-align: right;
}

body.woocommerce-account .woocommerce-orders-table tbody td,
body.woocommerce-account .woocommerce-orders-table tbody th {
	padding: 16px;
	vertical-align: middle;
	font-family: "Manrope", sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: #183b2f;
	border-bottom: 1px solid rgba(12, 83, 61, 0.08);
	text-align: left;
	word-break: normal;
	overflow-wrap: anywhere;
}

body.woocommerce-account .woocommerce-orders-table tbody tr:last-child td,
body.woocommerce-account .woocommerce-orders-table tbody tr:last-child th {
	border-bottom: 0;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-number a {
	color: #0c533d;
	font-weight: 800;
	text-decoration: none;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-number a:hover {
	color: #094432;
	text-decoration: underline;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-actions {
	text-align: right;
	vertical-align: middle;
}

@media only screen and (min-width: 769px) {
	body.woocommerce-account .woocommerce-orders-table__cell-order-actions {
		display: table-cell !important;
	}
}

body.woocommerce-account .ng-farmley-order-actions {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	width: 100%;
}

body.woocommerce-account .ng-farmley-order-actions__btn,
body.woocommerce-account .ng-farmley-order-actions .button,
body.woocommerce-account .ng-farmley-order-actions .woocommerce-button {
	position: static !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	float: none !important;
	min-height: 36px !important;
	height: 36px !important;
	width: auto !important;
	min-width: 68px;
	padding: 0 14px !important;
	margin: 0 !important;
	font-family: "Manrope", sans-serif !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-radius: 999px !important;
	white-space: nowrap;
	z-index: auto !important;
	box-shadow: none !important;
	transform: none !important;
	flex: 0 0 auto;
}

body.woocommerce-account .ng-farmley-order-actions__btn:hover,
body.woocommerce-account .ng-farmley-order-actions .button:hover,
body.woocommerce-account .ng-farmley-order-actions .woocommerce-button:hover {
	transform: none !important;
	box-shadow: none !important;
}

body.woocommerce-account .ng-farmley-order-actions .pay {
	background: #0c533d !important;
	color: #fff !important;
	border: 0 !important;
}

body.woocommerce-account .ng-farmley-order-actions .pay:hover {
	background: #094432 !important;
	color: #fff !important;
}

body.woocommerce-account .ng-farmley-order-actions .view {
	background: #fff !important;
	color: #0c533d !important;
	border: 2px solid rgba(12, 83, 61, 0.2) !important;
}

body.woocommerce-account .ng-farmley-order-actions .view:hover {
	background: rgba(252, 244, 235, 0.9) !important;
	border-color: rgba(12, 83, 61, 0.35) !important;
}

body.woocommerce-account .ng-farmley-order-actions .cancel {
	background: #fff !important;
	color: #b54a38 !important;
	border: 2px solid rgba(181, 74, 56, 0.35) !important;
}

body.woocommerce-account .ng-farmley-order-actions .cancel:hover {
	background: rgba(181, 74, 56, 0.08) !important;
	border-color: rgba(181, 74, 56, 0.55) !important;
	color: #943828 !important;
}

/* View order — action buttons inside order details table */
body.woocommerce-account .woocommerce-order-details .ng-farmley-order-actions,
body.woocommerce-account .woocommerce-table--order-details .ng-farmley-order-actions {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	width: 100%;
}

body.woocommerce-account .woocommerce-order-details .ng-farmley-order-actions .button,
body.woocommerce-account .woocommerce-order-details .ng-farmley-order-actions .woocommerce-button,
body.woocommerce-account .woocommerce-table--order-details .order-actions-button {
	position: static !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	float: none !important;
	clear: none !important;
	width: auto !important;
	min-width: 88px;
	height: 40px !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 0 16px !important;
	line-height: 1 !important;
	font-size: 12px !important;
	z-index: 1 !important;
	transform: none !important;
	box-shadow: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-pagination .button {
	min-height: 44px;
	padding: 0 20px !important;
}

@media only screen and (max-width: 1024px) {
	body.page-template-page-signup .ng-farmley-auth {
		grid-template-columns: 1fr;
	}

	.ng-farmley-auth__intro {
		min-height: auto;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation,
	body.woocommerce-account .woocommerce-MyAccount-content {
		display: block;
		width: 100%;
		float: none;
		padding-right: 0;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation {
		margin-bottom: 22px;
	}
}

@media only screen and (max-width: 680px) {
	.ng-farmley-signup,
	body.woocommerce-account.logged-in .woocommerce:not(.widget),
	body.woocommerce-account:not(.logged-in) .woocommerce:not(.widget) {
		padding-left: 16px;
		padding-right: 16px;
	}

	body.woocommerce-account:not(.logged-in) .woocommerce:not(.widget) {
		margin-top: 4px;
		margin-bottom: 12px;
	}

	body.woocommerce-account:not(.logged-in) #qodef-page-inner {
		padding-top: 10px;
		padding-bottom: 16px;
	}

	.ng-farmley-auth__intro,
	.ng-farmley-auth__card,
	body.woocommerce-account.logged-in .woocommerce:not(.widget),
	body.woocommerce-account #customer_login .u-column1,
	body.woocommerce-account #customer_login .u-column2,
	body.woocommerce-account .woocommerce-MyAccount-content {
		border-radius: 22px;
		padding: 24px;
	}

	body.woocommerce-account:not(.logged-in) .woocommerce:not(.widget) {
		width: calc(100% - 24px);
		max-width: var(--ng-auth-card-width);
		padding: 0 !important;
	}

	.ng-farmley-auth__intro::after {
		display: none;
	}

	body.woocommerce-account .woocommerce-form-login .form-row:not(.form-row-wide) {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	body.woocommerce-account .woocommerce-form .button,
	body.woocommerce-account #customer_login .button,
	body.page-template-page-signup .ng-farmley-auth__card .button {
		width: 100%;
	}

	body.woocommerce-account .ng-farmley-order-actions {
		justify-content: flex-start;
	}

	body.woocommerce-account .ng-farmley-order-actions .button,
	body.woocommerce-account .ng-farmley-order-actions .woocommerce-button {
		width: auto !important;
		flex: 0 0 auto;
	}
}

/* Orders — mobile card layout (label + value per row). */
@media only screen and (max-width: 768px) {
	body.woocommerce-account .ng-farmley-orders-table,
	body.woocommerce-account .woocommerce-orders-table,
	body.woocommerce-account table.woocommerce-orders-table.shop_table_responsive {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		table-layout: auto !important;
		border: 0 !important;
		overflow: visible !important;
	}

	body.woocommerce-account .woocommerce-orders-table colgroup,
	body.woocommerce-account .woocommerce-orders-table thead {
		display: none !important;
	}

	body.woocommerce-account .woocommerce-orders-table tbody {
		display: block !important;
		width: 100% !important;
	}

	body.woocommerce-account .woocommerce-orders-table tbody tr,
	body.woocommerce-account .woocommerce-orders-table.shop_table_responsive tbody tr {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 0 14px !important;
		padding: 0 !important;
		box-sizing: border-box !important;
		background: #fff;
		border: 1px solid rgba(12, 83, 61, 0.1) !important;
		border-radius: 16px !important;
		overflow: hidden;
		box-shadow: 0 6px 18px rgba(12, 83, 61, 0.05);
	}

	body.woocommerce-account .woocommerce-orders-table tbody tr:last-child {
		margin-bottom: 0 !important;
	}

	/* Keep order number visible — WooCommerce smallscreen hides tbody th. */
	body.woocommerce-account .woocommerce-orders-table tbody th,
	body.woocommerce-account .woocommerce-orders-table tbody td,
	body.woocommerce-account .woocommerce-orders-table.shop_table_responsive tbody th,
	body.woocommerce-account .woocommerce-orders-table.shop_table_responsive tbody td {
		display: grid !important;
		grid-template-columns: minmax(88px, 34%) minmax(0, 1fr) !important;
		align-items: start;
		gap: 10px 12px;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 12px 14px !important;
		box-sizing: border-box !important;
		text-align: left !important;
		white-space: normal !important;
		word-break: normal !important;
		overflow-wrap: anywhere;
		border: 0 !important;
		border-bottom: 1px solid rgba(12, 83, 61, 0.07) !important;
		background: transparent !important;
	}

	body.woocommerce-account .woocommerce-orders-table tbody tr > *:last-child {
		border-bottom: 0 !important;
	}

	body.woocommerce-account .woocommerce-orders-table tbody th::before,
	body.woocommerce-account .woocommerce-orders-table tbody td::before,
	body.woocommerce-account .woocommerce-orders-table.shop_table_responsive tbody th::before,
	body.woocommerce-account .woocommerce-orders-table.shop_table_responsive tbody td::before {
		content: attr(data-title) !important;
		display: block !important;
		float: none !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		font-family: "Manrope", sans-serif;
		font-size: 11px !important;
		font-weight: 800 !important;
		letter-spacing: 0.05em;
		text-transform: uppercase;
		line-height: 1.35;
		color: #5c6b64 !important;
	}

	body.woocommerce-account .woocommerce-orders-table__cell-order-number {
		background: #fbf8f1 !important;
	}

	body.woocommerce-account .woocommerce-orders-table__cell-order-number a {
		font-size: 16px;
		line-height: 1.3;
	}

	body.woocommerce-account .woocommerce-orders-table__cell-order-actions {
		min-width: 0 !important;
		width: 100% !important;
	}

	body.woocommerce-account .woocommerce-orders-table__cell-order-actions .ng-farmley-order-actions {
		display: flex !important;
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 8px;
		width: 100%;
	}

	body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
	body.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button {
		width: auto !important;
		min-width: 0;
		flex: 0 0 auto;
	}

	body.woocommerce-account .woocommerce-orders-table time,
	body.woocommerce-account .woocommerce-orders-table .woocommerce-Price-amount {
		white-space: normal !important;
	}

	/* View-order Actions: Pay / Cancel — stack cleanly, no overlap. */
	body.woocommerce-account .woocommerce-table--order-details tfoot tr:has(.order-actions--heading),
	body.woocommerce-account .woocommerce-table--order-details tfoot tr:has(.ng-farmley-order-actions) {
		display: block !important;
		width: 100% !important;
		padding: 12px 0;
		border-top: 1px solid rgba(12, 83, 61, 0.08);
	}

	body.woocommerce-account .woocommerce-table--order-details .order-actions--heading,
	body.woocommerce-account .woocommerce-table--order-details tfoot tr:has(.ng-farmley-order-actions) th,
	body.woocommerce-account .woocommerce-table--order-details tfoot tr:has(.ng-farmley-order-actions) td {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 6px 0 !important;
		text-align: left !important;
		border: 0 !important;
	}

	body.woocommerce-account .woocommerce-order-details .ng-farmley-order-actions,
	body.woocommerce-account .woocommerce-table--order-details .ng-farmley-order-actions {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		gap: 10px !important;
		width: 100% !important;
		margin-top: 6px;
	}

	body.woocommerce-account .woocommerce-order-details .ng-farmley-order-actions .button,
	body.woocommerce-account .woocommerce-order-details .ng-farmley-order-actions .woocommerce-button,
	body.woocommerce-account .woocommerce-table--order-details .ng-farmley-order-actions .order-actions-button {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		height: 46px !important;
		min-height: 46px !important;
		margin: 0 !important;
		padding: 0 16px !important;
		position: static !important;
		float: none !important;
		z-index: 1 !important;
		box-sizing: border-box !important;
	}
}

@media only screen and (max-width: 680px) {
	body.woocommerce-account .woocommerce-orders-table tbody th,
	body.woocommerce-account .woocommerce-orders-table tbody td {
		grid-template-columns: minmax(78px, 32%) minmax(0, 1fr) !important;
		padding: 12px !important;
	}
}
