/*
 * Block checkout, Regroup skin. See inc/checkout-block.php.
 *
 * Woo's Checkout block owns the structure; this file only dresses it, so a Woo
 * update changes behaviour, never the look. Everything is scoped to
 * body.rg-block-checkout.
 *
 * Type follows the site's measured roles: Graphik Condensed for the page title
 * only, Matter for reading and for what the customer types, MatterMono Medium
 * (never under 14px) for labels, step names, buttons and money. Options are
 * outlined cards and the selected one takes a heavier ink border, as on the
 * build sheet. Validation is the house note: mustard, arrow-led, under a ringed
 * field — never red.
 *
 * Two families of older rules reach in from style.css and are answered here:
 * `body input[type=text]…` (1px ink border, 14px, 4px radius) and the classic
 * checkout's `body.woocommerce-checkout input, select { width: 100% }`, which
 * would otherwise stretch every checkbox and radio. The theme also forces the
 * display face onto h1–h5 with !important; the block's step titles are h2s, so
 * they need !important back.
 */

body.rg-block-checkout {
	/* The site's own chrome (measured 2026-09-29 on the bike page, contact flow
	   and style.css): ink #1c1c1c, cream ground, fields transparent with a 1px
	   ink border, 4px corners on anything boxy, pills for buttons, 1px ink
	   rules to frame a section — no raised panels, no off-white fills. */
	--rg-ink: #1c1c1c;
	--rg-muted: #6e6a64;
	--rg-cream: #F8F5F0;
	--rg-card: transparent;
	--rg-hair: rgba(28, 28, 28, 0.2);
	--rg-field: #1c1c1c;
	--rg-radius: 4px;
	--rg-note: #876850;
	--rg-mono: 'MatterMonoMedium', 'MatterMonoRegular', ui-monospace, monospace;
	--rg-sans: 'MatterRegular', system-ui, sans-serif;
	--rg-sans-bold: 'MatterSemiBold', 'MatterRegular', system-ui, sans-serif;
}
/* Cream on the content only. The body is the site's dark ground and the footer
   sits on it with no background of its own — painting the body cream turned
   the footer cream-on-cream. */
body.rg-block-checkout .site-main {
	background: var(--rg-cream);
	color: var(--rg-ink);
}

/* ---------- page frame ---------- */

/* The site's header bands are translucent so photography shows through them
   (style.css: rgba(28,28,28,.5), .75 once scrolled). On a cream page that
   reads as washed-out grey, so here they're the solid house black. */
body.rg-block-checkout div.mainmenu,
body.rg-block-checkout div.breadcrumbs,
body.rg-block-checkout.scroll div.mainmenu,
body.rg-block-checkout.scroll div.breadcrumbs {
	background: #1c1c1c;
}

body.rg-block-checkout .site-main {
	padding: 56px 48px 120px;
	box-sizing: border-box;
}
/* Left edge on the header's 48px gutter; the content stops growing at 1344. */
body.rg-block-checkout .site-main > article { max-width: 1344px; }
body.rg-block-checkout .site-main > article { margin: 0; }

body.rg-block-checkout .entry-header { margin: 0 0 36px; }
body.rg-block-checkout .entry-header .entry-title {
	margin: 0;
	font-size: 56px !important; /* card-head scale; 96px shouted (Pete) */
	line-height: 0.9;
	text-transform: uppercase;
	color: var(--rg-ink);
}
body.rg-block-checkout .entry-content { margin: 0; }
body.rg-block-checkout .entry-footer { display: none; }

body.rg-block-checkout .wp-block-woocommerce-checkout {
	font-family: var(--rg-sans);
	font-size: 16px;
	color: var(--rg-ink);
	margin: 0;
	padding: 0;
}

/* Two columns: the form, then the order card. */
body.rg-block-checkout .wc-block-components-sidebar-layout.is-large {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: clamp(32px, 5vw, 72px);
	margin: 0;
}
body.rg-block-checkout .wc-block-components-sidebar-layout.is-large .wc-block-components-main {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	padding: 0;
}
body.rg-block-checkout .wc-block-components-sidebar-layout.is-large .wc-block-components-sidebar {
	/* 460 on a wide screen, narrower as the column shrinks, so the form or the
	   line items keep the room (Woo calls a ~880px container "large" too). */
	flex: 0 0 clamp(320px, 34%, 460px);
	width: auto;
	padding: 0;
	position: sticky;
	top: calc(var(--rg-header-h, 96px) + 24px);
}

/* ---------- steps ---------- */

body.rg-block-checkout .wc-block-checkout__form { counter-reset: rg-step; margin: 0; }

body.rg-block-checkout .wc-block-components-checkout-step {
	position: relative;
	margin: 0;
	padding: 26px 0 34px;
	border-top: 1px solid var(--rg-ink);
}
body.rg-block-checkout .wc-block-components-checkout-step::after { display: none; } /* Woo's step rail */
body.rg-block-checkout .wc-block-components-checkout-step__heading-container { margin: 0 0 18px; }
body.rg-block-checkout .wc-block-components-checkout-step__heading {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
}
body.rg-block-checkout h2.wc-block-components-checkout-step__title,
body.rg-block-checkout .wc-block-components-checkout-step__title {
	margin: 0 !important;
	font-family: var(--rg-mono) !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rg-ink);
}
body.rg-block-checkout .wc-block-components-checkout-step__title::before {
	counter-increment: rg-step;
	content: counter(rg-step, decimal-leading-zero);
	display: inline-block;
	margin-right: 14px;
	color: var(--rg-muted);
}
body.rg-block-checkout .wc-block-components-checkout-step__heading-content {
	margin-left: auto;
	font-size: 16px;
}
body.rg-block-checkout .wc-block-components-checkout-step__description {
	margin: -6px 0 16px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--rg-muted);
}
body.rg-block-checkout .wc-block-components-checkout-step__container,
body.rg-block-checkout .wc-block-components-checkout-step__content { padding: 0; margin: 0; }

/* ---------- fields ---------- */

body.rg-block-checkout .wc-block-components-address-form,
body.rg-block-checkout .wc-block-components-address-form__row { gap: 12px; }

body.rg-block-checkout .wc-block-components-text-input,
body.rg-block-checkout .wc-blocks-components-select,
body.rg-block-checkout .wc-block-components-address-form > * {
	margin-top: 0 !important;
	margin-bottom: 12px !important;
}
body.rg-block-checkout .wc-block-components-text-input { position: relative; }

body.rg-block-checkout .wc-block-components-text-input input[type],
body.rg-block-checkout .wc-block-components-textarea,
body.rg-block-checkout .wc-blocks-components-select .wc-blocks-components-select__select {
	width: 100%;
	height: 66px;
	box-sizing: border-box;
	margin: 0;
	padding: 30px 16px 8px !important; /* Woo re-pads .is-active fields */
	border: 1px solid var(--rg-field);
	border-radius: var(--rg-radius);
	background: var(--rg-card);
	box-shadow: none;
	outline: none;
	font-family: var(--rg-sans) !important;
	font-size: 17px;
	line-height: 1.3;
	color: var(--rg-ink);
	appearance: none;
}
body.rg-block-checkout .wc-block-components-textarea { height: 120px; padding-top: 16px !important; resize: vertical; }
body.rg-block-checkout .wc-block-components-text-input input[type]:focus,
body.rg-block-checkout .wc-block-components-textarea:focus,
body.rg-block-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--rg-ink);
	box-shadow: 0 0 0 1px var(--rg-ink);
}
body.rg-block-checkout .wc-blocks-components-select .wc-blocks-components-select__container {
	height: auto;
	border: 0;
	background: none;
	box-shadow: none;
}

/* Labels sit in the top of the field at all times — a label that moves is one
   more thing to read. */
body.rg-block-checkout .wc-block-components-text-input label,
body.rg-block-checkout .wc-blocks-components-select .wc-blocks-components-select__label {
	position: absolute;
	top: 11px;
	left: 17px;
	right: 17px;
	margin: 0;
	transform: none !important;
	font-family: var(--rg-mono);
	font-size: 14px !important;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rg-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
}
body.rg-block-checkout .wc-blocks-components-select .wc-blocks-components-select__expand {
	right: 16px;
	fill: var(--rg-ink);
}

/* "+ Add apartment, suite, etc." */
body.rg-block-checkout .wc-block-components-address-form__address_2-toggle {
	margin: 0 0 12px;
	padding: 4px 0;
	font-family: var(--rg-sans);
	font-size: 16px;
	color: var(--rg-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- checkboxes ---------- */

body.rg-block-checkout .wc-block-components-checkbox { margin: 14px 0 0; }
body.rg-block-checkout .wc-block-components-checkbox label {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	cursor: pointer;
}
body.rg-block-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	position: static;
	top: auto;
	width: 22px;
	min-width: 22px;
	height: 22px;
	margin: 0;
	padding: 0;
	border: 1.5px solid var(--rg-ink);
	border-radius: 2px;
	background: transparent;
	box-shadow: none;
}
body.rg-block-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--rg-ink); }
body.rg-block-checkout .wc-block-components-checkbox .wc-block-components-checkbox__mark {
	left: 3px;
	top: 50%;
	margin-top: -8px;
	width: 16px;
	height: 16px;
	fill: var(--rg-cream);
}
body.rg-block-checkout .wc-block-components-checkbox .wc-block-components-checkbox__label {
	font-size: 16px;
	line-height: 1.4;
}

/* ---------- option cards: shipping rates, payment methods ---------- */

body.rg-block-checkout .wc-block-components-radio-control {
	display: flex;
	flex-direction: column;
	gap: 10px;
	border: 0;
	box-shadow: none;
}
body.rg-block-checkout .wc-block-components-radio-control--highlight-checked::after,
body.rg-block-checkout .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option::after,
body.rg-block-checkout .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option::after {
	display: none; /* Woo's joined-group outline */
}

body.rg-block-checkout .wc-block-components-radio-control__option,
body.rg-block-checkout .wc-block-components-radio-control-accordion-option {
	margin: 0 !important;
	border: 1px solid var(--rg-hair);
	border-radius: var(--rg-radius);
	background: var(--rg-card);
	box-shadow: none;
}
body.rg-block-checkout .wc-block-components-radio-control__option {
	padding: 18px 18px 18px 54px;
	cursor: pointer;
}
body.rg-block-checkout .wc-block-components-radio-control__option:hover { border-color: var(--rg-ink); }
body.rg-block-checkout .wc-block-components-radio-control__option-checked,
body.rg-block-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.rg-block-checkout .wc-block-components-radio-control-accordion-option:has(.wc-block-components-radio-control__option-checked) {
	border-color: var(--rg-ink);
	box-shadow: inset 0 0 0 1px var(--rg-ink);
}
/* Inside an accordion card the option is the card's first row, not a card. */
body.rg-block-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
	border: 0;
	box-shadow: none;
	background: none;
}
body.rg-block-checkout .wc-block-components-radio-control-accordion-content { padding: 0 18px 18px 54px; }

