/*
 * Reflect commerce: Cart, Checkout, Mini-Cart drawer, notices, account and order confirmation.
 * Native WooCommerce blocks and classic account templates, restyled to the Blocksy look with theme tokens.
 * "body" or a doubled class only raises specificity above the WooCommerce block styles. !important appears twice:
 * against the inline font size of WooCommerce's order-confirmation heading patterns, and against its !important
 * notice link colour on the error notice.
 */

/* ---------- Shared: separators, form fields, selection controls ---------- */
:is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout, .wc-block-mini-cart__drawer, .reflect-order-confirmation) {
	--wc-separator-color: var(--wp--preset--color--palette-color-5);
}

body .wc-block-components-text-input.wc-block-components-text-input input:is([type="email"], [type="number"], [type="tel"], [type="text"], [type="url"], [type="password"], [type="date"]),
body .wc-blocks-components-select.wc-blocks-components-select .wc-blocks-components-select__select,
body .wc-block-components-textarea.wc-block-components-textarea {
	color: var(--wp--preset--color--palette-color-3);
	background-color: transparent;
	border: var(--wp--custom--form--border);
	border-radius: var(--wp--custom--form--radius);
	padding-inline: 15px;
	letter-spacing: inherit;
	box-shadow: none;
}
body .wc-block-components-text-input.wc-block-components-text-input input:focus,
body .wc-blocks-components-select.wc-blocks-components-select .wc-blocks-components-select__select:focus,
body .wc-block-components-textarea.wc-block-components-textarea:focus {
	border-color: var(--wp--custom--form--border-focus-color);
	box-shadow: none;
	outline: 2px solid var(--wp--preset--color--palette-color-1);
	outline-offset: 2px;
}
body .wc-block-components-text-input.wc-block-components-text-input.has-error input { border-color: #cc1818; }
body .wc-blocks-components-select.wc-blocks-components-select .wc-blocks-components-select__container { background: transparent; }
body .wc-block-components-text-input.wc-block-components-text-input label,
body .wc-blocks-components-select.wc-blocks-components-select .wc-blocks-components-select__label {
	left: 16px;
	color: var(--wp--preset--color--palette-color-3);
	opacity: 0.8; /* Blocksy used 0.6, which fails WCAG AA contrast on the sand background */
}
body :is(.wc-block-components-text-input, .wc-blocks-components-select).has-error.has-error label { opacity: 1; } /* red error label at full contrast */
/* Order note: WooCommerce height and 16px text, not the theme's 170px textarea. */
body .wc-block-components-textarea.wc-block-components-textarea { min-height: 0; font-size: var(--wp--preset--font-size--16); line-height: 1.65; padding-block: 12px; }

body .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
body .wc-block-components-radio-control .wc-block-components-radio-control__input {
	background: transparent;
	border-color: var(--wp--preset--color--palette-color-5);
}
body .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked,
body .wc-block-components-radio-control .wc-block-components-radio-control__input:checked { background: transparent; border-color: var(--wp--preset--color--palette-color-1); }
body .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before { background: var(--wp--preset--color--palette-color-1); }
body .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--wp--preset--color--palette-color-1); }
body .wc-block-components-radio-control--highlight-checked :is(.wc-block-components-radio-control-accordion-option--checked-option-highlighted, label.wc-block-components-radio-control__option--checked-option-highlighted) {
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--palette-color-1);
}

/* Visible keyboard focus where WooCommerce gives none (delivery toggle) or a 1px ring (radios, checkboxes). */
body .wc-block-checkout__shipping-method-option:focus-visible,
body .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:focus-visible,
body .wc-block-components-radio-control .wc-block-components-radio-control__input:focus-visible {
	outline: 2px solid var(--wp--preset--color--palette-color-1);
	outline-offset: 2px;
}

/* Quantity stepper: the base form-control padding and height must not reach its number field. */
body .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	min-height: var(--wp--custom--form--field-height);
	padding: 0;
	border: 0;
	background: transparent;
	letter-spacing: inherit;
}
.wc-block-components-quantity-selector__button { line-height: 1.65; }

/* Primary actions: Blocksy large buttons. */
body .wc-block-cart__submit-button.wc-block-cart__submit-button,
body .wc-block-mini-cart__footer-actions .wc-block-components-button:not(.is-link) { min-height: 45px; }
body .wc-block-components-checkout-place-order-button.wc-block-components-checkout-place-order-button {
	min-height: 45px;
	padding: 18px 30px;
	line-height: 1.3;
}

