/* Scoped presentation pass for the Support / Legal footer destinations. */
body.page-id-111 #content .entry-content,
body.page-id-114 #content .entry-content {
	width: 100%;
	max-width: 1080px;
	margin-inline: auto;
}

body.page-id-12 #content .entry-content,
body.page-id-3 #content .entry-content {
	width: 100%;
	max-width: 860px;
	margin-inline: auto;
}

body.page-id-132 #content .entry-content {
	width: 100%;
	max-width: 800px;
	margin-inline: auto;
}

body.page-id-111 #content .entry-content,
body.page-id-12 #content .entry-content,
body.page-id-114 #content .entry-content,
body.page-id-3 #content .entry-content,
body.page-id-132 #content .entry-content,
body.woocommerce-account #content .woocommerce {
	font-size: 16px;
	line-height: 1.8;
	line-break: strict;
	word-break: normal;
	overflow-wrap: normal;
}

@supports (word-break: auto-phrase) {
	body.page-id-111 #content .entry-content,
	body.page-id-12 #content .entry-content,
	body.page-id-114 #content .entry-content,
	body.page-id-3 #content .entry-content,
	body.page-id-132 #content .entry-content,
	body.woocommerce-account #content .woocommerce {
		word-break: auto-phrase;
	}
}

body.page-id-111 #content .entry-content > h1,
body.page-id-12 #content .entry-content > h1,
body.page-id-114 #content .entry-content > h1,
body.page-id-3 #content .entry-content > h1,
body.page-id-132 #content .entry-content > h1,
body.page-id-111 #content .entry-title,
body.page-id-12 #content .entry-title,
body.page-id-114 #content .entry-title,
body.page-id-3 #content .entry-title,
body.page-id-132 #content .entry-title,
body.woocommerce-account #content .entry-title {
	max-width: 100%;
	margin: 0 0 clamp(28px, 4vw, 48px);
	font-size: clamp(38px, 4.2vw, 54px);
	line-height: 1.16;
	text-wrap: pretty;
}

/* Shipping: separate authored paragraphs/lists through a steady reading rhythm. */
body.page-id-111 #content .entry-content > p,
body.page-id-111 #content .entry-content > ul,
body.page-id-111 #content .entry-content > ol {
	margin-block: 0 18px;
}

body.page-id-111 #content .entry-content h2,
body.page-id-111 #content .entry-content h3 {
	margin-block: 28px 10px;
	font-size: clamp(19px, 2vw, 24px);
	line-height: 1.45;
}

body.page-id-111 #content .entry-content li {
	margin-block: 0 7px;
}

/* Returns: preserve the minimal content while clarifying the section/body gap. */
body.page-id-12 #content .entry-content h2,
body.page-id-12 #content .entry-content h3 {
	margin-block: 32px 12px;
	font-size: clamp(19px, 2vw, 23px);
	line-height: 1.45;
}

body.page-id-12 #content .entry-content p {
	margin-block: 0 18px;
}

/* Legal disclosure: keep each rendered label directly paired with its value. */
body.page-id-114 #content .entry-content h2,
body.page-id-114 #content .entry-content h3 {
	margin-block: 26px 5px;
	padding-block-start: 16px;
	border-top: 1px solid var(--cacio-global-line);
	font-size: 17px;
	line-height: 1.5;
}

body.page-id-114 #content .entry-content h2 + p,
body.page-id-114 #content .entry-content h3 + p,
body.page-id-114 #content .entry-content h2 + div,
body.page-id-114 #content .entry-content h3 + div,
body.page-id-114 #content .entry-content h2 + ul,
body.page-id-114 #content .entry-content h3 + ul {
	margin-block-start: 0;
}

body.page-id-114 #content .entry-content p,
body.page-id-114 #content .entry-content li {
	line-height: 1.8;
	word-break: normal;
	overflow-wrap: normal;
}

/* Privacy policy: readable measure and clear numbered-section rhythm. */
body.page-id-3 #content .entry-content h2,
body.page-id-3 #content .entry-content h3 {
	margin-block: 34px 12px;
	font-size: clamp(19px, 2vw, 24px);
	line-height: 1.45;
}

body.page-id-3 #content .entry-content p,
body.page-id-3 #content .entry-content li {
	margin-block: 0 14px;
	line-height: 1.85;
}

body.page-id-3 #content .entry-content ul,
body.page-id-3 #content .entry-content ol {
	padding-inline-start: 1.5em;
}

/* Contact Form 7: scoped fields, focus, and Cacio outline button contract. */
body.page-id-132 #content .wpcf7 form label {
	display: block;
	margin-block: 0 8px;
}

body.page-id-132 #content .wpcf7 form p {
	margin-block: 0 20px;
}