body.rg-block-checkout .wc-block-components-radio-control__input {
	position: absolute;
	left: 18px;
	top: 20px; /* on the first line, so a card that opens keeps its dot in place */
	width: 20px;
	min-width: 20px;
	height: 20px;
	margin: 0;
	transform: none;
	border: 1.5px solid var(--rg-ink);
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
}
body.rg-block-checkout .wc-block-components-radio-control__input:checked::before {
	width: 10px;
	height: 10px;
	margin: 0;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: var(--rg-ink);
}
body.rg-block-checkout .wc-block-components-radio-control__option-layout { gap: 3px; }
body.rg-block-checkout .wc-block-components-radio-control__label,
body.rg-block-checkout .wc-block-components-payment-method-label {
	font-family: var(--rg-sans-bold);
	font-size: 17px;
	line-height: 1.3;
}
body.rg-block-checkout .wc-block-components-radio-control__secondary-label {
	font-family: var(--rg-mono);
	font-size: 15px;
	letter-spacing: 0.04em;
}
body.rg-block-checkout .wc-block-components-radio-control__description,
body.rg-block-checkout .wc-block-components-radio-control__secondary-description {
	font-size: 15px;
	line-height: 1.45;
	color: var(--rg-muted);
}

/* ---------- Ship it / Pick up: one pill toggle ---------- */

body.rg-block-checkout .wc-block-checkout__shipping-method-container {
	display: flex;
	gap: 0;
	padding: 4px;
	border: 1px solid var(--rg-ink);
	border-radius: 999px;
}
body.rg-block-checkout .wc-block-checkout__shipping-method-option {
	flex: 1 1 0;
	min-height: 56px;
	margin: 0;
	padding: 0 18px;
	border: 0 !important;
	border-radius: 999px;
	background: transparent;
	box-shadow: none !important;
	color: var(--rg-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	cursor: pointer;
}
body.rg-block-checkout .wc-block-checkout__shipping-method-option--selected {
	background: var(--rg-ink);
	color: var(--rg-cream);
}
body.rg-block-checkout .wc-block-checkout__shipping-method-option-icon { display: none; }
body.rg-block-checkout .wc-block-checkout__shipping-method-option-title {
	margin: 0;
	font-family: var(--rg-mono);
	font-size: 16px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: inherit;
}
body.rg-block-checkout .wc-block-checkout__shipping-method-option-price {
	font-family: var(--rg-mono);
	font-size: 14px;
	color: inherit;
	opacity: 0.7;
}

/* ---------- express pay ---------- */

body.rg-block-checkout .wc-block-components-express-payment--checkout { margin: 0 0 8px; }
/* PayPal's button frame carries its own high z-index; contain it so it scrolls
   under the sticky header rather than over it (cart and checkout). */
body.rg-block-checkout .wc-block-components-express-payment,
body.rg-block-checkout .wp-block-woocommerce-cart-express-payment-block {
	position: relative;
	z-index: 0;
	isolation: isolate;
}
body.rg-block-checkout .wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container {
	display: none; /* the buttons say what they are */
}
body.rg-block-checkout .wc-block-components-express-payment--checkout .wc-block-components-express-payment__content {
	padding: 0;
	border: 0;
}
body.rg-block-checkout .wc-block-components-express-payment-continue-rule {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 22px 0 30px;
	font-family: var(--rg-sans);
	font-size: 15px;
	text-transform: none;
	color: var(--rg-muted);
}
body.rg-block-checkout .wc-block-components-express-payment-continue-rule::before,
body.rg-block-checkout .wc-block-components-express-payment-continue-rule::after {
	content: '';
	flex: 1;
	height: 1px;
	margin: 0;
	background: var(--rg-hair);
}

/* ---------- terms, place order ---------- */

body.rg-block-checkout .wc-block-checkout__terms {
	margin: 18px 0 16px;
	padding: 0;
	border: 0;
	font-size: 16px;
	line-height: 1.5;
}
body.rg-block-checkout .wc-block-checkout__terms a,
body.rg-block-checkout .wc-block-components-checkout-step a {
	color: var(--rg-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.rg-block-checkout .wc-block-checkout__actions { padding: 0; }
body.rg-block-checkout .wc-block-checkout__actions_row {
	display: flex;
	flex-direction: column-reverse;
	align-items: stretch;
	gap: 18px;
}
body.rg-block-checkout .wc-block-components-checkout-place-order-button,
body.rg-block-checkout .wc-block-components-checkout-place-order-button.wc-block-components-button:not(.is-link) {
	width: 100%;
	min-height: 64px;
	margin: 0;
	padding: 0 24px;
	border: 1px solid var(--rg-ink);
	border-radius: 999px;
	background: var(--rg-ink);
	color: var(--rg-cream);
	box-shadow: none;
	font-family: var(--rg-mono) !important;
	font-size: 19px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
}
body.rg-block-checkout .wc-block-components-checkout-place-order-button:hover { background: #333; border-color: #333; }
body.rg-block-checkout .wc-block-components-checkout-place-order-button:disabled { opacity: 0.5; }
body.rg-block-checkout .wc-block-components-checkout-return-to-cart-button {
	align-self: center;
	padding: 0;
	font-family: var(--rg-sans);
	font-size: 16px;
	color: var(--rg-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.rg-block-checkout .wc-block-components-checkout-return-to-cart-button svg { display: none; }

/* ---------- order card ---------- */

body.rg-block-checkout .wp-block-woocommerce-checkout-order-summary-block {
	margin: 0;
	padding: 26px 0 0;
	border: 0;
	border-top: 1px solid var(--rg-ink);
	border-radius: 0;
	background: none;
}
body.rg-block-checkout .wc-block-components-checkout-order-summary__title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0 0 18px;
	padding: 0;
	border: 0;
}
body.rg-block-checkout .wc-block-components-checkout-order-summary__title-text {
	margin: 0 !important; /* Woo indents it 16px */
	font-family: var(--rg-mono) !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
body.rg-block-checkout .wc-block-components-checkout-order-summary__title-price {
	font-family: var(--rg-mono);
	font-size: 16px;
}
body.rg-block-checkout .wc-block-components-order-summary { padding: 0; }
body.rg-block-checkout .wc-block-components-order-summary-item {
	display: flex;
	gap: 18px;
	padding: 0 0 22px;
	font-size: 15px;
}
body.rg-block-checkout .wc-block-components-order-summary-item__image {
	flex: 0 0 96px;
	width: 96px;
	padding: 0;
	margin: 0;
}
body.rg-block-checkout .wc-block-components-order-summary-item__image > img {
	width: 96px;
	height: 96px;
	max-width: none;
	object-fit: cover;
	border-radius: var(--rg-radius);
}
body.rg-block-checkout .wc-block-components-order-summary-item__quantity {
	border: 0;
	background: var(--rg-ink);
	color: var(--rg-cream);
	font-family: var(--rg-mono);
	font-size: 12px;
	box-shadow: none;
}
body.rg-block-checkout .wc-block-components-order-summary-item__description { padding: 0; flex: 1 1 auto; min-width: 0; }
body.rg-block-checkout .wc-block-components-order-summary-item .wc-block-components-product-name {
	/* The shop grid's product name (.productcardbold): MatterMono Medium,
	   uppercase, 1.8px tracking, at its 16px step. An h3, so the theme's
	   forced display face needs !important back. */
	margin: 0 !important;
	font-family: var(--rg-mono) !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: var(--rg-ink);
}
/* The product's short description is shop copy, not order detail. */
body.rg-block-checkout .wc-block-components-product-metadata__description { display: none; }
body.rg-block-checkout .wc-block-components-order-summary-item__individual-prices { display: none; }
/* Variation details: the grid card's secondary line (.productcardregular). */
body.rg-block-checkout .wc-block-components-product-metadata {
	margin-top: 6px;
	font-family: 'MatterMonoRegular', ui-monospace, monospace;
	font-size: 14px;
	line-height: 1.45;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: var(--rg-ink); /* was the grid's grey; too faint beside a price */
}
body.rg-block-checkout .wc-block-components-order-summary-item__total-price {
	font-family: var(--rg-mono);
	font-size: 16px;
	white-space: nowrap;
}

body.rg-block-checkout .wc-block-components-totals-wrapper {
	padding: 16px 0;
	border-top: 1px solid var(--rg-hair);
}
body.rg-block-checkout .wc-block-components-totals-wrapper:empty { display: none; }
body.rg-block-checkout .wc-block-components-totals-item { padding: 5px 0; }
/* Row labels in the house label voice (MatterMono, uppercase, tracked), so
   SUBTOTAL / SHIPPING / TAX carry the same weight as ESTIMATED TOTAL. */
body.rg-block-checkout .wc-block-components-totals-item__label {
	font-family: var(--rg-mono);
	font-size: 15px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rg-ink);
}
/* "Free shipping" under SHIPPING · FREE says the same thing twice; the
   Delivery choice below names the option. */
body.rg-block-checkout .wc-block-components-totals-shipping .wc-block-components-totals-item__description,
body.rg-block-checkout .wp-block-woocommerce-checkout-order-summary-shipping-block .wc-block-components-totals-item__description { display: none; }
body.rg-block-checkout .wc-block-components-totals-item__value {
	font-family: var(--rg-mono);
	font-size: 16px;
	letter-spacing: 0.02em;
}
body.rg-block-checkout .wc-block-components-totals-item__description {
	font-size: 15px;
	color: var(--rg-muted);
}
body.rg-block-checkout .wc-block-components-totals-footer-item {
	align-items: baseline;
	padding-top: 18px;
	border-top: 1px solid var(--rg-ink);
}
body.rg-block-checkout .wc-block-components-totals-wrapper:has(.wc-block-components-totals-footer-item) { border-top: 0; padding-bottom: 0; }
body.rg-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-family: var(--rg-mono);
	font-size: 18px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
body.rg-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--rg-mono);
	font-size: 28px;
}
body.rg-block-checkout .wc-block-components-totals-footer-item-tax { font-size: 14px; color: var(--rg-muted); }

/* "Add coupons" */
body.rg-block-checkout .wc-block-components-panel__button {
	margin: 0;
	padding: 6px 0;
	font-family: var(--rg-sans);
	font-size: 16px;
	color: var(--rg-ink);
}
body.rg-block-checkout .wc-block-components-panel__button-icon { fill: var(--rg-ink); }
body.rg-block-checkout .wc-block-components-totals-coupon__form { gap: 10px; }
body.rg-block-checkout .wc-block-components-totals-coupon__button {
	min-height: 66px;
	padding: 0 22px;
	border: 1px solid var(--rg-ink);
	border-radius: 999px;
	background: transparent;
	color: var(--rg-ink);
	font-family: var(--rg-mono);
	font-size: 16px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* ---------- notices and validation: the house note ---------- */

body.rg-block-checkout .wc-block-components-validation-error {
	margin: 6px 0 0;
	font-family: var(--rg-mono);
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rg-note);
}
body.rg-block-checkout .wc-block-components-validation-error svg { display: none; }
body.rg-block-checkout .wc-block-components-validation-error > p::before { content: '→ '; }
body.rg-block-checkout .has-error input[type],
body.rg-block-checkout .has-error .wc-blocks-components-select__select,
body.rg-block-checkout .has-error .wc-block-components-checkbox__input[type="checkbox"] {
	border-color: var(--rg-note) !important;
	box-shadow: 0 0 0 1px var(--rg-note) !important;
}
body.rg-block-checkout .has-error label { color: var(--rg-note) !important; }

body.rg-block-checkout .wc-block-components-notice-banner {
	margin: 0 0 18px;
	padding: 16px 18px;
	border: 1px solid var(--rg-note);
	border-radius: var(--rg-radius);
	background: var(--rg-card);
	color: var(--rg-ink);
	font-size: 16px;
	line-height: 1.5;
}
body.rg-block-checkout .wc-block-components-notice-banner > svg {
	background: none;
	fill: var(--rg-note);
}

/* ---------- order summary, wherever Woo puts it ---------- */

/* Woo repeats the summary above Place Order on narrow layouts, as a checkout
   step. It's a recap, not a step: no number, and one box rather than a box
   inside a box. */
body.rg-block-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-step__title::before,
body.rg-block-checkout .wc-block-checkout__order-summary-step .wc-block-components-checkout-step__title::before { content: none; }
body.rg-block-checkout .wc-block-components-checkout-order-summary__content,
body.rg-block-checkout .wc-block-components-order-summary .wc-block-components-panel__content {
	border: 0 !important;
	padding: 0 !important;
	box-shadow: none;
}
body.rg-block-checkout .wc-block-components-checkout-order-summary__title { padding: 0 !important; }
/* Woo pads summary rows 16px in from its own frame; ours already has the
   padding, so rows line up with the title instead. */
body.rg-block-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary,
body.rg-block-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item,
body.rg-block-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-coupon,
body.rg-block-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-panel__button {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* The recap above Place Order: Woo draws its own frame inside ours. */
body.rg-block-checkout .checkout-order-summary-block-fill {
	border: 0 !important;
	padding: 0 !important;
	background: none;
}

/* Names never break mid-word; they wrap between words like the grid's cards. */
body.rg-block-checkout .wc-block-components-order-summary-item .wc-block-components-product-name {
	word-break: normal !important;
	overflow-wrap: normal !important;
	hyphens: none;
}

/* Notes step has no heading: keep it from reading as an empty section. */
body.rg-block-checkout .wc-block-checkout__order-notes.wc-block-components-checkout-step {
	padding-top: 22px;
	padding-bottom: 6px;
}

/* Narrow layouts (Woo's own container classes, so this follows the column,
   not the viewport). */
body.rg-block-checkout .wc-block-components-sidebar-layout.is-mobile .wc-block-components-order-summary-item__image,
body.rg-block-checkout .wc-block-components-sidebar-layout.is-small .wc-block-components-order-summary-item__image { flex-basis: 64px; width: 64px; }
body.rg-block-checkout .wc-block-components-sidebar-layout.is-mobile .wc-block-components-order-summary-item__image > img,
body.rg-block-checkout .wc-block-components-sidebar-layout.is-small .wc-block-components-order-summary-item__image > img { width: 64px; height: 64px; }
body.rg-block-checkout .wc-block-components-sidebar-layout.is-mobile .wc-block-components-order-summary-item { gap: 14px; }
body.rg-block-checkout .wc-block-components-sidebar-layout.is-mobile .wc-block-components-order-summary-item .wc-block-components-product-name,
body.rg-block-checkout .wc-block-components-sidebar-layout.is-small .wc-block-components-order-summary-item .wc-block-components-product-name {
	font-size: 14px !important; /* the grid card's small step */
}
body.rg-block-checkout .wc-block-components-sidebar-layout.is-mobile .wc-block-components-radio-control-accordion-content { padding: 0 16px 16px; }
body.rg-block-checkout .wc-block-components-sidebar-layout.is-mobile .wc-block-components-checkout-order-summary__title { margin: 0; }
body.rg-block-checkout .wc-block-components-sidebar-layout.is-mobile .wc-block-components-checkout-order-summary__content { padding-top: 18px !important; }

/* The cart's title lives in its page content (editable in WordPress): a mono
   overline saying what the page is, then an editorial line. The theme's own
   entry title is hidden there so the page has one h1. */
body.rg-block-cart .entry-header { display: none; }
body.rg-block-checkout .rg-page-overline {
	margin: 0 0 10px;
	font-family: var(--rg-mono);
	font-size: 14px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rg-muted);
}
body.rg-block-checkout h1.rg-page-title {
	margin: 0 0 36px;
	font-size: 56px !important;
	line-height: 0.95;
	text-transform: uppercase;
	color: var(--rg-ink);
}
@media (max-width: 639px) {
	body.rg-block-checkout h1.rg-page-title { font-size: 40px !important; margin-bottom: 22px; }
}

/* ---------- delivery note (js/delivery-notes.js) ---------- */

body.rg-block-checkout .rg-delivery-note {
	margin: 18px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--rg-hair);
}
body.rg-block-checkout .rg-delivery-note .rg-delivery-note__label {
	margin: 0 0 8px;
	font-family: var(--rg-mono);
	font-size: 14px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rg-muted);
}
body.rg-block-checkout .rg-delivery-note p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--rg-ink);
}
body.rg-block-checkout .rg-delivery-note p + p { margin-top: 6px; }