/* ---------- Cart ---------- */
.wc-block-cart-items :is(th, td) { box-sizing: border-box; } /* Blocksy border-box: 64px thumbnails in an 80px column */
.wc-block-cart .wc-block-components-totals-footer-item :is(.wc-block-components-totals-item__label, .wc-block-components-totals-item__value),
.wc-block-checkout .wc-block-components-totals-footer-item :is(.wc-block-components-totals-item__label, .wc-block-components-totals-item__value) {
	font-size: var(--wp--preset--font-size--16);
	line-height: 1.4;
}
.wc-block-cart-item__remove-link { margin-inline-start: 0; }

/* Line items below 920px container width: WooCommerce fixes the product column at 132px and keeps the sale badge
   ("Εξοικονομήστε 20,70 €") on one line, so the total column runs past the viewport at 390px (Blocksy has the
   same defect). Here the product column takes the free space and the badge wraps under the price. */
body :is(.is-mobile, .is-small) table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 80px minmax(0, 1fr) auto; }
body :is(.is-mobile, .is-small) table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product { grid-column: 2 / 3; }
body :is(.is-mobile, .is-small) table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total { grid-column: 3; max-width: 7.5em; }
:is(.is-mobile, .is-small) .wc-block-cart-item__total .wc-block-components-sale-badge,
.wc-block-components-order-summary-item__total-price .wc-block-components-sale-badge {
	white-space: normal;
	text-align: end;
	max-width: 100%;
}

/* Empty cart: "Τελευταίες Αφίξεις" (legacy Newest Products grid). Plain card links, as Blocksy. */
.wc-block-cart__empty-cart__title { font-size: var(--wp--preset--font-size--16); }
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product :is(.wc-block-grid__product-price, .wp-block-button__link) { text-decoration: none; }
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link { text-decoration: underline; }
/* Sale price first, then the smaller struck regular price (as the shop cards). */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .4em; }
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price ins { order: 1; text-decoration: none; background: none; }
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price del { order: 2; font-size: .8em; } /* no opacity: 4.5:1 on palette 9 */
/* WordPress adds sizes="auto" to lazy images in block themes; inside WooCommerce's inline-block card link the image
   then takes core's 3000x1500 contain-intrinsic-size. A block-level link gives it the card width, as under Blocksy. */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product :is(.wc-block-grid__product-link, .wc-block-grid__product-image) { display: block; }
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img { contain-intrinsic-size: auto 300px auto 300px; }

/* ---------- Checkout ---------- */
.wc-block-checkout .wc-block-components-order-summary-item__quantity {
	font-size: 10px;
	font-weight: 600;
	color: var(--wp--preset--color--palette-color-8);
	background: var(--wp--preset--color--palette-color-1);
	border: 0;
	box-shadow: none;
}
.wc-block-checkout__terms a { text-decoration: underline; } /* links in running text need more than colour (WCAG 1.4.1) */
.wc-block-checkout__terms a:hover { color: var(--wp--preset--color--palette-color-2); }

/* ---------- Notices (store notices, block notices, validation) ---------- */
body .wc-block-components-notice-banner:is(.is-info, .is-success, .is-error, .is-warning) {
	margin: 0 0 2rem;
	border: 0;
	border-radius: 5px;
	color: var(--wp--preset--color--palette-color-3);
	background-color: var(--wp--preset--color--notice);
	font-size: var(--wp--preset--font-size--15);
}
body .wc-block-components-notice-banner.is-error.is-error { color: var(--wp--preset--color--palette-color-8); background-color: var(--wp--preset--color--error-button); }
body .wc-block-components-notice-banner:is(.is-info, .is-success, .is-error, .is-warning) > svg { fill: var(--wp--preset--color--palette-color-8); background-color: var(--wp--preset--color--palette-color-1); }
body .wc-block-components-notice-banner.is-error.is-error > svg { background-color: var(--wp--preset--color--error-button-hover); }
body .wc-block-components-notice-banner .wc-block-components-notice-banner__content a:not(.wc-forward) { color: inherit; text-decoration: underline; }
/* Notice action link: WooCommerce's own underlined link (its rules use !important). On phones it sits on its own
   line instead of floating beside, which broke words in the narrow text column. */
@media (max-width: 689.98px) {
	body .wc-block-components-notice-banner > .wc-block-components-notice-banner__content .wc-forward { float: none; display: block; width: fit-content; margin: 0 0 8px; }
}
/* Error notices: the darker error red keeps white text at AA contrast (Blocksy's 70% red gives 4.0:1);
   the action link must turn white as well, over WooCommerce's !important dark grey. */