body.page-id-132 #content .wpcf7 form input:not([type="submit"]),
body.page-id-132 #content .wpcf7 form textarea,
body.page-id-132 #content .wpcf7 form select {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--cacio-global-line);
	border-radius: 0;
	background: var(--cacio-global-milk);
	color: var(--cacio-global-ink);
	font: inherit;
	line-height: 1.6;
}

body.page-id-132 #content .wpcf7 form textarea {
	min-height: 180px;
	resize: vertical;
}

body.page-id-132 #content .wpcf7 form input:not([type="submit"]):focus-visible,
body.page-id-132 #content .wpcf7 form textarea:focus-visible,
body.page-id-132 #content .wpcf7 form select:focus-visible {
	border-color: var(--cacio-global-green);
	outline: 2px solid var(--cacio-global-green);
	outline-offset: 2px;
}

body.page-id-132 #content .wpcf7 form input.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 48px;
	margin: 0;
	padding: 0 26px;
	border: 1px solid var(--cacio-global-ink);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--cacio-global-ink);
	font: inherit;
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

body.page-id-132 #content .wpcf7 form input.wpcf7-submit:hover,
body.page-id-132 #content .wpcf7 form input.wpcf7-submit:focus-visible {
	border-color: var(--cacio-global-ink);
	background: var(--cacio-global-ink);
	color: var(--cacio-global-milk);
}

body.page-id-132 #content .wpcf7 form input.wpcf7-submit:focus-visible {
	outline: 2px solid var(--cacio-global-green);
	outline-offset: 3px;
}

/* My Account: style only non-destructive customer actions and login controls. */
body.woocommerce-account #content .woocommerce-MyAccount-content a.button:not(.cancel):not(.delete):not(.logout):not(.pay):not(.order-again):not(.woocommerce-button--cancel):not(.woocommerce-button--delete),
body.woocommerce-account #content .woocommerce-MyAccount-content button.button:not(.cancel):not(.delete):not(.logout):not(.pay):not(.order-again):not(.woocommerce-button--cancel):not(.woocommerce-button--delete),
body.woocommerce-account #content .woocommerce-MyAccount-content input.button:not(.cancel):not(.delete):not(.logout):not(.pay):not(.order-again):not(.woocommerce-button--cancel):not(.woocommerce-button--delete),
body.woocommerce-account #content form.woocommerce-form-login button.button,
body.woocommerce-account #content form.woocommerce-form-register button.button,
body.woocommerce-account #content form.woocommerce-form-login input.button,
body.woocommerce-account #content form.woocommerce-form-register input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid var(--cacio-global-ink);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--cacio-global-ink);
	font-family: var(--cacio-global-sans);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

body.woocommerce-account #content .woocommerce-MyAccount-content a.button:not(.cancel):not(.delete):not(.logout):not(.pay):not(.order-again):not(.woocommerce-button--cancel):not(.woocommerce-button--delete):hover,
body.woocommerce-account #content .woocommerce-MyAccount-content button.button:not(.cancel):not(.delete):not(.logout):not(.pay):not(.order-again):not(.woocommerce-button--cancel):not(.woocommerce-button--delete):hover,
body.woocommerce-account #content .woocommerce-MyAccount-content input.button:not(.cancel):not(.delete):not(.logout):not(.pay):not(.order-again):not(.woocommerce-button--cancel):not(.woocommerce-button--delete):hover,
body.woocommerce-account #content form.woocommerce-form-login button.button:hover,
body.woocommerce-account #content form.woocommerce-form-register button.button:hover,
body.woocommerce-account #content form.woocommerce-form-login input.button:hover,
body.woocommerce-account #content form.woocommerce-form-register input.button:hover,
body.woocommerce-account #content .woocommerce-MyAccount-content a.button:not(.cancel):not(.delete):not(.logout):not(.pay):not(.order-again):not(.woocommerce-button--cancel):not(.woocommerce-button--delete):focus-visible,
body.woocommerce-account #content .woocommerce-MyAccount-content button.button:not(.cancel):not(.delete):not(.logout):not(.pay):not(.order-again):not(.woocommerce-button--cancel):not(.woocommerce-button--delete):focus-visible,
body.woocommerce-account #content .woocommerce-MyAccount-content input.button:not(.cancel):not(.delete):not(.logout):not(.pay):not(.order-again):not(.woocommerce-button--cancel):not(.woocommerce-button--delete):focus-visible,
body.woocommerce-account #content form.woocommerce-form-login button.button:focus-visible,
body.woocommerce-account #content form.woocommerce-form-register button.button:focus-visible,
body.woocommerce-account #content form.woocommerce-form-login input.button:focus-visible,
body.woocommerce-account #content form.woocommerce-form-register input.button:focus-visible {
	border-color: var(--cacio-global-ink);
	background: var(--cacio-global-ink);
	color: var(--cacio-global-milk);
	text-decoration: none;
}