/* Delivery choice on the cart (js/delivery-notes.js): the site's option card —
   4px, hairline, ink border when chosen. */
body.rg-block-checkout .rg-ship-choice {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 14px;
}
body.rg-block-checkout .rg-ship-choice__opt {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 12px;
	row-gap: 3px;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 13px 16px;
	border: 1px solid var(--rg-hair);
	border-radius: var(--rg-radius);
	background: transparent;
	box-shadow: none;
	color: var(--rg-ink);
	text-align: left;
	text-transform: none;
	cursor: pointer;
}
body.rg-block-checkout .rg-ship-choice__opt:hover { border-color: var(--rg-ink); background: transparent; color: var(--rg-ink); }
body.rg-block-checkout .rg-ship-choice__opt.is-selected {
	border-color: var(--rg-ink);
	box-shadow: inset 0 0 0 1px var(--rg-ink);
}
body.rg-block-checkout .rg-ship-choice__name {
	font-family: var(--rg-sans-bold);
	font-size: 16px;
	line-height: 1.3;
}
body.rg-block-checkout .rg-ship-choice__price {
	font-family: var(--rg-mono);
	font-size: 15px;
	letter-spacing: 0.04em;
	text-align: right;
}
body.rg-block-checkout .rg-ship-choice__note {
	grid-column: 1 / -1;
	font-family: var(--rg-sans);
	font-size: 14px;
	line-height: 1.4;
	color: var(--rg-muted);
}

/* The pill toggle's unselected half: clear, not Woo's grey. */
body.rg-block-checkout .wc-block-checkout__shipping-method-container { background: transparent; }

/* ---------- cart (rg-block-cart shares everything above) ---------- */

body.rg-block-cart .wc-block-cart { margin: 0; }

/* Line items */
body.rg-block-cart table.wc-block-cart-items { width: 100%; margin: 0; border-collapse: collapse; }
body.rg-block-cart .wc-block-cart-items__header th {
	padding: 0 0 14px;
	border-bottom: 1px solid var(--rg-ink);
	font-family: var(--rg-mono);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rg-muted);
	text-align: left;
}
body.rg-block-cart .wc-block-cart-items__header .wc-block-cart-items__header-total { text-align: right; }
body.rg-block-cart .wc-block-cart-items__row { border-bottom: 1px solid var(--rg-hair); }
body.rg-block-cart .wc-block-cart-items__row td {
	padding: 22px 0;
	border: 0 !important;
	vertical-align: top;
}
body.rg-block-cart .wc-block-cart-item__image { width: 120px; padding-right: 20px !important; }
body.rg-block-cart .wc-block-cart-item__image img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: var(--rg-radius);
}
body.rg-block-cart .wc-block-cart-item__product .wc-block-components-product-name {
	display: block;
	margin: 0 0 6px;
	font-family: var(--rg-mono) !important; /* the grid card's product name */
	font-size: 16px !important;
	line-height: 1.4;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: var(--rg-ink);
	text-decoration: none;
	word-break: normal;
	overflow-wrap: normal;
}
body.rg-block-cart .wc-block-cart-item__product .wc-block-components-product-name:hover { color: #AA8765; }
body.rg-block-cart .wc-block-cart-item__prices,
body.rg-block-cart .wc-block-cart-item__total .wc-block-components-product-price {
	font-family: var(--rg-mono);
	font-size: 16px;
	letter-spacing: 0.02em;
}
/* The unit price under the name repeated the line total beside it. */
body.rg-block-cart .wc-block-cart-item__prices { display: none !important; } /* Woo's cart.css sets flex, more specifically */
body.rg-block-cart .wc-block-cart-item__total { text-align: right; }
body.rg-block-cart .wc-block-components-product-badge {
	border: 1px solid var(--rg-ink);
	border-radius: 999px;
	padding: 2px 10px;
	font-family: var(--rg-mono);
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: none;
	color: var(--rg-ink);
}

/* Quantity: one outlined pill with − and + at its ends. */
body.rg-block-cart .wc-block-cart-item__quantity { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
body.rg-block-cart .wc-block-components-quantity-selector {
	width: 128px;
	height: 44px;
	margin: 0;
	border: 1px solid var(--rg-field);
	border-radius: 999px;
	background: var(--rg-card);
	overflow: hidden;
}
body.rg-block-cart .wc-block-components-quantity-selector::after { display: none; }
body.rg-block-cart .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	width: 40px;
	height: 42px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-family: var(--rg-mono) !important;
	font-size: 16px;
	text-align: center;
}
body.rg-block-cart .wc-block-components-quantity-selector__button {
	width: 44px;
	min-width: 44px;
	height: 42px;
	border: 0;
	background: transparent;
	color: var(--rg-ink);
	font-family: var(--rg-mono);
	font-size: 18px;
	box-shadow: none;
	opacity: 1;
}
body.rg-block-cart .wc-block-components-quantity-selector__button:disabled { opacity: 0.3; }
body.rg-block-cart .wc-block-cart-item__remove-link {
	padding: 10px 0;
	font-family: var(--rg-sans) !important;
	font-size: 15px !important;
	color: var(--rg-muted) !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	text-transform: none !important;
}
body.rg-block-cart .wc-block-cart-item__remove-link:hover { color: var(--rg-ink) !important; }
/* Remove: the cart drawer's cross (thin stroke on currentColor), not Woo's bin.
   The button keeps Woo's accessible name; only the glyph changes. */
body.rg-block-cart button.wc-block-cart-item__remove-link {
	position: relative;
	width: 44px;
	height: 44px;
	min-width: 44px;
	padding: 0 !important;
	border: 0;
	background: none;
	color: var(--rg-muted) !important;
	cursor: pointer;
}
body.rg-block-cart button.wc-block-cart-item__remove-link svg { display: none; }
body.rg-block-cart button.wc-block-cart-item__remove-link::before,
body.rg-block-cart button.wc-block-cart-item__remove-link::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 1.5px;
	background: currentColor;
	border-radius: 1px;
}
body.rg-block-cart button.wc-block-cart-item__remove-link::before { transform: translate(-50%, -50%) rotate(45deg); }
body.rg-block-cart button.wc-block-cart-item__remove-link::after { transform: translate(-50%, -50%) rotate(-45deg); }
body.rg-block-cart button.wc-block-cart-item__remove-link:hover,
body.rg-block-cart button.wc-block-cart-item__remove-link:focus-visible { color: var(--rg-ink) !important; }

/* Totals card */
/* The totals block IS Woo's sidebar, so it needs more weight than the shared
   `.is-large .wc-block-components-sidebar { padding: 0 }` above. */
