/* Source Research Supply — customer account and order-confirmation surfaces.
 * Scoped to WooCommerce customer routes so native commerce behaviour remains intact.
 */

/* Account pages are frequent-use utility screens. Keep the Source title band,
 * but give the working area more of the first viewport. */
body.srs-site.woocommerce-account {
	--srs-page-banner-height: clamp(164px, 17vw, 220px);
	--srs-page-banner-space: clamp(28px, 3.5vw, 44px);
	--srs-page-title-size: clamp(42px, 5vw, 64px);
}

body.srs-site.woocommerce-account .srs-default-page-hero + .wp-block-post-content {
	margin-top: clamp(32px, 4vw, 52px);
}

body.srs-site.woocommerce-account .wp-block-post-content > .woocommerce {
	display: grid;
	grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
	grid-template-areas: "account-nav account-content";
	gap: clamp(36px, 5vw, 68px);
	width: min(100%, 1160px);
	max-width: 1160px;
	margin-inline: auto;
	color: var(--srs-ink);
}

/* WooCommerce's legacy clearfix creates ::before and ::after pseudo-elements.
 * They become real grid items unless removed, which shifts the navigation into
 * the content track and the account content into a second, narrow row. */
body.srs-site.woocommerce-account .wp-block-post-content > .woocommerce::before,
body.srs-site.woocommerce-account .wp-block-post-content > .woocommerce::after {
	display: none !important;
	content: none !important;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-navigation,
body.srs-site.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
	min-width: 0;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-navigation {
	grid-area: account-nav;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content {
	grid-area: account-content;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--srs-line);
	list-style: none;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--srs-line);
	list-style: none;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	min-height: 48px;
	box-sizing: border-box;
	padding: 10px 14px;
	color: var(--srs-ink);
	font-size: 14px;
	font-weight: 560;
	line-height: 1.35;
	text-decoration: none;
	transition: color .16s ease, background-color .16s ease;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	background: #eef0f2;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
	background: var(--srs-ink);
	color: #fff;
	font-weight: 700;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible {
	position: relative;
	z-index: 1;
	outline: 2px solid var(--srs-ink) !important;
	outline-offset: 3px !important;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content {
	font-size: 15px;
	line-height: 1.65;
}

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

body.srs-site.woocommerce-account .woocommerce-MyAccount-content :is(h2, h3) {
	color: var(--srs-ink);
	font-family: var(--srs-display) !important;
	font-stretch: condensed;
	font-weight: 700;
	line-height: 1.08;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content h2 {
	margin: 0 0 18px;
	font-size: clamp(24px, 2.5vw, 30px);
	letter-spacing: .015em;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content h3 {
	margin: 28px 0 12px;
	font-size: 22px;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
	color: var(--srs-ink);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content a:not(.button):hover {
	text-decoration-thickness: 2px;
}

/* WooCommerce block-theme buttons inherit Twenty Twenty-Five's large display
 * treatment. Customer actions use a compact, shared 44px control instead. */
body.srs-site.woocommerce-account .woocommerce-MyAccount-content :where(
	a.woocommerce-button,
	a.woocommerce-Button,
	a.button,
	button.woocommerce-button,
	button.woocommerce-Button,
	button.button,
	input.button
):not(.show-password-input) {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	min-height: 44px;
	box-sizing: border-box;
	margin: 0;
	padding: 10px 17px !important;
	border: 1px solid var(--srs-ink) !important;
	border-radius: 0 !important;
	background: var(--srs-ink) !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content :where(
	a.woocommerce-button,
	a.woocommerce-Button,
	a.button,
	button.woocommerce-button,
	button.woocommerce-Button,
	button.button,
	input.button
):not(.show-password-input):hover {
	border-color: #303237 !important;
	background: #303237 !important;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content :where(
	a.woocommerce-button,
	a.woocommerce-Button,
	a.button,
	button.woocommerce-button,
	button.woocommerce-Button,
	button.button,
	input.button
):not(.show-password-input):focus-visible {
	outline: 2px solid var(--srs-ink) !important;
	outline-offset: 3px !important;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content :is(button, input[type="submit"]):disabled {
	border-color: #c8ccd2 !important;
	background: #dfe2e6 !important;
	color: #555b63 !important;
	cursor: not-allowed;
}

/* Notices keep their semantic colour while their links remain part of the
 * sentence instead of becoming a second oversized button. */
body.srs-site.woocommerce-account .wc-block-components-notice-banner {
	box-sizing: border-box;
	margin: 0 0 20px;
	padding: 14px 16px;
	border-radius: 0;
	font-size: 14px;
	line-height: 1.5;
}

body.srs-site.woocommerce-account .wc-block-components-notice-banner .button {
	display: inline !important;
	min-height: 0;
	margin: 0 0 0 12px;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: inherit !important;
	font: inherit !important;
	font-weight: 700 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	white-space: normal;
}

body.srs-site.woocommerce-account .wc-block-components-notice-banner .button:hover {
	background: transparent !important;
	color: inherit !important;
	text-decoration-thickness: 2px !important;
}

/* Shared account tables. */
body.srs-site.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	margin: 0 0 28px;
	border: 1px solid var(--srs-line);
	border-radius: 0;
	border-collapse: collapse;
	background: #fff;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content table.shop_table :is(th, td) {
	box-sizing: border-box;
	padding: 15px 16px;
	border: 0;
	border-bottom: 1px solid var(--srs-line);
	vertical-align: middle;
	text-align: left;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th {
	background: #f3f4f5;
	color: var(--srs-ink);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .035em;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr:last-child > :is(th, td),
body.srs-site.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot tr:last-child > :is(th, td) {
	border-bottom: 0;
}

body.srs-site.woocommerce-account .woocommerce-orders-table__cell-order-number a {
	font-weight: 750;
}

body.srs-site.woocommerce-account .woocommerce-orders-table__cell-order-actions {
	width: 1%;
	min-width: 222px;
	text-align: right !important;
	white-space: nowrap;
}

body.srs-site.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button {
	min-height: 44px;
	margin: 0 0 0 6px !important;
	padding-inline: 14px !important;
	font-size: 13px !important;
}

body.srs-site.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button.view {
	border-color: #aeb4bd !important;
	background: #fff !important;
	color: var(--srs-ink) !important;
}

body.srs-site.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button.view:hover {
	border-color: var(--srs-ink) !important;
	background: #eef0f2 !important;
}

body.srs-site.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button.cancel {
	border-color: transparent !important;
	background: transparent !important;
	color: #6d3232 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

body.srs-site.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button.cancel:hover {
	border-color: #d8bcbc !important;
	background: #fbf4f4 !important;
}

/* Account forms. */
body.srs-site.woocommerce-account .woocommerce-MyAccount-content form {
	max-width: 760px;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content .form-row {
	margin: 0 0 18px;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content .form-row label {
	display: block;
	margin: 0 0 7px;
	color: var(--srs-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content :is(input.input-text, select, textarea) {
	width: 100%;
	min-height: 48px;
	box-sizing: border-box;
	padding: 11px 13px;
	border: 1px solid #aeb4bd;
	border-radius: 0;
	background: #fff;
	color: var(--srs-ink);
	font-size: 16px;
	line-height: 1.45;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content textarea {
	min-height: 132px;
	resize: vertical;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content :is(input.input-text, select, textarea):focus {
	border-color: var(--srs-ink);
	outline: 2px solid var(--srs-ink);
	outline-offset: 2px;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content fieldset {
	margin: 30px 0 24px;
	padding: 22px;
	border: 1px solid var(--srs-line);
	background: #f7f8f9;
}

body.srs-site.woocommerce-account .woocommerce-MyAccount-content legend {
	padding: 0 8px;
	color: var(--srs-ink);
	font-family: var(--srs-display) !important;
	font-size: 22px;
	font-weight: 700;
}

body.srs-site.woocommerce-account .woocommerce-password-strength {
	margin-top: 8px;
	padding: 8px 10px;
	font-size: 12px;
	line-height: 1.4;
}

/* Address overview and order address cards. */
body.srs-site.woocommerce-account .woocommerce-Addresses,
body.srs-site.woocommerce-account .woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-areas: "billing-address shipping-address";
	gap: 18px;
	margin-top: 24px;
}

/* These legacy WooCommerce clearfix pseudo-elements otherwise occupy the
 * first and last address-grid cells, separating the two cards diagonally. */
body.srs-site.woocommerce-account :is(.woocommerce-Addresses, .woocommerce-columns--addresses)::before,
body.srs-site.woocommerce-account :is(.woocommerce-Addresses, .woocommerce-columns--addresses)::after {
	display: none !important;
	content: none !important;
}

body.srs-site.woocommerce-account :is(
	.woocommerce-Addresses > .woocommerce-Address:first-of-type,
	.woocommerce-columns--addresses > .woocommerce-column--billing-address
) {
	grid-area: billing-address;
}

body.srs-site.woocommerce-account :is(
	.woocommerce-Addresses > .woocommerce-Address:last-of-type,
	.woocommerce-columns--addresses > .woocommerce-column--shipping-address
) {
	grid-area: shipping-address;
}

body.srs-site.woocommerce-account :is(.woocommerce-Address, .woocommerce-column--billing-address, .woocommerce-column--shipping-address) {
	float: none !important;
	width: auto !important;
	box-sizing: border-box;
	min-width: 0;
	padding: 22px;
	border: 1px solid var(--srs-line);
	background: #f7f8f9;
}

body.srs-site.woocommerce-account .woocommerce-Address-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
}

body.srs-site.woocommerce-account .woocommerce-Address-title h2 {
	margin: 0;
}

body.srs-site.woocommerce-account .woocommerce-Address-title .edit {
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
}

body.srs-site.woocommerce-account :is(.woocommerce-Address, .woocommerce-column--billing-address, .woocommerce-column--shipping-address) address {
	margin: 0;
	font-style: normal;
	line-height: 1.65;
}

body.srs-site.woocommerce-account .woocommerce-order-details,
body.srs-site.woocommerce-account .woocommerce-customer-details {
	margin-top: 34px;
}

body.srs-site.woocommerce-account .cc-coa-customer-evidence {
	margin-top: 34px;
}

/* Order confirmation: a clear arrival state followed by a restrained receipt. */
body.srs-site.woocommerce-order-received main.wp-block-group {
	padding-bottom: clamp(56px, 7vw, 92px);
}

body.srs-site.woocommerce-order-received main > .wc-block-order-confirmation-status {
	display: grid;
	align-content: center;
	width: auto;
	max-width: none !important;
	min-height: clamp(180px, 20vw, 250px);
	box-sizing: border-box;
	margin: 0 calc(-1 * var(--wp--preset--spacing--50, var(--srs-pad))) !important;
	padding: clamp(38px, 5vw, 64px) max(var(--srs-pad), calc((100vw - var(--srs-max)) / 2 + var(--srs-pad)));
	border-bottom: 1px solid #303238;
	background: #08090b;
	color: #fff;
}

body.srs-site.woocommerce-order-received .wc-block-order-confirmation-status h1 {
	max-width: var(--srs-max);
	margin: 0 0 16px;
	color: #fff;
	font-family: var(--srs-display) !important;
	font-size: clamp(42px, 5.2vw, 70px);
	font-weight: 700;
	letter-spacing: .02em;
	line-height: .98;
	text-transform: uppercase;
}

body.srs-site.woocommerce-order-received .wc-block-order-confirmation-status p {
	max-width: 70ch;
	margin: 0;
	color: #c5c9cf;
	font-size: 16px;
	line-height: 1.6;
}

body.srs-site.woocommerce-order-received :is(
	.wc-block-order-confirmation-summary,
	.wc-block-order-confirmation-totals-wrapper,
	.wc-block-order-confirmation-address-wrapper
) {
	width: min(100%, 1160px);
	max-width: 1160px !important;
	box-sizing: border-box;
	margin-inline: auto !important;
}

body.srs-site.woocommerce-order-received .wc-block-order-confirmation-summary {
	margin-top: clamp(28px, 4vw, 44px) !important;
}

body.srs-site.woocommerce-order-received .wc-block-order-confirmation-summary-list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	border: 1px solid var(--srs-line);
	background: #fff;
	list-style: none;
}

body.srs-site.woocommerce-order-received .wc-block-order-confirmation-summary-list-item {
	display: grid;
	align-content: start;
	gap: 6px;
	min-width: 0;
	box-sizing: border-box;
	margin: 0;
	padding: 18px;
	border-right: 1px solid var(--srs-line);
	font-variant-numeric: tabular-nums;
}

body.srs-site.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:last-child {
	border-right: 0;
}

body.srs-site.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__key {
	color: var(--srs-muted);
	font-size: 11px;
	font-weight: 750;
	line-height: 1.35;
	letter-spacing: .08em;
	text-transform: uppercase;
}

body.srs-site.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__value {
	min-width: 0;
	color: var(--srs-ink);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

body.srs-site.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper {
	margin-top: clamp(38px, 5vw, 60px) !important;
}

body.srs-site.woocommerce-order-received :is(
	.wc-block-order-confirmation-totals-wrapper,
	.wc-block-order-confirmation-address-wrapper
) h2 {
	margin: 0 0 17px;
	color: var(--srs-ink);
	font-family: var(--srs-display) !important;
	font-size: clamp(25px, 2.4vw, 31px) !important;
	font-weight: 700;
	letter-spacing: .015em;
	line-height: 1.08;
}

body.srs-site.woocommerce-order-received .wc-block-order-confirmation-totals {
	width: 100%;
}

body.srs-site.woocommerce-order-received :is(
	.wc-block-order-confirmation-totals__table,
	.cc-coa-customer-evidence table
) {
	width: 100%;
	margin: 0;
	border: 1px solid var(--srs-line);
	border-radius: 0;
	border-collapse: collapse;
	background: #fff;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

body.srs-site.woocommerce-order-received :is(
	.wc-block-order-confirmation-totals__table,
	.cc-coa-customer-evidence table
) :is(th, td) {
	box-sizing: border-box;
	padding: 16px;
	border: 0;
	border-bottom: 1px solid var(--srs-line);
	text-align: left;
	vertical-align: middle;
}

body.srs-site.woocommerce-order-received :is(
	.wc-block-order-confirmation-totals__table,
	.cc-coa-customer-evidence table
) thead th {
	background: #f3f4f5;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .035em;
}

body.srs-site.woocommerce-order-received :is(
	.wc-block-order-confirmation-totals__table,
	.cc-coa-customer-evidence table
) tr:last-child > :is(th, td) {
	border-bottom: 0;
}

body.srs-site.woocommerce-order-received .wc-block-order-confirmation-totals__total {
	text-align: right !important;
}

body.srs-site.woocommerce-order-received .cc-coa-customer-evidence {
	margin-top: clamp(38px, 5vw, 58px);
}

body.srs-site.woocommerce-order-received .cc-coa-customer-evidence a {
	color: var(--srs-ink);
	font-weight: 700;
	text-underline-offset: 3px;
}

body.srs-site.woocommerce-order-received .wc-block-order-confirmation-address-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: clamp(38px, 5vw, 58px) !important;
}

body.srs-site.woocommerce-order-received .wc-block-order-confirmation-address-wrapper > .wp-block-column {
	min-width: 0;
}

body.srs-site.woocommerce-order-received :is(
	.wc-block-order-confirmation-shipping-wrapper,
	.wc-block-order-confirmation-billing-wrapper
) {
	height: 100%;
	box-sizing: border-box;
	padding: 22px;
	border: 1px solid var(--srs-line);
	background: #f7f8f9;
}

body.srs-site.woocommerce-order-received :is(
	.wc-block-order-confirmation-shipping-address,
	.wc-block-order-confirmation-billing-address
) address {
	margin: 0;
	font-style: normal;
	font-size: 15px;
	line-height: 1.65;
}

body.srs-site.woocommerce-order-received del {
	color: var(--srs-muted);
	text-decoration-thickness: 1px;
}

body.srs-site.woocommerce-order-received ins {
	color: var(--srs-ink);
	font-weight: 750;
	text-decoration: none;
}

@media (max-width: 900px) {
	body.srs-site.woocommerce-account .wp-block-post-content > .woocommerce {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"account-nav"
			"account-content";
		gap: 30px;
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-navigation {
		max-width: 100%;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		scrollbar-width: thin;
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		width: max-content;
		min-width: 100%;
		border: 1px solid var(--srs-line);
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-navigation li {
		flex: 0 0 auto;
		border: 0;
		border-right: 1px solid var(--srs-line);
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
		border-right: 0;
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-navigation a {
		min-height: 46px;
		white-space: nowrap;
	}

	body.srs-site.woocommerce-order-received .wc-block-order-confirmation-summary-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.srs-site.woocommerce-order-received .wc-block-order-confirmation-summary-list-item {
		border-right: 1px solid var(--srs-line);
		border-bottom: 1px solid var(--srs-line);
	}

	body.srs-site.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:nth-child(2n) {
		border-right: 0;
	}

	body.srs-site.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:last-child {
		grid-column: 1 / -1;
		border-right: 0;
		border-bottom: 0;
	}
}

@media (max-width: 700px) {
	body.srs-site.woocommerce-account {
		--srs-page-banner-height: 132px;
		--srs-page-banner-space: 24px;
		--srs-page-title-size: 40px;
	}

	body.srs-site.woocommerce-account .srs-default-page-hero + .wp-block-post-content {
		margin-top: 28px;
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive {
		display: block;
		width: 100%;
		border: 0;
		background: transparent;
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive thead {
		display: none !important;
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody {
		display: grid;
		gap: 14px;
		width: 100%;
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tr {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
		margin: 0;
		border: 1px solid var(--srs-line);
		background: #fff;
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive :is(th, td) {
		display: grid !important;
		grid-template-columns: minmax(88px, 34%) minmax(0, 1fr);
		gap: 12px;
		width: 100%;
		padding: 12px 14px;
		text-align: right !important;
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive :is(th, td)::before {
		content: attr(data-title);
		color: var(--srs-muted);
		font-size: 11px;
		font-weight: 750;
		letter-spacing: .06em;
		text-align: left;
		text-transform: uppercase;
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive .woocommerce-orders-table__cell-order-actions {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: center;
		gap: 6px;
		width: auto;
		min-width: 0;
		white-space: normal;
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive .woocommerce-orders-table__cell-order-actions::before {
		grid-column: 1 / -1;
		margin: 0 0 2px;
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive .woocommerce-orders-table__cell-order-actions .woocommerce-button {
		width: 100%;
		margin: 0 !important;
		padding-inline: 8px !important;
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive .woocommerce-orders-table__cell-order-actions:has(.woocommerce-button:only-child) {
		grid-template-columns: minmax(0, 1fr);
	}

	body.srs-site.woocommerce-account .wc-block-components-notice-banner__content {
		display: grid !important;
		gap: 8px;
	}

	body.srs-site.woocommerce-account .wc-block-components-notice-banner .button {
		justify-self: start;
		margin: 0;
	}

	body.srs-site.woocommerce-account .woocommerce-Addresses,
	body.srs-site.woocommerce-account .woocommerce-columns--addresses,
	body.srs-site.woocommerce-order-received .wc-block-order-confirmation-address-wrapper {
		grid-template-columns: minmax(0, 1fr);
	}

	body.srs-site.woocommerce-account .woocommerce-Addresses,
	body.srs-site.woocommerce-account .woocommerce-columns--addresses {
		grid-template-areas:
			"billing-address"
			"shipping-address";
	}

	body.srs-site.woocommerce-order-received .cc-coa-customer-evidence {
		overflow-x: auto;
	}

	body.srs-site.woocommerce-order-received .cc-coa-customer-evidence table {
		min-width: 560px;
	}
}

@media (max-width: 520px) {
	body.srs-site.woocommerce-account {
		--srs-page-banner-height: 112px;
		--srs-page-banner-space: 20px;
		--srs-page-title-size: 34px;
	}

	body.srs-site.woocommerce-account .wp-block-post-content > .woocommerce {
		gap: 24px;
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-content {
		font-size: 14px;
	}

	body.srs-site.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button {
		min-width: 64px;
	}

	body.srs-site.woocommerce-account .woocommerce-MyAccount-content fieldset,
	body.srs-site.woocommerce-account :is(.woocommerce-Address, .woocommerce-column--billing-address, .woocommerce-column--shipping-address),
	body.srs-site.woocommerce-order-received :is(.wc-block-order-confirmation-shipping-wrapper, .wc-block-order-confirmation-billing-wrapper) {
		padding: 18px;
	}

	body.srs-site.woocommerce-order-received main > .wc-block-order-confirmation-status {
		min-height: 158px;
		padding-block: 34px;
	}

	body.srs-site.woocommerce-order-received .wc-block-order-confirmation-status h1 {
		font-size: 38px;
	}

	body.srs-site.woocommerce-order-received .wc-block-order-confirmation-status p {
		font-size: 14px;
	}

	body.srs-site.woocommerce-order-received .wc-block-order-confirmation-summary-list {
		grid-template-columns: minmax(0, 1fr);
	}

	body.srs-site.woocommerce-order-received .wc-block-order-confirmation-summary-list-item,
	body.srs-site.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:nth-child(2n),
	body.srs-site.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:last-child {
		grid-column: auto;
		border-right: 0;
		border-bottom: 1px solid var(--srs-line);
	}

	body.srs-site.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:last-child {
		border-bottom: 0;
	}

	body.srs-site.woocommerce-order-received :is(.wc-block-order-confirmation-totals__table, .cc-coa-customer-evidence table) :is(th, td) {
		padding: 13px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.srs-site.woocommerce-account .woocommerce-MyAccount-navigation a,
	body.srs-site.woocommerce-account .woocommerce-MyAccount-content :is(a.button, button.button, input.button) {
		transition: none;
	}
}