body.woocommerce-account #content .woocommerce-MyAccount-content a.button:focus-visible,
body.woocommerce-account #content .woocommerce-MyAccount-content button.button:focus-visible,
body.woocommerce-account #content .woocommerce-MyAccount-content input.button:focus-visible,
body.woocommerce-account #content form.woocommerce-form-login button.button:focus-visible,
body.woocommerce-account #content form.woocommerce-form-register button.button:focus-visible,
body.woocommerce-account #content form.woocommerce-form-login input.button:focus-visible,
body.woocommerce-account #content form.woocommerce-form-register input.button:focus-visible {
	outline: 2px solid var(--cacio-global-green);
	outline-offset: 3px;
}

body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
}

body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table th,
body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table td {
	padding: 12px 10px;
	line-height: 1.6;
	vertical-align: top;
}

body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions {
	display: flex;
	align-items: center;
	align-content: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
	height: auto;
}

/* Order actions share one stable Cacio button layout, including Woo's Pay action. */
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions button,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	flex: 0 1 auto;
	width: auto;
	max-width: 100%;
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid var(--cacio-global-ink);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--cacio-global-ink);
	font-family: var(--cacio-global-sans);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	line-break: strict;
	word-break: normal;
	overflow-wrap: normal;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a:hover,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions button:hover,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions input[type="submit"]:hover,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a:focus-visible,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions button:focus-visible,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions input[type="submit"]:focus-visible {
	border-color: var(--cacio-global-ink);
	background: var(--cacio-global-ink);
	color: var(--cacio-global-milk);
	text-decoration: none;
}

body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a:focus-visible,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions button:focus-visible,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions input[type="submit"]:focus-visible {
	outline: 2px solid var(--cacio-global-green);
	outline-offset: 3px;
}

/* Keep Cancel recognizable without leaving it as a permanently filled action. */
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.cancel,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.woocommerce-button--cancel,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions button.cancel {
	border-color: var(--cacio-global-clay);
	color: var(--cacio-global-clay);
}

body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.cancel:hover,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.cancel:focus-visible,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.woocommerce-button--cancel:hover,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.woocommerce-button--cancel:focus-visible,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions button.cancel:hover,
body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions button.cancel:focus-visible {
	border-color: var(--cacio-global-ink);
	background: var(--cacio-global-ink);
	color: var(--cacio-global-milk);
}

@supports (word-break: auto-phrase) {
	body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a,
	body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions button,
	body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions input[type="submit"] {
		word-break: auto-phrase;
	}
}

@media (max-width: 800px) {
	body.page-id-111 #content .entry-content,
	body.page-id-12 #content .entry-content,
	body.page-id-114 #content .entry-content,
	body.page-id-3 #content .entry-content,
	body.page-id-132 #content .entry-content {
		max-width: none;
	}

	body.page-id-111 #content .entry-content > h1,
	body.page-id-12 #content .entry-content > h1,
	body.page-id-114 #content .entry-content > h1,
	body.page-id-3 #content .entry-content > h1,
	body.page-id-132 #content .entry-content > h1,
	body.page-id-111 #content .entry-title,
	body.page-id-12 #content .entry-title,
	body.page-id-114 #content .entry-title,
	body.page-id-3 #content .entry-title,
	body.page-id-132 #content .entry-title,
	body.woocommerce-account #content .entry-title {
		font-size: clamp(34px, 8vw, 42px);
		line-height: 1.2;
	}

	body.page-id-114 #content .entry-content h2,
	body.page-id-114 #content .entry-content h3 {
		margin-block: 24px 5px;
		padding-block-start: 14px;
	}

	body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table th,
	body.woocommerce-account #content .woocommerce-MyAccount-content table.shop_table td {
		padding: 10px 8px;
	}

	body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions {
		gap: 6px;
	}

	body.woocommerce-account #content .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions::before {
		flex: 0 0 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.page-id-132 #content .wpcf7 form input.wpcf7-submit,
	body.woocommerce-account #content .woocommerce-MyAccount-content a.button,
	body.woocommerce-account #content .woocommerce-MyAccount-content button.button,
	body.woocommerce-account #content .woocommerce-MyAccount-content input.button {
		transition: none;
	}
}

/* Q08-FOCUS01: keep Account text-field focus visible for keyboard users. */
body.woocommerce-account #content .woocommerce input.input-text:focus-visible,
body.woocommerce-account #content .woocommerce textarea:focus-visible,
body.woocommerce-account #content .woocommerce select:focus-visible {
	outline: 2px solid var(--cacio-global-green, #50604d);
	outline-offset: 2px;
}