body.rg-block-cart .wc-block-components-sidebar-layout .wc-block-components-sidebar.wp-block-woocommerce-cart-totals-block {
	padding: 26px 0 0 !important;
	border: 0;
	border-top: 1px solid var(--rg-ink);
	border-radius: 0;
	background: none;
}
body.rg-block-cart .wc-block-cart__totals-title,
body.rg-block-cart .wp-block-woocommerce-cart-order-summary-heading-block {
	margin: 0 0 14px !important;
	padding: 0 !important;
	font-family: var(--rg-mono) !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: left;
	color: var(--rg-ink);
}
body.rg-block-cart .wp-block-woocommerce-cart-totals-block .wc-block-components-totals-item,
body.rg-block-cart .wp-block-woocommerce-cart-totals-block .wc-block-components-totals-coupon,
body.rg-block-cart .wp-block-woocommerce-cart-totals-block .wc-block-components-panel__button,
body.rg-block-cart .wp-block-woocommerce-cart-totals-block .wc-block-components-totals-shipping {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
body.rg-block-cart .wc-block-components-totals-shipping .wc-block-components-radio-control { margin: 12px 0 6px; }
body.rg-block-cart .wc-block-components-shipping-address,
body.rg-block-cart .wc-block-components-totals-shipping__change-address__link,
body.rg-block-cart .wc-block-components-totals-shipping__change-address-button {
	font-size: 15px;
	color: var(--rg-muted);
}
body.rg-block-cart .wc-block-cart__submit { margin: 20px 0 0; padding: 0; }
body.rg-block-cart .wc-block-cart__submit-button,
body.rg-block-cart .wc-block-cart__submit-button.wc-block-components-button:not(.is-link) {
	width: 100%;
	min-height: 60px;
	border: 1px solid var(--rg-ink);
	border-radius: 999px;
	background: var(--rg-ink);
	color: var(--rg-cream);
	box-shadow: none;
	font-family: var(--rg-mono) !important;
	font-size: 18px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
}
body.rg-block-cart .wc-block-cart__submit-button:hover { background: #333; border-color: #333; color: var(--rg-cream); }
body.rg-block-cart .wc-block-cart__payment-options { margin-top: 16px; }

/* Empty cart */
body.rg-block-cart .wp-block-woocommerce-empty-cart-block { padding: 40px 0 80px; text-align: left; }
body.rg-block-cart .wc-block-cart__empty-cart__title {
	margin: 0 0 18px !important;
	font-family: var(--rg-sans) !important;
	font-size: 22px !important;
	line-height: 1.4 !important;
	text-transform: none !important;
	text-align: left !important;
}
body.rg-block-cart .wc-block-cart__empty-cart__title.with-empty-cart-icon::before { display: none; }

/* Cart on a phone: rows fit the screen, and the chat bubble sits above Woo's
   sticky "Proceed to checkout" bar instead of on top of it. */
@media (max-width: 540px) {
	/* Woo makes each row a four-column grid here with a fixed 132px middle;
	   the mono prices are wider than Woo's font, so the middle flexes instead.
	   Same four columns, so Woo's placement of each cell still holds. */
	body.rg-block-cart .wc-block-cart-items__row { grid-template-columns: 80px minmax(0, 1fr) 32px auto !important; }
	body.rg-block-cart .wc-block-cart-item__image { width: 64px; padding-right: 16px !important; }
	body.rg-block-cart .wc-block-cart-item__image img { width: 64px; height: 64px; }
	body.rg-block-cart .wc-block-cart-item__product .wc-block-components-product-name { font-size: 14px !important; }
	body.rg-block-cart .wc-block-cart-item__total .wc-block-components-product-price { font-size: 15px; }
	body.rg-block-cart #regroup-chat-root {
		inset: auto max(16px, env(safe-area-inset-right)) calc(100px + env(safe-area-inset-bottom)) auto;
	}
}

/* ---------- summary rules: two, not five (Pete, 2026-09-29) ----------
   An ink rule opens the section and an ink rule sits over the total; rows
   are separated by space, not lines; one hairline hands over to Delivery.
   Applies to the cart totals and the checkout order summary alike. */
body.rg-block-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper,
body.rg-block-checkout .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-totals-block,
body.rg-block-checkout .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-totals-block,
body.rg-block-checkout .wc-block-components-sidebar .wc-block-components-order-summary,
body.rg-block-checkout .wc-block-components-sidebar .wc-block-cart__totals-title,
body.rg-block-checkout .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-heading-block {
	border-top: 0 !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}
body.rg-block-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper { padding: 6px 0; }
body.rg-block-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper:has(.wc-block-components-totals-footer-item) {
	margin-top: 14px;
	padding: 0;
}
body.rg-block-checkout .wc-block-components-sidebar .wc-block-components-totals-footer-item {
	padding: 18px 0 4px;
	border-top: 1px solid var(--rg-ink) !important;
}
/* Woo's empty slot wrapper after the total carries a rule of its own. */
body.rg-block-checkout .wc-block-components-sidebar .slot-wrapper { padding: 0; }
body.rg-block-checkout .wc-block-components-sidebar .rg-delivery-note { margin-top: 22px; }

/* ---------- summary headings (Pete, 2026-09-29) ----------
   CART TOTALS, ORDER SUMMARY and DELIVERY are section heads in the display
   face, which carries a section on its own — so the ink rule above the
   column and the hairline above Delivery go; space does the separating. */
body.rg-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar.wp-block-woocommerce-cart-totals-block,
body.rg-block-checkout .wp-block-woocommerce-checkout-order-summary-block {
	border-top: 0 !important;
	padding-top: 0 !important;
}
body.rg-block-checkout .wc-block-cart__totals-title,
body.rg-block-checkout .wp-block-woocommerce-cart-order-summary-heading-block,
body.rg-block-checkout .wc-block-components-checkout-order-summary__title-text,
body.rg-block-checkout .rg-delivery-note .rg-delivery-note__label {
	margin: 0 0 18px !important;
	font-family: 'Graphik Condensed Web', 'GraphikCondensed', sans-serif !important;
	font-size: 32px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: uppercase;
	color: var(--rg-ink);
}
body.rg-block-checkout .wc-block-components-sidebar .rg-delivery-note {
	margin-top: 44px;
	padding-top: 0;
	border-top: 0;
}
body.rg-block-checkout .rg-ship-choice { margin-bottom: 18px; }
/* Woo closes the summary with a hairline of its own; space instead. */
body.rg-block-checkout .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block,
body.rg-block-checkout .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block {
	border-bottom: 0 !important;
	padding-bottom: 28px;
}

/* =========================================================================
   Account — membership (inc/membership.php, woocommerce/myaccount/*)
   style.css forces `body.woocommerce-account.logged-in div.woocommerce p` to
   Matter with !important (specificity 0,3,3), so every class set on a <p>
   here is written as `body.rg-account.woocommerce-account div.woocommerce
   p.<class>` (0,4,3) with !important to win.
   ========================================================================= */

body.rg-account .entry-header { display: none; }
body.rg-account .site-main > article { max-width: 1344px; }

/* Shared pieces */
body.rg-account.woocommerce-account div.woocommerce p.rg-section-title {
	margin: 0 0 18px !important;
	font-family: 'Graphik Condensed Web', 'GraphikCondensed', sans-serif !important;
	font-size: 32px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-transform: uppercase;
	color: var(--rg-ink);
}
body.rg-account.woocommerce-account div.woocommerce p.rg-section-title--page,
body.rg-account.woocommerce-account div.woocommerce p.rg-join__title {
	margin: 0 0 18px !important;
	font-family: 'Graphik Condensed Web', 'GraphikCondensed', sans-serif !important;
	font-size: 56px !important;
	font-weight: 700 !important;
	line-height: 0.95 !important;
	text-transform: uppercase;
	color: var(--rg-ink);
}
body.rg-account.woocommerce-account div.woocommerce p.rg-page-overline {
	margin: 0 0 10px !important;
	font-family: var(--rg-mono) !important;
	font-size: 14px !important;
	line-height: 1.3 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rg-muted);
}
body.rg-account div.woocommerce a:hover { color: var(--rg-ink) !important; }

body.rg-account .rg-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 32px;
	box-sizing: border-box;
	border: 1px solid var(--rg-ink);
	border-radius: 100px;
	font-family: var(--rg-mono) !important;
	font-size: 17px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}
body.rg-account .rg-pill--primary { background: var(--rg-ink); color: var(--rg-cream) !important; }
body.rg-account .rg-pill--primary:hover { background: #333; border-color: #333; color: var(--rg-cream) !important; }
body.rg-account .rg-pill--ghost { background: transparent; color: var(--rg-ink) !important; }
body.rg-account .rg-pill--ghost:hover { background: var(--rg-ink); color: var(--rg-cream) !important; }
body.rg-account .rg-pill--small { min-height: 44px; padding: 0 22px; font-size: 15px; }

body.rg-account .rg-field { position: relative; margin: 0 0 12px; }
body.rg-account .rg-field label {
	position: absolute;
	top: 11px;
	left: 17px;
	margin: 0;
	font-family: var(--rg-mono) !important;
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rg-muted);
	pointer-events: none;
}
body.rg-account .rg-field input[type="text"],
body.rg-account .rg-field input[type="email"],
body.rg-account .rg-field input[type="password"] {
	width: 100%;
	height: 66px;
	box-sizing: border-box;
	padding: 30px 16px 8px;
	border: 1px solid var(--rg-ink);
	border-radius: var(--rg-radius);
	background: transparent;
	font-family: var(--rg-sans) !important;
	font-size: 17px;
	color: var(--rg-ink);
	line-height: 1.3;
	box-shadow: none;
	outline: none;
}
body.rg-account .rg-field input:focus { box-shadow: 0 0 0 1px var(--rg-ink); }
body.rg-account .rg-field input::placeholder { color: #a19c95; }
body.rg-account .rg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
body.rg-account .rg-check { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 4px 0 12px; font-size: 16px; cursor: pointer; }
body.rg-account .rg-check input { width: 20px; height: 20px; margin: 0; position: static; top: auto; accent-color: var(--rg-ink); }

/* Chips: real radios/checkboxes, drawn as pills */
body.rg-account .rg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body.rg-account .rg-chip { position: relative; margin: 0; cursor: pointer; }
body.rg-account .rg-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; top: auto; }
body.rg-account .rg-chip span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--rg-hair);
	border-radius: 100px;
	font-family: var(--rg-mono);
	font-size: 15px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--rg-ink);
	transition: background 0.12s, color 0.12s, border-color 0.12s;
}
body.rg-account .rg-chip:hover span { border-color: var(--rg-ink); }
body.rg-account .rg-chip input:checked + span { background: var(--rg-ink); border-color: var(--rg-ink); color: var(--rg-cream); }
body.rg-account .rg-chip input:focus-visible + span { box-shadow: 0 0 0 2px var(--rg-cream), 0 0 0 3px var(--rg-ink); }