body .wc-block-components-notice-banner.is-error > .wc-block-components-notice-banner__content .wc-forward { color: var(--wp--preset--color--palette-color-8) !important; opacity: 1; }
body .wc-block-components-notice-banner:focus { outline: none; } /* focused by script (tabindex -1), not operable */
.wc-block-components-validation-error { color: #cc1818; }
/* Site-wide store notice (WooCommerce > Customize > Store notice), Blocksy look. */
.woocommerce-store-notice, p.demo_store {
	font-size: var(--wp--preset--font-size--15);
	color: var(--wp--preset--color--palette-color-3);
	background: var(--wp--preset--color--notice);
}
.woocommerce-store-notice a { color: inherit; text-decoration: underline; }

/* ---------- Mini-Cart drawer ---------- */
.wc-block-mini-cart__drawer :is(.wc-block-mini-cart__template-part, .wp-block-woocommerce-mini-cart-contents.wp-block-woocommerce-mini-cart-contents) { background-color: var(--wp--preset--color--palette-color-8); }
.wc-block-mini-cart__drawer .wc-block-components-drawer__close:focus-visible { outline: 2px solid var(--wp--preset--color--palette-color-1); outline-offset: -2px; box-shadow: none; }
.wc-block-components-drawer { box-shadow: var(--wp--preset--shadow--panel); }
/* WooCommerce only fades the closed drawer, so its links stay in the tab order: hide it once the 0.3s fade ends. */
.wc-block-components-drawer__screen-overlay.wc-block-components-drawer__screen-overlay--is-hidden { visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
/* Over WooCommerce's h2 rule (24px); the padding keeps the title clear of the close button. */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title { padding-right: 40px; font-size: var(--wp--preset--font-size--20); font-weight: 700; color: var(--wp--preset--color--palette-color-4); }
.wc-block-mini-cart__drawer .wc-block-components-product-name { color: var(--wp--preset--color--palette-color-1); font-size: var(--wp--preset--font-size--15); }
.wc-block-mini-cart__drawer .wc-block-components-product-name:hover { color: var(--wp--preset--color--palette-color-2); }
body .wc-block-mini-cart__footer-actions .wc-block-components-button.outlined {
	color: var(--wp--preset--color--palette-color-1);
	border: 1px solid var(--wp--preset--color--palette-color-1);
	background: transparent;
}
body .wc-block-mini-cart__footer-actions .wc-block-components-button.outlined:hover {
	color: var(--wp--preset--color--palette-color-8);
	border-color: var(--wp--preset--color--palette-color-2);
	background: var(--wp--preset--color--palette-color-2);
}
.wc-block-mini-cart__badge { font-size: var(--wp--preset--font-size--10); }

/* ---------- Account (classic [woocommerce_my_account] output) ---------- */
.woocommerce-account main.reflect-main .woocommerce { max-width: none; }
.woocommerce-account .woocommerce :is(form.login, form.register) { margin: 0; padding: 0; border: 0; border-radius: 0; }
.woocommerce-account #customer_login.col2-set { display: grid; }
.woocommerce-account #customer_login.col2-set::before, .woocommerce-account #customer_login.col2-set::after { display: none; }
.woocommerce-account #customer_login > :is(.u-column1, .u-column2) { float: none; width: auto; max-width: none; }
.woocommerce-account #customer_login h2 { font-size: var(--wp--preset--font-size--20); line-height: 1.2; margin: 0 0 20px; }
@media (min-width: 690px) {
	.woocommerce-account #customer_login.col2-set { grid-template-columns: 1fr 1fr; }
	.woocommerce-account #customer_login > .u-column1 { padding-inline-end: 40px; border-inline-end: 1px dashed var(--wp--preset--color--palette-color-5); }
	.woocommerce-account #customer_login > .u-column2 { padding-inline-start: 40px; }
}
@media (max-width: 689.98px) {
	.woocommerce-account #customer_login > .u-column1 { padding-bottom: 30px; border-bottom: 1px dashed var(--wp--preset--color--palette-color-5); }
	.woocommerce-account #customer_login > .u-column2 { padding-top: 30px; }
}
/* Lost / reset password form alone, centred as in Blocksy. */
.woocommerce-account .woocommerce > :is(.woocommerce-form-login, .woocommerce-ResetPassword) { max-width: 450px; margin-inline: auto; }

.woocommerce-account .woocommerce form .form-row { margin: 0 0 var(--wp--custom--content-spacing); padding: 0; }
.woocommerce-account .woocommerce form .form-row label { font-size: var(--wp--preset--font-size--14); font-weight: 500; line-height: 1.65; margin: 0 0 7px; }
.woocommerce-account .woocommerce form .form-row .required { color: red; text-decoration: none; }
.woocommerce-account .woocommerce form .form-row :is(input.input-text, select, textarea) {
	box-sizing: border-box;
	width: 100%;
	min-height: var(--wp--custom--form--field-height);
	padding: 0 15px;
	font-size: var(--wp--preset--font-size--16);
	line-height: 1.65;
	letter-spacing: inherit;
	color: var(--wp--preset--color--palette-color-3);
	background-color: transparent;
	border: var(--wp--custom--form--border);
	border-radius: var(--wp--custom--form--radius);
}
.woocommerce-account .woocommerce form .form-row textarea { min-height: var(--wp--custom--form--textarea-height); padding-block: 10px; }
.woocommerce-account .woocommerce form .form-row :is(input.input-text, select, textarea):focus { border-color: var(--wp--custom--form--border-focus-color); }
.woocommerce-account .woocommerce .select2-container .select2-selection--single { height: var(--wp--custom--form--field-height); border: var(--wp--custom--form--border); border-radius: var(--wp--custom--form--radius); background: transparent; }
.woocommerce-account .woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 25px 0 15px; line-height: 38px; }
.woocommerce-account .woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__arrow { height: 38px; }
.woocommerce-account .woocommerce input[type="checkbox"] { accent-color: var(--wp--preset--color--palette-color-1); width: 16px; height: 16px; margin: 0 9px 0 0; vertical-align: -2px; }
.woocommerce-account .woocommerce form .form-row .woocommerce-form-login__rememberme { display: block; margin: 0 0 21px; font-size: var(--wp--preset--font-size--14); font-weight: 500; }
.woocommerce-account .woocommerce form .form-row .woocommerce-form-login__submit { float: none; margin: 0; }
.woocommerce-account .woocommerce .lost_password { font-size: var(--wp--preset--font-size--14); margin: var(--wp--custom--content-spacing) 0 0; }
.woocommerce-account .woocommerce .lost_password a { text-decoration: underline; }
.woocommerce-account .woocommerce-privacy-policy-text p { margin: 0 0 24px; }
.woocommerce-account .woocommerce .password-input .show-password-input { top: 50%; transform: translateY(-50%); }
.woocommerce-account .woocommerce .button { min-height: var(--wp--custom--button--min-height); }

/* Logged-in layout: navigation card beside the content. */
@media (min-width: 690px) {
	.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { display: flex; align-items: flex-start; gap: 30px; }
	.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation { flex: 0 0 auto; width: 20%; min-width: 220px; }
}
@media (max-width: 689.98px) {
	.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation { margin-bottom: 30px; }
}
.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation {
	float: none;
	overflow: hidden;
	border-radius: 5px;
	box-shadow: var(--wp--preset--shadow--card);
	background: var(--wp--preset--color--palette-color-8);
}
.woocommerce-account .woocommerce > .woocommerce-MyAccount-content { float: none; flex: 1; width: auto; min-width: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; font-size: var(--wp--preset--font-size--15); }
.woocommerce-account .woocommerce-MyAccount-navigation li { padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	min-height: 55px;
	padding: 0 20px;
	font-weight: 500;
	line-height: 1.65;
	color: var(--wp--preset--color--palette-color-3);
	text-decoration: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation li:not(:last-child) a { border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.woocommerce-account .woocommerce-MyAccount-navigation li:is(:hover, .is-active) a { color: var(--wp--preset--color--palette-color-8); background: var(--wp--preset--color--palette-color-1); text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:focus-visible { outline-offset: -3px; outline-color: var(--wp--preset--color--palette-color-2); }
.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
	content: "";
	flex: 0 0 16px;
	height: 16px;
	margin-inline-end: 19px;
	background: currentColor;
	-webkit-mask: var(--reflect-account-icon) center / contain no-repeat;
	mask: var(--reflect-account-icon) center / contain no-repeat;
}
.woocommerce-MyAccount-navigation-link--dashboard { --reflect-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3zm2 2v4h4V5zm8-2h8v8h-8zm2 2v4h4V5zM3 13h8v8H3zm2 2v4h4v-4zm8-2h8v8h-8zm2 2v4h4v-4z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders { --reflect-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7V6a5 5 0 0 1 10 0v1h4v15H3V7zm2 0h6V6a3 3 0 0 0-6 0zM5 9v11h14V9zm4 2h2v2H9zm4 0h2v2h-2z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--downloads { --reflect-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 3h2v9.6l3.3-3.3 1.4 1.4-5.7 5.7-5.7-5.7 1.4-1.4 3.3 3.3zM4 18h16v2H4z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address { --reflect-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 2 12h3v9h6v-6h2v6h6v-9h3zm5 16h-2v-6H9v6H7v-8.2l5-4.5 5 4.5z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--payment-methods { --reflect-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2h10l5 5v15H5zm2 2v16h11V8h-4V4zm2 7h7v2H9zm0 4h7v2H9z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account { --reflect-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0-2a3 3 0 1 1 0-6 3 3 0 0 1 0 6zM3 22a9 9 0 0 1 18 0h-2a7 7 0 0 0-14 0z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout { --reflect-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3H3v18h7v-2H5V5h5zm5.6 4.6L14.2 9l2 2H8v2h8.2l-2 2 1.4 1.4L20 12z'/%3E%3C/svg%3E"); }

.woocommerce-account .woocommerce-MyAccount-content > :is(h2, h3):first-child { margin-top: 0; }
.woocommerce-account .woocommerce-MyAccount-content :is(h2, h3) { font-size: 18px; }
.woocommerce-account .woocommerce-MyAccount-content p { margin-block: 0 var(--wp--custom--content-spacing); }
.woocommerce-account .woocommerce-MyAccount-content em { font-size: 13px; opacity: 0.8; }
.woocommerce-account .woocommerce-MyAccount-content fieldset { margin: 0 0 2em; padding: 30px; border: 1px dashed var(--wp--preset--color--palette-color-5); }
.woocommerce-account .woocommerce-MyAccount-content legend { font-size: var(--wp--preset--font-size--14); font-weight: 600; padding: 0 15px; margin-left: -15px; }
.woocommerce-account .woocommerce-MyAccount-content fieldset .form-row:last-child { margin-bottom: 0; }

/* Addresses */
.woocommerce-account .woocommerce-Addresses { display: grid; gap: 2em 30px; }
@media (min-width: 690px) { .woocommerce-account .woocommerce-Addresses { grid-template-columns: repeat(2, 1fr); } }
.woocommerce-account .woocommerce-Addresses::before, .woocommerce-account .woocommerce-Addresses::after { display: none; }
.woocommerce-account .woocommerce-Addresses > .woocommerce-Address { float: none; width: auto; max-width: none; padding: 1.5em; border-radius: 5px; border: 1px dashed var(--wp--preset--color--palette-color-5); }
.woocommerce-account .woocommerce-Address-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 1em; margin-bottom: 20px; }
.woocommerce-account .woocommerce-Address-title :is(h2, h3) { font-size: var(--wp--preset--font-size--16); margin: 0; }
.woocommerce-account .woocommerce-Address-title .edit { display: inline; margin: 0; font-size: var(--wp--preset--font-size--15); }
.woocommerce-account .woocommerce-Address address { font-size: var(--wp--preset--font-size--15); font-style: normal; opacity: 0.8; }

/* Tables: orders, downloads, view order (Blocksy shop_table) */
.woocommerce-account .woocommerce table.shop_table {
	margin: 0 0 2em;
	border: 0;
	border-radius: 0;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--15);
}
.woocommerce-account .woocommerce table.shop_table :is(th, td) {
	padding: 1em 0.7em;
	border: 0;
	border-bottom: 1px dashed var(--wp--preset--color--palette-color-5);
	vertical-align: top;
	text-align: start;
	font-weight: 400;
}
.woocommerce-account .woocommerce table.shop_table thead th { border-bottom: 2px solid var(--wp--preset--color--palette-color-5); color: var(--wp--preset--color--palette-color-4); font-weight: 600; }
.woocommerce-account .woocommerce table.shop_table tr > :first-child { padding-inline-start: 0; }
.woocommerce-account .woocommerce table.shop_table tr > :last-child { padding-inline-end: 0; }
.woocommerce-account .woocommerce table.shop_table tfoot td { font-weight: 600; }
.woocommerce-account .woocommerce table.shop_table a:not(.button) { font-weight: 500; color: var(--wp--preset--color--palette-color-3); }
.woocommerce-account .woocommerce table.shop_table td :is(.button, .woocommerce-button) { display: inline-flex; align-items: center; justify-content: center; margin: 0 10px 10px 0; padding: 0 20px; }
@media (min-width: 690px) {
	.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions .button { display: flex; width: 100%; margin: 0 0 10px; }
	.woocommerce-account .woocommerce .woocommerce-orders-table__header-order-actions { width: 20%; }
}
.woocommerce-account .woocommerce table.shop_table td .button:last-child { margin-bottom: 0; }

/* Order details: customer addresses */
:is(.woocommerce-account, .reflect-order-confirmation) .woocommerce-customer-details .col2-set { display: grid; gap: 2em 30px; }
@media (min-width: 690px) { :is(.woocommerce-account, .reflect-order-confirmation) .woocommerce-customer-details .col2-set { grid-template-columns: repeat(2, 1fr); } }
:is(.woocommerce-account, .reflect-order-confirmation) .woocommerce-customer-details .col2-set > * { float: none; width: auto; max-width: none; }
:is(.woocommerce-account, .reflect-order-confirmation) .woocommerce-customer-details .col2-set::before,
:is(.woocommerce-account, .reflect-order-confirmation) .woocommerce-customer-details .col2-set::after { display: none; }
:is(.woocommerce-account, .reflect-order-confirmation) .woocommerce-customer-details :is(h2, h3) { font-size: var(--wp--preset--font-size--16); }
.woocommerce-page .woocommerce-customer-details address {
	width: auto;
	padding: 1.5em;
	font-size: var(--wp--preset--font-size--15);
	font-style: normal;
	border: 1px dashed var(--wp--preset--color--palette-color-5);
	border-radius: 5px;
}

/* ---------- Order confirmation (native blocks) ---------- */
.reflect-order-confirmation .wc-block-order-confirmation-status h1 { font-size: var(--wp--preset--font-size--30); line-height: 1.3; margin: 0 0 10px; }
.reflect-order-confirmation .wc-block-order-confirmation-status p { font-size: var(--wp--preset--font-size--16); margin: 0; }
.reflect-order-confirmation .wc-block-order-confirmation-summary-list { font-size: var(--wp--preset--font-size--15); }
.reflect-order-confirmation .wc-block-order-confirmation-additional-information .wc-bacs-bank-details-heading { font-size: var(--wp--preset--font-size--16); margin-bottom: 10px; }
.reflect-order-confirmation .wc-block-order-confirmation-additional-information .wc-bacs-bank-details-account-name { font-size: var(--wp--preset--font-size--20); margin: 0 0 10px; }
.reflect-order-confirmation .wc-block-order-confirmation-additional-information ul { font-size: var(--wp--preset--font-size--15); }
.reflect-order-confirmation :is(.wc-block-order-confirmation-totals-wrapper, .wc-block-order-confirmation-downloads-wrapper) > .wp-block-heading,
.reflect-order-confirmation .wc-block-order-confirmation-address-wrapper .wp-block-heading,
.reflect-order-confirmation .wc-block-order-confirmation-additional-fields-wrapper > .wp-block-heading { font-size: var(--wp--preset--font-size--16) !important; margin-bottom: 15px; }
.reflect-order-confirmation .wc-block-order-confirmation-totals table {
	border: 0;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--15);
}
.reflect-order-confirmation .wc-block-order-confirmation-totals table :is(th, td) {
	padding: 1em 0.7em;
	border: 0;
	border-bottom: 1px dashed var(--wp--preset--color--palette-color-5);
	font-weight: 400;
}
.reflect-order-confirmation .wc-block-order-confirmation-totals table thead th { border-bottom: 2px solid var(--wp--preset--color--palette-color-5); color: var(--wp--preset--color--palette-color-4); }
.reflect-order-confirmation .wc-block-order-confirmation-totals table tr > :first-child { padding-inline-start: 0; }
.reflect-order-confirmation .wc-block-order-confirmation-totals table tr > :last-child { padding-inline-end: 0; }
.reflect-order-confirmation .wc-block-order-confirmation-totals table a { color: var(--wp--preset--color--palette-color-3); font-weight: 500; }
.reflect-order-confirmation .wc-block-order-confirmation-totals .wc-block-order-confirmation-order-note { border: 1px dashed var(--wp--preset--color--palette-color-5); border-radius: 5px; }
.reflect-order-confirmation :is(.wc-block-order-confirmation-billing-address, .wc-block-order-confirmation-shipping-address) {
	padding: 1.5em;
	font-size: var(--wp--preset--font-size--15);
	border: 1px dashed var(--wp--preset--color--palette-color-5);
	border-radius: 5px;
}