/* Join / sign in */
body.rg-account .rg-join {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
	padding: 24px 0 40px;
}
body.rg-account.woocommerce-account div.woocommerce p.rg-join__lead { max-width: 560px; margin: 0 0 22px !important; font-size: 19px !important; }
body.rg-account .rg-join__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rg-ink); max-width: 560px; }
body.rg-account .rg-join__list li { padding: 14px 0; border-bottom: 1px solid var(--rg-hair); font-family: var(--rg-mono); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
body.rg-account .rg-join__panel { padding-top: 8px; }
body.rg-account.woocommerce-account div.woocommerce p.rg-join__label {
	margin: 0 0 14px !important;
	font-family: 'Graphik Condensed Web', 'GraphikCondensed', sans-serif !important;
	font-size: 32px !important;
	font-weight: 700;
	line-height: 1 !important;
	text-transform: uppercase;
}
body.rg-account .rg-join__form .rg-pill { width: 100%; margin-top: 4px; }
body.rg-account.woocommerce-account div.woocommerce p.rg-join__small { margin: 14px 0 0 !important; font-size: 15px !important; color: var(--rg-muted); }
body.rg-account .rg-join__password { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--rg-hair); }
body.rg-account .rg-join__password summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
body.rg-account .rg-join__password summary::-webkit-details-marker { display: none; }
body.rg-account .rg-join__password form { margin-top: 14px; }
body.rg-account .rg-join__password .rg-pill { width: 100%; }
body.rg-account .rg-join > .rg-join__intro:only-child { grid-column: 1 / -1; max-width: 640px; }
body.rg-account .rg-join > .rg-join__intro:only-child form { max-width: 360px; margin-top: 8px; }

/* Editorial band: the Saturday group, full bleed, the club and the name. */
body.rg-account .rg-join-hero {
	position: relative;
	margin: -56px -48px 48px;
	height: clamp(360px, 52vw, 620px);
	overflow: hidden;
	background: #1c1c1c;
}
body.rg-account .rg-join-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 45%;
}
body.rg-account .rg-join-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(28, 28, 28, 0.72) 0%, rgba(28, 28, 28, 0) 55%);
}
body.rg-account .rg-join-hero__text { position: absolute; left: 48px; right: 48px; bottom: 44px; z-index: 1; color: #F8F5F0; }
body.rg-account.woocommerce-account div.woocommerce p.rg-join-hero__over {
	margin: 0 0 12px !important;
	font-family: var(--rg-mono) !important;
	font-size: 15px !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #F8F5F0;
}
body.rg-account.woocommerce-account div.woocommerce p.rg-join-hero__title {
	margin: 0 !important;
	font-family: 'Graphik Condensed Web', 'GraphikCondensed', sans-serif !important;
	font-size: clamp(56px, 9vw, 132px) !important;
	font-weight: 700 !important;
	line-height: 0.88 !important;
	text-transform: uppercase;
	color: #F8F5F0;
}
/* The next ride, drawn big on the join page. */
body.rg-account .rg-join .rg-ride { grid-template-columns: var(--rg-map, 120px) minmax(0, 1fr); border-top: 1px solid var(--rg-ink); border-bottom: 0; }
body.rg-account .rg-ride__map { width: var(--rg-map, 120px); height: var(--rg-map, 120px); }

/* ---------- Signed out: the way in (woocommerce/myaccount/form-login.php) ----------
   Simple and inspirational (Pete, 2026-09-30): the photograph on one side, one
   line and one box on the other, a three-step marker saying what happens
   next. It runs edge to edge between header and footer, and the breadcrumb
   band goes — less chrome on the one page that should feel like an invitation. */
body.rg-account:not(.logged-in) div.breadcrumbs { display: none; }
body.rg-account:not(.logged-in) .site-main { padding: 0; }
body.rg-account:not(.logged-in) .site-main > article { max-width: none; }

body.rg-account .rg-signup {
	display: grid;
	grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
	min-height: clamp(620px, calc(100vh - var(--rg-header-h, 96px)), 920px);
}
body.rg-account .rg-signup__photo { position: relative; overflow: hidden; background: #1c1c1c; }
body.rg-account .rg-signup__photo picture { position: absolute; inset: 0; }
body.rg-account .rg-signup__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 75%; /* the riders on the switchback */
}
@media (max-width: 800px) {
	body.rg-account .rg-signup__photo img { object-position: 68% 70%; } /* the road's bend */
}
body.rg-account .rg-signup__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(40px, 6vw, 96px);
}
body.rg-account .rg-signup__panel > * { max-width: 460px; }
body.rg-account.woocommerce-account div.woocommerce p.rg-signup__lead { max-width: 520px; }
body.rg-account.woocommerce-account div.woocommerce p.rg-signup__over {
	margin: 0 0 18px !important;
	font-family: var(--rg-mono) !important;
	font-size: 14px !important;
	line-height: 1.3 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rg-muted);
}
body.rg-account.woocommerce-account div.woocommerce p.rg-signup__title {
	margin: 0 0 16px !important;
	font-family: 'Graphik Condensed Web', 'GraphikCondensed', sans-serif !important;
	font-size: clamp(56px, 6.4vw, 96px) !important;
	font-weight: 700 !important;
	line-height: 0.9 !important;
	text-transform: uppercase;
	color: var(--rg-ink);
	text-wrap: balance; /* REGROUP / WITH US, never WITH / US alone */
}
body.rg-account.woocommerce-account div.woocommerce p.rg-signup__lead {
	margin: 0 0 32px !important;
	font-family: var(--rg-sans) !important;
	font-size: 20px !important;
	line-height: 1.45 !important;
	color: var(--rg-ink);
	text-wrap: balance; /* one line where it fits; even lines where it doesn't */
}
body.rg-account.woocommerce-account div.woocommerce p.rg-signup__small {
	margin: 14px 0 0 !important;
	font-family: var(--rg-sans) !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	color: var(--rg-muted);
}
body.rg-account .rg-signup__small a { color: var(--rg-ink); text-decoration: underline; text-underline-offset: 3px; }
body.rg-account .rg-signup__form .rg-pill { width: 100%; margin-top: 4px; }

/* One field, one arrow: greyed at rest so the field has somewhere to go,
   ink once something's typed; Enter submits either way. */
/* A pill, like the Apple button above it and the header search: on the join
   page the field is the one thing to do, so it takes the button's shape. */
/* Same height as the Apple button; the words sit where you type (the label
   stays for screen readers). */
body.rg-account .rg-field--go input[type="email"] { height: 56px; padding: 0 60px 0 26px; border-radius: 100px; }
body.rg-account .rg-field--go label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.rg-account .rg-field--go input::placeholder { font-family: var(--rg-sans); letter-spacing: 0; text-transform: none; color: #8f8b84; opacity: 1; } /* the site's placeholder: Matter, sentence case, soft grey (header search, newsletter) */
body.rg-account .rg-go {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 100px;
	/* Resting: a greyed arrow, so the field shows where it goes (Pete). */
	background: rgba(28, 28, 28, 0.08);
	color: #a19c95;
	cursor: pointer;
	transition: background 0.18s, color 0.18s;
}
/* Something typed: the arrow goes ink. */
body.rg-account .rg-field--go input:not(:placeholder-shown) ~ .rg-go { background: var(--rg-ink); color: var(--rg-cream); }
body.rg-account .rg-field--go input:not(:placeholder-shown) ~ .rg-go:hover { background: #333; }
@media (prefers-reduced-motion: reduce) { body.rg-account .rg-go { transition: none; } }

/* Continue with Apple, then "or" */
/* It's a link, so the theme's link hover (ink, !important) would land on it. */
body.rg-account.woocommerce-account div.woocommerce a.rg-apple,
body.rg-account.woocommerce-account div.woocommerce a.rg-apple:hover,
body.rg-account.woocommerce-account div.woocommerce a.rg-apple:focus { color: var(--rg-cream) !important; text-decoration: none !important; }
body.rg-account .rg-apple { width: 100%; gap: 10px; text-transform: none; font-family: var(--rg-sans-bold) !important; letter-spacing: 0; font-size: 17px; }
body.rg-account.woocommerce-account div.woocommerce p.rg-signup__or {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 18px 0 !important;
	font-family: var(--rg-sans) !important;
	font-size: 14px !important;
	color: var(--rg-muted);
}
body.rg-account.woocommerce-account div.woocommerce p.rg-signup__or::before, body.rg-account.woocommerce-account div.woocommerce p.rg-signup__or::after { content: ''; flex: 1; height: 1px; background: var(--rg-hair); }

/* What happens next: 01 · 02 · 03 */
body.rg-account .rg-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 40px 0 0;
	padding: 18px 0 0;
	list-style: none;
	border-top: 1px solid var(--rg-hair);
}
body.rg-account .rg-steps__item { display: flex; flex-direction: column; gap: 6px; color: #a19c95; }
body.rg-account .rg-steps__n { font-family: var(--rg-mono); font-size: 14px; letter-spacing: 0.1em; }
body.rg-account .rg-steps__label { font-family: var(--rg-sans); font-size: 14px; line-height: 1.35; }
body.rg-account .rg-steps__item.is-now { color: var(--rg-ink); }
body.rg-account .rg-steps__item.is-now .rg-steps__n { font-family: var(--rg-mono); }
body.rg-account .rg-steps__item.is-done { color: var(--rg-muted); }
body.rg-account .rg-steps__item.is-done .rg-steps__n::after { content: ' ✓'; color: #7f8236; }

body.rg-account .rg-signup__password { margin-top: 28px; }
body.rg-account .rg-signup__password summary {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	cursor: pointer;
	list-style: none;
	font-size: 15px;
	color: var(--rg-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.rg-account .rg-signup__password summary::-webkit-details-marker { display: none; }
body.rg-account .rg-signup__password[open] summary { color: var(--rg-ink); }
body.rg-account .rg-signup__password form { margin-top: 12px; }
body.rg-account .rg-signup__password .rg-pill { width: 100%; }

@media (max-width: 800px) {
	body.rg-account .rg-signup { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	body.rg-account .rg-signup__photo { height: 42vh; min-height: 260px; }
	body.rg-account .rg-signup__panel { padding: 32px 16px 48px; }
	body.rg-account.woocommerce-account div.woocommerce p.rg-signup__title { font-size: 52px !important; }
	body.rg-account.woocommerce-account div.woocommerce p.rg-signup__lead { font-size: 18px !important; margin-bottom: 24px !important; }
	body.rg-account .rg-steps { margin-top: 32px; }
}

body.rg-account .woocommerce-MyAccount-content { min-width: 0; }

/* Member home */
body.rg-account .rg-home__head { margin-bottom: 40px; }
body.rg-account.woocommerce-account div.woocommerce p.rg-home__nudge { margin: 8px 0 0 !important; }
body.rg-account.woocommerce-account div.woocommerce p.rg-home__nudge a { text-decoration: underline; text-underline-offset: 3px; color: var(--rg-ink); }
body.rg-account .rg-home__you { margin-bottom: 64px; }
body.rg-account .rg-home__rides { margin-bottom: 48px; }
body.rg-account .rg-ride {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 24px;
	padding: 22px 0;
	border-top: 1px solid var(--rg-hair);
	scroll-margin-top: calc(var(--rg-header-h, 96px) + 16px);
}
body.rg-account .rg-ride:last-of-type { border-bottom: 1px solid var(--rg-hair); }
body.rg-account .rg-ride__map { display: flex; align-items: center; justify-content: center; color: var(--rg-ink); }
body.rg-account .rg-ride__map svg { width: 100%; height: 100%; }
body.rg-account .rg-ride__nomap { font-family: var(--rg-mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rg-muted); border: 1px solid var(--rg-hair); border-radius: 100px; padding: 6px 12px; }
body.rg-account.woocommerce-account div.woocommerce p.rg-ride__when { margin: 0 0 6px !important; font-family: var(--rg-mono) !important; font-size: 14px !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rg-muted); }
body.rg-account.woocommerce-account div.woocommerce p.rg-ride__title { margin: 0 0 6px !important; font-family: var(--rg-mono) !important; font-size: 17px !important; letter-spacing: 1.8px; text-transform: uppercase; }
body.rg-account.woocommerce-account div.woocommerce p.rg-ride__meta { margin: 0 0 4px !important; font-family: var(--rg-mono) !important; font-size: 14px !important; letter-spacing: 0.08em; text-transform: uppercase; }
body.rg-account.woocommerce-account div.woocommerce p.rg-ride__who { margin: 0 0 12px !important; font-size: 15px !important; color: var(--rg-muted); }
body.rg-account .rg-ride__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
body.rg-account .rg-ride__actions form { margin: 0; }
body.rg-account .rg-ride__link { font-size: 15px; color: var(--rg-ink); text-decoration: underline; text-underline-offset: 3px; }

body.rg-account .rg-card { margin: 0 0 18px; padding: 0; border-top: 1px solid var(--rg-ink); }
body.rg-account .rg-card__row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rg-hair); }
body.rg-account .rg-card dt { font-family: var(--rg-mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rg-muted); }
body.rg-account .rg-card dd { margin: 0; font-size: 17px; }
body.rg-account .rg-card__empty { color: #a19c95; }

/* Profile */
body.rg-account .rg-profile { max-width: 720px; }
body.rg-account.woocommerce-account div.woocommerce p.rg-profile__lead { margin: 0 0 28px !important; }
body.rg-account .rg-profile__name { max-width: 420px; margin-bottom: 28px; }
/* Profile text fields: the question sits above (legend, or the name's label
   styled as one), so the box is the join page's pill — 56px, text centred —
   not the floating-label field with its empty top band. */
body.rg-account .rg-profile .rg-field input[type="text"] { height: 56px; padding: 0 24px; border-radius: 100px; }
body.rg-account .rg-profile__name label { position: static; display: block; margin: 0 0 12px; font-size: 15px; color: var(--rg-ink); }
body.rg-account .rg-profile__q { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
body.rg-account .rg-profile__legend { margin: 0 0 12px; padding: 0; font-family: var(--rg-mono); font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rg-ink); }
body.rg-account.woocommerce-account div.woocommerce p.rg-profile__hint,
body.rg-account.woocommerce-account div.woocommerce p.rg-profile__strava { margin: 0 0 12px !important; font-size: 16px !important; }
body.rg-account.woocommerce-account div.woocommerce p.rg-profile__strava a { margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; color: var(--rg-ink); }

/* Messages in the house style (inc/membership.php): errors are the house
   validation note — mono, accent, arrow-led, under a ringed field, never a
   banner, never red; confirmations carry the brevet stamp. Woo's own notices
   on these pages (a wrong password, say) are dressed the same way. */
body.rg-account.woocommerce-account div.woocommerce p.rg-note {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 8px 0 16px !important;
	font-family: var(--rg-mono) !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
body.rg-account.woocommerce-account div.woocommerce p.rg-note--error { color: var(--rg-note); }
body.rg-account.woocommerce-account div.woocommerce p.rg-note--done { color: var(--rg-ink); margin-bottom: 24px !important; }
body.rg-account .rg-field--error input { border-color: var(--rg-note) !important; box-shadow: 0 0 0 1px var(--rg-note) !important; }
body.rg-account .rg-field--error label { color: var(--rg-note); }

body.rg-account .woocommerce-notices-wrapper:empty { display: none; }
body.rg-account ul.woocommerce-error,
body.rg-account .woocommerce-message,
body.rg-account .woocommerce-info {
	margin: 0 0 20px !important;
	padding: 0 !important;
	list-style: none;
	border: 0 !important;
	background: none !important;
	font-family: var(--rg-mono) !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
body.rg-account ul.woocommerce-error { color: var(--rg-note); }
body.rg-account ul.woocommerce-error li::before { content: '→ '; }
body.rg-account .woocommerce-message,
body.rg-account .woocommerce-info { color: var(--rg-ink); }
body.rg-account .woocommerce-message::before,
body.rg-account .woocommerce-error::before,
body.rg-account .woocommerce-info::before { display: none !important; content: none !important; }
body.rg-account ul.woocommerce-error a,
body.rg-account .woocommerce-message a,
body.rg-account .woocommerce-info a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1023px) {
	body.rg-account .rg-join-hero { margin: -32px -24px 36px; }
	body.rg-account .rg-join-hero__text { left: 24px; right: 24px; bottom: 28px; }
}
@media (max-width: 639px) {
	body.rg-account .rg-join-hero { margin: -24px -16px 28px; height: 420px; }
	body.rg-account .rg-join-hero__text { left: 16px; right: 16px; bottom: 22px; }
	body.rg-account .rg-join .rg-ride { --rg-map: 120px !important; }
}
@media (max-width: 800px) {
	body.rg-account .rg-join { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	body.rg-account.woocommerce-account div.woocommerce p.rg-section-title--page,
	body.rg-account.woocommerce-account div.woocommerce p.rg-join__title { font-size: 40px !important; }
	body.rg-account .rg-ride { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
	body.rg-account .rg-ride__map { width: 72px; height: 72px; }
	body.rg-account .rg-card__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- smaller screens ---------- */

@media (max-width: 1023px) {
	body.rg-block-checkout .site-main { padding: 32px 24px 96px; }
	body.rg-block-checkout .entry-header .entry-title { font-size: 48px !important; }
}

@media (max-width: 639px) {
	body.rg-block-checkout .site-main { padding: 24px 16px 72px; }
	body.rg-block-checkout .entry-header { margin-bottom: 22px; }
	body.rg-block-checkout .entry-header .entry-title { font-size: 40px !important; }
	body.rg-block-checkout .wc-block-checkout__shipping-method-option-title { font-size: 14px; letter-spacing: 0.04em; }
	body.rg-block-checkout .wc-block-components-checkout-place-order-button { min-height: 60px; font-size: 16px; }
	body.rg-block-checkout .wp-block-woocommerce-checkout-order-summary-block { padding: 20px 18px; }
}

/* ------------------------------------------------------------------------
   Passkeys (inc/passkeys.php, js/passkeys.js)
   ------------------------------------------------------------------------ */

/* Join page: passkey is an equal way in — a full outlined pill under the
   email box, the Apple button's size. */
body.rg-account .rg-signup__form .rg-passkey-btn { gap: 10px; margin-top: 0; text-transform: none; font-family: var(--rg-sans-bold) !important; letter-spacing: 0; font-size: 17px; }
body.rg-account .rg-signup__form .rg-passkey-btn[hidden] { display: none; }

/* Password: kept for older accounts, explained, and last on the page. */
body.rg-account .rg-signup__password { margin-top: 20px; }
body.rg-account .rg-signup__password summary { flex-wrap: wrap; gap: 0 0.3em; font-size: 14px !important; text-decoration: none !important; }
body.rg-account .rg-signup__password summary span { text-decoration: underline; text-underline-offset: 3px; }

/* Profile: saved passkeys */
body.rg-account .rg-passkeys { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--rg-ink); }
body.rg-account .rg-passkeys__list { list-style: none; margin: 0 0 16px; padding: 0; }
body.rg-account .rg-passkeys__item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	border-bottom: 1px solid var(--rg-hair);
}
body.rg-account .rg-passkeys__name { font-family: var(--rg-sans-bold); font-size: 16px; }
body.rg-account .rg-passkeys__meta { flex: 1; font-size: 15px; color: var(--rg-muted); }
body.rg-account.woocommerce-account div.woocommerce button.rg-passkeys__remove {
	min-height: 44px;
	padding: 0 4px;
	border: 0;
	background: none;
	cursor: pointer;
	font-family: var(--rg-sans) !important;
	font-size: 15px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--rg-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.rg-account.woocommerce-account div.woocommerce button.rg-passkeys__remove:hover { color: var(--rg-ink); background: none; }

/* Member home: the passkey offer, top of the page after sign-in */
body.rg-account .rg-passkey-offer { margin: 0 0 48px; padding: 28px 0; border-top: 1px solid var(--rg-ink); border-bottom: 1px solid var(--rg-ink); }
body.rg-account .rg-passkey-offer[hidden] { display: none; }
body.rg-account.woocommerce-account div.woocommerce p.rg-passkey-offer__lead { margin: 8px 0 20px !important; font-size: 17px !important; color: var(--rg-ink); }
body.rg-account .rg-passkey-offer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
body.rg-account.woocommerce-account div.woocommerce button.rg-passkey-offer__later {
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	font-family: var(--rg-sans) !important;
	font-size: 15px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--rg-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.rg-account.woocommerce-account div.woocommerce button.rg-passkey-offer__later:hover { color: var(--rg-ink); background: none; }

/* ------------------------------------------------------------------------
   The rest of the account (Pete, 2026-09-30: "this all needs love")
   Orders, Stock alerts, Addresses, Payment methods, Account details —
   templates in woocommerce/myaccount/. One pattern throughout: the Graphik
   page title and one line, lists as ruled rows (no tables, no panels),
   actions as quiet text, forms in the checkout's field skin.
   ------------------------------------------------------------------------ */

body.rg-account .rg-acct-head { margin: 0 0 32px; }
body.rg-account.woocommerce-account div.woocommerce p.rg-acct-lead { margin: -6px 0 0 !important; font-size: 17px !important; color: var(--rg-muted); }

/* Text actions: underlined, muted, ink on hover. Named deep enough to beat
   the theme's .button and link rules. */
body.rg-account.woocommerce-account div.woocommerce a.rg-textbtn {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--rg-sans) !important;
	font-size: 15px !important;
	letter-spacing: 0;
	text-transform: none;
	color: var(--rg-muted) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.rg-account.woocommerce-account div.woocommerce a.rg-textbtn:hover { color: var(--rg-ink) !important; background: none; }

/* Ruled rows */
body.rg-account .rg-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rg-ink); }
body.rg-account .rg-list__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto auto;
	align-items: center;
	gap: 8px 28px;
	padding: 18px 0;
	border-bottom: 1px solid var(--rg-hair);
}
body.rg-account.woocommerce-account div.woocommerce a.rg-list__main,
body.rg-account .rg-list__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: var(--rg-ink) !important; text-decoration: none; }
/* Names follow the shop grid card: MatterMono Medium, uppercase, 1.8px. */
body.rg-account .rg-list__name { font-family: var(--rg-mono); font-size: 15px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--rg-ink); }
body.rg-account a.rg-list__main:hover .rg-list__name { text-decoration: underline; text-underline-offset: 4px; }
body.rg-account .rg-list__meta { font-family: var(--rg-sans); font-size: 15px; color: var(--rg-muted); }
body.rg-account .rg-list__status { font-family: var(--rg-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rg-muted); }
body.rg-account .rg-list__side { font-family: var(--rg-sans); font-size: 16px; color: var(--rg-ink); white-space: nowrap; }
body.rg-account .rg-list__actions { display: flex; align-items: center; gap: 18px; justify-content: flex-end; }
body.rg-account.woocommerce-account div.woocommerce a.rg-list__go { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--rg-ink) !important; }
body.rg-account .rg-cards__row.is-default .rg-list__status { color: var(--rg-ink); }

body.rg-account .rg-pager { display: flex; gap: 12px; margin-top: 24px; }

/* Empty states: one line and, where it helps, one way on. */
body.rg-account .rg-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 24px 0; border-top: 1px solid var(--rg-ink); }
body.rg-account.woocommerce-account div.woocommerce p.rg-empty__text { margin: 0 !important; font-size: 17px !important; color: var(--rg-ink); }

/* Addresses: two columns, each under an ink rule. */
body.rg-account .rg-addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 40px; }
body.rg-account .rg-address { padding-top: 18px; border-top: 1px solid var(--rg-ink); }
body.rg-account.woocommerce-account div.woocommerce p.rg-address__label { margin: 0 0 12px !important; font-family: var(--rg-mono) !important; font-size: 14px !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rg-ink); }
body.rg-account .rg-address__text { margin: 0 0 18px; font-style: normal; font-family: var(--rg-sans); font-size: 17px; line-height: 1.5; color: var(--rg-ink); }
body.rg-account .rg-address__none { color: var(--rg-muted); }

/* Forms (address edit, account details): the checkout's fields. */
body.rg-account .rg-form { max-width: 640px; }
body.rg-account .rg-form .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
body.rg-account .rg-form .form-row { grid-column: 1 / -1; margin: 0 0 20px !important; padding: 0 !important; float: none !important; width: auto !important; }
body.rg-account .rg-form .form-row-first { grid-column: 1; }
body.rg-account .rg-form .form-row-last { grid-column: 2; }
body.rg-account .rg-form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
body.rg-account.woocommerce-account div.woocommerce .rg-form .form-row label {
	display: block;
	margin: 0 0 8px;
	font-family: var(--rg-mono) !important;
	font-size: 14px !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.3;
	color: var(--rg-ink);
}
body.rg-account .rg-form .form-row abbr.required { display: none; }
body.rg-account .rg-form .form-row .optional,
body.rg-account .rg-form__optional { font-family: var(--rg-sans); letter-spacing: 0; text-transform: none; color: var(--rg-muted); }
body.rg-account .rg-form .woocommerce-input-wrapper { display: block; }
body.rg-account.woocommerce-account div.woocommerce .rg-form .form-row input.input-text,
body.rg-account.woocommerce-account div.woocommerce .rg-form .form-row select,
body.rg-account.woocommerce-account div.woocommerce .rg-form .form-row .select2-container .select2-selection--single {
	width: 100%;
	height: 56px;
	box-sizing: border-box;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--rg-ink) !important;
	border-radius: var(--rg-radius) !important;
	background: transparent !important;
	box-shadow: none;
	outline: none;
	font-family: var(--rg-sans) !important;
	font-size: 17px !important;
	letter-spacing: 0;
	text-transform: none;
	color: var(--rg-ink) !important;
}
body.rg-account.woocommerce-account div.woocommerce .rg-form .form-row input.input-text:focus,
body.rg-account.woocommerce-account div.woocommerce .rg-form .form-row select:focus,
body.rg-account .rg-form .select2-container--focus .select2-selection--single,
body.rg-account .rg-form .select2-container--open .select2-selection--single { box-shadow: 0 0 0 1px var(--rg-ink) !important; }
body.rg-account .rg-form .select2-container { width: 100% !important; }
body.rg-account .rg-form .select2-selection--single .select2-selection__rendered { padding: 0 !important; line-height: 54px !important; color: var(--rg-ink) !important; }
body.rg-account .rg-form .select2-selection--single .select2-selection__arrow { top: 15px !important; right: 12px !important; }
body.rg-account .rg-form .form-row.woocommerce-invalid input.input-text { box-shadow: 0 0 0 1px var(--rg-note) !important; border-color: var(--rg-note) !important; }
body.rg-account .rg-form__hint { display: block; margin-top: 8px; font-family: var(--rg-sans); font-size: 15px; color: var(--rg-muted); }
body.rg-account .rg-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 12px; }
body.rg-account .rg-form__password { margin: 8px 0 24px; }
body.rg-account .rg-form__password summary,
body.rg-account .rg-history summary {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	cursor: pointer;
	list-style: none;
	font-size: 15px;
	color: var(--rg-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.rg-account .rg-form__password summary::-webkit-details-marker,
body.rg-account .rg-history summary::-webkit-details-marker { display: none; }
body.rg-account .rg-form__password[open] summary,
body.rg-account .rg-history[open] summary { color: var(--rg-ink); margin-bottom: 12px; }

/* Stock alerts history */
body.rg-account .rg-history { margin-top: 28px; }
body.rg-account .rg-history__list { list-style: none; margin: 0; padding: 0; }
body.rg-account .rg-history__list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rg-hair); font-size: 15px; color: var(--rg-ink); }
body.rg-account .rg-history__date { color: var(--rg-muted); }

/* Woo's own notices in the account: plain lines in the body face, not the
   theme's mono panels. Errors take the house note (accent, arrow-led). */
body.rg-account.woocommerce-account div.woocommerce .woocommerce-MyAccount-content .woocommerce-info,
body.rg-account.woocommerce-account div.woocommerce .woocommerce-MyAccount-content .woocommerce-message,
body.rg-account.woocommerce-account div.woocommerce .woocommerce-MyAccount-content .woocommerce-error {
	margin: 0 0 24px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	list-style: none;
	font-family: var(--rg-sans) !important;
	font-size: 16px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	line-height: 1.5;
	color: var(--rg-ink) !important;
}
body.rg-account.woocommerce-account div.woocommerce .woocommerce-MyAccount-content .woocommerce-info::before,
body.rg-account.woocommerce-account div.woocommerce .woocommerce-MyAccount-content .woocommerce-message::before,
body.rg-account.woocommerce-account div.woocommerce .woocommerce-MyAccount-content .woocommerce-error::before { content: none !important; }
body.rg-account.woocommerce-account div.woocommerce .woocommerce-MyAccount-content .woocommerce-error {
	font-family: var(--rg-mono) !important;
	font-size: 14px !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: var(--rg-note) !important;
}
body.rg-account.woocommerce-account div.woocommerce .woocommerce-MyAccount-content .woocommerce-error li::before { content: '→ '; }
/* Woo puts the action link before its sentence; read it after. */
body.rg-account.woocommerce-account div.woocommerce .woocommerce-MyAccount-content .woocommerce-info,
body.rg-account.woocommerce-account div.woocommerce .woocommerce-MyAccount-content .woocommerce-message { display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
/* Confirmations are the site toast's job (js/cart-toast.js lifts every
   .woocommerce-message into it); with JS on, nothing stays in the page. */
body.rg-account.woocommerce-js.woocommerce-account div.woocommerce .woocommerce-message { display: none !important; }
body.rg-account.woocommerce-account div.woocommerce .woocommerce-MyAccount-content .woocommerce-info a,
body.rg-account.woocommerce-account div.woocommerce .woocommerce-MyAccount-content .woocommerce-message a { order: 2; }
body.rg-account.woocommerce-account div.woocommerce .woocommerce-MyAccount-content .woocommerce-info a,
body.rg-account.woocommerce-account div.woocommerce .woocommerce-MyAccount-content .woocommerce-message a {
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	font-family: var(--rg-sans) !important;
	font-size: 16px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--rg-ink) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 800px) {
	body.rg-account .rg-list__row { grid-template-columns: minmax(0, 1fr) auto; }
	body.rg-account .rg-list__main { grid-column: 1 / -1; }
	body.rg-account .rg-list__actions { justify-content: flex-start; }
	body.rg-account .rg-form .woocommerce-address-fields__field-wrapper,
	body.rg-account .rg-form__pair { grid-template-columns: minmax(0, 1fr); }
	body.rg-account .rg-form .form-row-first,
	body.rg-account .rg-form .form-row-last { grid-column: 1; }
}

/* Account details: Mailchimp's newsletter radios as chips (the label wraps
   its input, so the chip is the label and :has() carries the state). */
body.rg-account.woocommerce-account div.woocommerce p.rg-form__legend { margin: 12px 0 12px !important; font-family: var(--rg-mono) !important; font-size: 14px !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rg-ink); }
body.rg-account .rg-form p.form-row:has(> label > input[name^="mailchimp_woocommerce"]) { display: inline-block; margin: 0 8px 8px 0 !important; }
body.rg-account.woocommerce-account div.woocommerce .rg-form p.form-row > label:has(> input[name^="mailchimp_woocommerce"]) {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid var(--rg-hair);
	border-radius: 100px;
	cursor: pointer;
	font-size: 15px !important;
	letter-spacing: 0.05em;
	transition: background 0.12s, color 0.12s, border-color 0.12s;
}
body.rg-account .rg-form p.form-row > label > input[name^="mailchimp_woocommerce"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
body.rg-account.woocommerce-account div.woocommerce .rg-form p.form-row > label:has(> input[name^="mailchimp_woocommerce"]):hover { border-color: var(--rg-ink); }
body.rg-account.woocommerce-account div.woocommerce .rg-form p.form-row > label:has(> input[name^="mailchimp_woocommerce"]:checked) { background: var(--rg-ink); border-color: var(--rg-ink); color: var(--rg-cream) !important; }
body.rg-account.woocommerce-account div.woocommerce .rg-form p.form-row > label:has(> input[name^="mailchimp_woocommerce"]:focus-visible) { box-shadow: 0 0 0 2px var(--rg-cream), 0 0 0 3px var(--rg-ink); }
body.rg-account .rg-form p.form-row:has(> label > input[name^="mailchimp_woocommerce"]) + .rg-form__actions { margin-top: 28px; }

/* Address form: Woo's required star (the optional ones say so instead), and
   select2 draws its own frame around the selection — one border only. */
body.rg-account .rg-form .form-row .required { display: none; }
body.rg-account.woocommerce-account div.woocommerce .rg-form .form-row .select2-container,
body.rg-account.woocommerce-account div.woocommerce .rg-form .form-row .select2-container .selection { display: block; height: auto; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }

/* ------------------------------------------------------------------------
   Member area frame (woocommerce/myaccount/my-account.php, navigation.php)
   The Routes page's anatomy (css/routes.css): dark head with overline,
   Graphik line and facts; a full-width bar of pills; then the page on cream.
   Values are the Routes tokens so the two read as one site.
   ------------------------------------------------------------------------ */

body.rg-account.logged-in {
	--rg-d-ink: #1c1c1b;
	--rg-d-ink-3: #201f1e;
	--rg-d-line: #3a3936;
	--rg-d-cream: #f6f3ee;
	--rg-d-cream-2: #ebe6dd;
	--rg-d-muted: #a19c93;
}
body.rg-account.logged-in .site-main { padding: 0 !important; }
body.rg-account.logged-in .site-main > article { max-width: none; margin: 0; }
body.rg-account.logged-in div.woocommerce { display: block !important; padding: 0 !important; }
body.rg-account .rg-acct-wrap { max-width: 1440px; margin: 0 auto; padding-inline: 48px; box-sizing: border-box; }

/* Head */
body.rg-account .rg-acct-hero { background: var(--rg-d-ink); color: var(--rg-d-cream); padding: 64px 0 36px; }
body.rg-account.woocommerce-account div.woocommerce p.rg-acct-hero__over {
	margin: 0 !important;
	font-family: 'MatterMonoRegular', monospace !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rg-d-cream);
}
body.rg-account.woocommerce-account div.woocommerce p.rg-acct-hero__title {
	margin: 14px 0 0 !important;
	font-family: 'Graphik Condensed Web', 'GraphikCondensed', sans-serif !important;
	font-weight: 800 !important;
	font-size: 88px !important;
	line-height: .86 !important;
	letter-spacing: -.005em;
	text-transform: uppercase;
	text-wrap: balance;
	color: var(--rg-d-cream);
}
body.rg-account.woocommerce-account div.woocommerce p.rg-acct-hero__dek { margin: 20px 0 0 !important; max-width: 62ch; font-size: 19px !important; line-height: 1.6 !important; color: var(--rg-d-cream-2); }
body.rg-account.woocommerce-account div.woocommerce p.rg-acct-hero__dek a { color: var(--rg-d-cream) !important; text-decoration: underline; text-underline-offset: 3px; }
body.rg-account .rg-acct-hero__facts {
	display: flex; flex-wrap: wrap; gap: 14px 44px;
	margin: 32px 0 0; padding: 20px 0 0;
	border-top: 1px solid var(--rg-d-line);
	list-style: none;
}
body.rg-account .rg-acct-hero__facts li,
body.rg-account.woocommerce-account div.woocommerce .rg-acct-hero__facts a { display: grid; gap: 3px; color: var(--rg-d-cream) !important; text-decoration: none; }
body.rg-account.woocommerce-account div.woocommerce .rg-acct-hero__facts b { font: 500 26px/1.1 'MatterMonoMedium', monospace !important; letter-spacing: 0; text-transform: uppercase; }
body.rg-account .rg-acct-hero__facts span { font: 400 11px/1.4 'MatterMonoRegular', monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--rg-d-muted); }
body.rg-account.woocommerce-account div.woocommerce .rg-acct-hero__facts a:hover span { color: var(--rg-d-cream); }

/* Tabs: the Routes filter bar. Sticky under the header on wide screens. */
body.rg-account .rg-acct-tabs {
	position: sticky; top: var(--rg-header-h, 96px); z-index: 4;
	margin: 0 !important; padding: 0 !important;
	background: var(--rg-d-ink-3);
	border-top: 1px solid var(--rg-d-line); border-bottom: 1px solid var(--rg-d-line);
}
body.rg-account .rg-acct-tabs__in { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
body.rg-account .rg-acct-tabs__list { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; flex: 1 1 auto; min-width: 0; }
body.rg-account .rg-acct-tabs__list li { margin: 0; padding: 0; flex: 0 0 auto; }
body.rg-account.woocommerce-account div.woocommerce .rg-acct-tabs__list a {
	display: inline-flex; align-items: center;
	height: 36px; padding: 0 15px;
	border: 1px solid var(--rg-d-line); border-radius: 99px;
	font: 500 12px/1 'MatterMonoMedium', monospace !important;
	letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
	color: var(--rg-d-cream-2) !important; background: none; text-decoration: none;
	transition: background .15s, color .15s, border-color .15s;
}
body.rg-account.woocommerce-account div.woocommerce .rg-acct-tabs__list a:hover { border-color: var(--rg-d-muted); color: var(--rg-d-cream) !important; }
body.rg-account.woocommerce-account div.woocommerce .rg-acct-tabs__list a[aria-current="page"] { background: var(--rg-d-cream); border-color: var(--rg-d-cream); color: var(--rg-d-ink) !important; }
body.rg-account.woocommerce-account div.woocommerce a.rg-acct-tabs__out {
	flex: 0 0 auto;
	font: 400 11px/1 'MatterMonoRegular', monospace !important;
	letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
	color: var(--rg-d-muted) !important; text-decoration: none;
}
body.rg-account.woocommerce-account div.woocommerce a.rg-acct-tabs__out:hover { color: var(--rg-d-cream) !important; }

body.rg-account .rg-acct-tabs__outli { display: none !important; }
@media (max-width: 900px) {
	body.rg-account .rg-acct-tabs__outli { display: list-item !important; }
	body.rg-account.woocommerce-account div.woocommerce .rg-acct-tabs__outli a { border-color: transparent; color: var(--rg-d-muted) !important; }
}

/* The page, on cream */
body.rg-account .rg-acct-body { max-width: 1440px; margin: 0 auto; padding: 56px 48px 120px; box-sizing: border-box; }
body.rg-account .rg-acct-body > * { max-width: 1040px; }

@media (max-width: 900px) {
	body.rg-account .rg-acct-wrap { padding-inline: 20px; }
	body.rg-account .rg-acct-hero { padding: 36px 0 24px; }
	body.rg-account.woocommerce-account div.woocommerce p.rg-acct-hero__title { font-size: 46px !important; }
	body.rg-account.woocommerce-account div.woocommerce p.rg-acct-hero__dek { font-size: 17px !important; }
	body.rg-account .rg-acct-hero__facts { gap: 12px 28px; margin-top: 24px; padding-top: 16px; }
	body.rg-account.woocommerce-account div.woocommerce .rg-acct-hero__facts b { font-size: 22px !important; }

	/* One row you swipe, pinned under the header; it bleeds to the screen
	   edge so the row reads as carrying on. Log out goes to the end. */
	body.rg-account .rg-acct-tabs__in { padding-inline: 0; padding-block: 12px; gap: 0; }
	body.rg-account .rg-acct-tabs__list {
		overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
		padding: 0 20px !important; scroll-padding-inline: 20px;
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
		mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
	}
	body.rg-account .rg-acct-tabs__list::-webkit-scrollbar { display: none; }
	body.rg-account .rg-acct-tabs__list li { scroll-snap-align: start; }
	body.rg-account .rg-acct-tabs__list li:last-child { padding-right: 28px; }
	body.rg-account.woocommerce-account div.woocommerce a.rg-acct-tabs__out { display: none; }

	body.rg-account .rg-acct-body { padding: 36px 20px 80px; }
}

/* Member home: the café and the shop */
body.rg-account .rg-home__cafe,
body.rg-account .rg-home__shop { margin-bottom: 64px; }
body.rg-account .rg-home__cafe-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 40px; align-items: start; padding-top: 24px; border-top: 1px solid var(--rg-ink); }
body.rg-account.woocommerce-account div.woocommerce p.rg-home__cafe-sub { margin: 0 0 16px !important; font-family: var(--rg-sans) !important; font-size: 22px !important; line-height: 1.35 !important; color: var(--rg-ink); }
/* The homepage's live status line (css/home-2026.css .rg-status), on cream. */
body.rg-account.woocommerce-account div.woocommerce p.rg-home__status { display: flex; align-items: center; gap: 10px; margin: 0 0 10px !important; font-family: var(--rg-mono) !important; font-size: 14px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--rg-ink); }
body.rg-account .rg-home__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--rg-muted); flex: none; }
body.rg-account .rg-home__status[data-state="open"] i { background: #7d8447; box-shadow: 0 0 0 4px rgb(125 132 71 / .18); }
body.rg-account .rg-home__status[data-state="soon"] i { background: #d6a258; box-shadow: 0 0 0 4px rgb(214 162 88 / .2); }
body.rg-account.woocommerce-account div.woocommerce p.rg-home__usual { margin: 0 0 20px !important; font-size: 17px !important; color: var(--rg-ink); }
body.rg-account .rg-home__usual strong { font-family: var(--rg-sans-bold); font-weight: 400; }
body.rg-account .rg-home__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
body.rg-account.woocommerce-account div.woocommerce a.rg-textlink { font-size: 15px; color: var(--rg-ink) !important; text-decoration: underline; text-underline-offset: 3px; }
body.rg-account .rg-home__cafe-photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rg-radius); }
body.rg-account .rg-home__cafe-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

body.rg-account .rg-home__shop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
body.rg-account .rg-home__grid { padding: 24px 0 0 !important; margin: 0 !important; border-top: 1px solid var(--rg-ink); }
body.rg-account .rg-home__grid ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 !important; padding: 0 !important; list-style: none; }
body.rg-account .rg-home__grid ul.products::before,
body.rg-account .rg-home__grid ul.products::after { content: none !important; }
body.rg-account .rg-home__grid ul.products > * { width: auto !important; margin: 0 !important; float: none !important; }

@media (max-width: 800px) {
	body.rg-account .rg-home__cafe-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	body.rg-account .rg-home__cafe-photo { order: -1; }
	body.rg-account .rg-home__grid ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
body.rg-account.woocommerce-account div.woocommerce p.rg-home__usual a { color: var(--rg-ink) !important; text-decoration: underline; text-underline-offset: 3px; }

/* The shop card on member home: the account forces every <p> to Matter
   (style.css, 0,3,3 !important), which undid the card's MatterMono. These
   are the shop grid's own values (product-category pages), one size down
   for the narrower columns. */
body.rg-account.woocommerce-account div.woocommerce .rg-home__grid p.productcardregular,
body.rg-account.woocommerce-account div.woocommerce .rg-home__grid p.productcardbold {
	margin: 0 !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	letter-spacing: 1.8px !important;
	text-transform: uppercase;
}
body.rg-account.woocommerce-account div.woocommerce .rg-home__grid p.productcardregular { font-family: 'MatterMonoRegular', monospace !important; color: #7a7977 !important; }
body.rg-account.woocommerce-account div.woocommerce .rg-home__grid p.productcardbold { font-family: 'MatterMonoMedium', monospace !important; color: #1c1c1c !important; }
body.rg-account.woocommerce-account div.woocommerce .rg-home__grid p.posttitle,
body.rg-account.woocommerce-account div.woocommerce .rg-home__grid p.category { margin-bottom: 14px !important; }
body.rg-account.woocommerce-account div.woocommerce .rg-home__grid p.price { margin-bottom: 14px !important; color: #1c1c1c !important; }
body.rg-account .rg-home__grid .productcard a { text-decoration: none; color: inherit; }

/* Tab swap in flight (js/member-tabs.js) */
body.rg-account .rg-acct-body { transition: opacity .15s; }
body.rg-account.rg-acct-loading .rg-acct-body { opacity: .45; }
body.rg-account .rg-acct-body:focus { outline: none; }


/* ---- Bike builder orders (inc/bike-builder.php) ------------------------
 *
 * "What happens next" on the order-received page and on the order in My
 * Account, and the size, finish and fit under the bike on the order-received
 * page. Colours are inherited, so it sits on either ground.
 */
body section.rg-bb-next { margin: 32px 0; padding: 24px 0 0; border-top: 1px solid currentColor; }
body section.rg-bb-next p.rg-bb-next-h { margin: 0 0 16px; font: 500 15px/1.2 'MatterMonoMedium', monospace; letter-spacing: 0.14em; text-transform: uppercase; color: inherit; }
body section.rg-bb-next ol { display: grid; gap: 12px; max-width: 62ch; margin: 0; padding: 0; list-style: none; counter-reset: rgbb; }
body section.rg-bb-next ol li { display: grid; grid-template-columns: 34px minmax(0, 1fr); margin: 0; padding: 0; list-style: none; counter-increment: rgbb; font: 400 16px/1.5 'MatterRegular', sans-serif; color: inherit; }
body section.rg-bb-next ol li::before { content: counter(rgbb, decimal-leading-zero); font: 500 14px/1.7 'MatterMonoMedium', monospace; letter-spacing: 0.1em; opacity: 0.6; }

div.orderitems div.rg-bb-chosen { min-width: 0; }
div.orderitems div.rg-bb-chosen ul.wc-item-meta { margin: 10px 0 0; padding: 0; list-style: none; font: 400 14px/1.6 'MatterMonoRegular', monospace; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
div.orderitems div.rg-bb-chosen ul.wc-item-meta li { margin: 0; padding: 0; list-style: none; }
/* The page hides every <p> in this list; the values here are in one. */
div.orderitems div.rg-bb-chosen ul.wc-item-meta p { display: inline; margin: 0; font: inherit; }
div.orderitems div.rg-bb-chosen ul.wc-item-meta strong { margin-right: 0.4em; font-weight: 400; }
