/* ==========================================================================
   Sunnyside — WooCommerce (loaded only when WooCommerce is active)
   Baseline product grid that matches the live site's cards, with the
   alignment issues fixed (square images, aligned titles/prices).
   ========================================================================== */

.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	/* One spacing scale for every product grid (shop, categories, sale,
	   related, homepage row, auctions). */
	--ss-grid-row-gap: 48px;
	--ss-grid-col-gap: 40px;
	/* Columns fill the width at ≥240px each (4 across on desktop, 1 on phones). */
	grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
	gap: var(--ss-grid-row-gap) var(--ss-grid-col-gap);
	margin: 0 0 2rem;
	padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}
@media (max-width: 768px) {
	.woocommerce ul.products {
		--ss-grid-row-gap: 40px;
		--ss-grid-col-gap: 24px;
	}
}

.woocommerce ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}
.woocommerce ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	margin: 0 0 0.85rem;
	border-radius: var(--ss-radius);
	transition: opacity 0.2s ease;
}
.woocommerce ul.products li.product a:hover img {
	opacity: 0.9;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ss-ink);
}
.woocommerce ul.products li.product .price {
	margin-top: 0.25rem;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--ss-charcoal);
}
.woocommerce ul.products li.product .price del {
	color: var(--ss-accent);
	font-weight: 400;
	opacity: 1;
}
.woocommerce ul.products li.product .price ins {
	text-decoration: none;
}
.woocommerce ul.products li.product .button {
	margin-top: auto;
	align-self: flex-start;
}

/* Sale badge: vertical tag in the corner, like the live site. */
.woocommerce span.onsale {
	top: 0;
	left: 0;
	right: auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0.5rem 0.3rem;
	border-radius: 0 0 2px 0;
	background: var(--ss-charcoal);
	color: var(--ss-white);
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	z-index: 2;
}
.woocommerce ul.products li.product .onsale {
	margin: 0;
}

.woocommerce .outofstock .price::after {
	content: "Out of stock";
	display: block;
	margin-top: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 900;
	color: var(--wp--preset--color--sale, #b81c23);
}

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	padding: 0.85em 1.6em;
	border-radius: 0;
	background: #1a1a1a;
	color: var(--ss-white);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: #333;
	color: var(--ss-white);
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: var(--ss-ink);
}

/* Homepage "On Sale" row: horizontal scroll-snap instead of a JS slider. */
.ss-product-row ul.products {
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 4 * var(--ss-grid-col-gap)) / 5);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	padding-bottom: 1rem;
}
.ss-product-row ul.products li.product {
	scroll-snap-align: start;
}
@media (max-width: 1024px) {
	.ss-product-row ul.products { grid-auto-columns: calc((100% - 2 * var(--ss-grid-col-gap)) / 3); }
}
@media (max-width: 768px) {
	.ss-product-row ul.products { grid-auto-columns: 42%; }
}

/* Single product */
.woocommerce div.product .product_title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 900;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--ss-charcoal);
	font-weight: 700;
}
.woocommerce div.product div.images img {
	border-radius: var(--ss-radius);
}

/* Notices */
.woocommerce-message,
.woocommerce-info {
	border-top-color: var(--ss-accent);
}
.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--ss-accent);
}

/* Breadcrumb / result count / ordering */
.woocommerce .woocommerce-breadcrumb {
	font-size: 0.8125rem;
	color: #777;
}
.woocommerce .woocommerce-ordering select {
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--ss-border);
	border-radius: var(--ss-radius);
	font: inherit;
	font-size: 0.875rem;
}

/* ==========================================================================
   Auction cards (template-parts/auction-card.php)
   Every card: image → title → price row → action area. The action area always
   has three fixed-height rows (status 30px / control 50px / note 36px) and is
   pinned to the bottom, so controls line up across a row.
   ========================================================================== */

.auctions-page .woocommerce-wrap ul.products {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.ss-auction-card {
	--ac-text: #1a1a1a;
	--ac-muted: #666;
	--ac-label: #555;
	--ac-divider: #e6e6e6;
	--ac-stepper-border: #cfcfcf;
	--ac-stepper-bg: #f4f4f4;
	--ac-live: #1a9a44;
	--ac-winning: #1a7a3a;
	--ac-upcoming: #e8830c;
	--ac-ended: rgba(20, 20, 20, 0.85);
	--ac-error: #b3261e;
	--ac-control-h: 50px;
	gap: 14px;
	color: var(--ac-text);
	font-family: var(--wp--preset--font-family--roboto, Roboto, Helvetica, sans-serif);
}
.woocommerce ul.products li.ss-auction-card {
	display: flex;
	flex-direction: column;
	gap: 10px; /* same rhythm as the shop product cards */
}
.ss-auction-card p {
	margin: 0;
}

/* Hide anything the plugin's live-update script injects into product cards. */
.ss-auction-card .afw-winning-badge,
.ss-auction-card .afw-outbid-badge,
.ss-auction-card .afw-lot-status-loop {
	display: none !important;
}

/* 1. Image + badge */
.ss-auction-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 6px;
	background: #1b1340;
}
.woocommerce ul.products li.ss-auction-card .ss-auction-card__media img {
	width: 100%;
	height: 100%;
	margin: 0;
	aspect-ratio: auto;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.4s var(--ss-ease-out, ease), opacity 0.2s ease;
}
.woocommerce ul.products li.ss-auction-card .ss-auction-card__media:hover img {
	opacity: 1;
	transform: scale(1.03);
}
.ss-auction-card.is-ended .ss-auction-card__media img {
	filter: saturate(0.6) brightness(0.8);
}
.ss-auction-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--ac-ended);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.is-live .ss-auction-card__badge,
.is-winning .ss-auction-card__badge {
	background: var(--ac-live);
}
.is-live .ss-auction-card__badge::before,
.is-winning .ss-auction-card__badge::before {
	content: "";
	width: 7px;
	height: 7px;
	flex: none;
	border-radius: 50%;
	background: #fff;
	animation: ss-live-pulse 2s ease-in-out infinite;
}
.is-upcoming .ss-auction-card__badge {
	background: var(--ac-upcoming);
}
@keyframes ss-live-pulse {
	50% { opacity: 0.35; }
}

/* 2. Title (its own height; cards in a row line up because the price row
   below is pushed to the bottom, not by reserving a second line) */
.woocommerce ul.products li.ss-auction-card .ss-auction-card__title {
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	text-wrap: pretty;
}
.woocommerce ul.products li.ss-auction-card .ss-auction-card__title,
.ss-auction-card__title a {
	color: var(--ac-text);
	text-decoration: none;
}
.ss-auction-card__title a:hover {
	color: var(--ss-accent, #f7931e);
}

/* 3. Price row: takes any spare height above it, so price + actions sit at the
   bottom of the card and line up across a row; a card on its own has no gap. */
.ss-auction-card__price-row {
	margin-top: auto;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}
.ss-auction-card__price {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.ss-auction-card__price-label {
	font-size: 13px;
	color: var(--ac-muted);
}
.ss-auction-card__amount {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
}
.ss-auction-card__bids {
	font-size: 14px;
	color: var(--ac-muted);
	white-space: nowrap;
}

/* 4. Action area */
.ss-auction-card__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 14px;
	border-top: 1px solid var(--ac-divider);
}
.ss-auction-card__status {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	min-height: 30px;
	font-size: 16px;
}
.ss-auction-card__status-label {
	color: var(--ac-label);
}
.ss-auction-card__status-value {
	font-size: 22px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.ss-auction-card__note {
	min-height: 36px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--ac-muted);
}
.is-winning .ss-auction-card__note {
	color: var(--ac-winning);
	font-weight: 500;
}
.ss-auction-card .ss-auction-card__note.is-error {
	color: var(--ac-error);
	font-weight: 500;
}
.ss-auction-card .ss-auction-card__note.is-ok {
	color: var(--ac-winning);
	font-weight: 500;
}
.ss-auction-card__note a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
}

/* Controls: shared */
.ss-auction-card__primary,
.ss-auction-card__outline {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	height: var(--ac-control-h);
	margin: 0;
	border-radius: 0;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.ss-auction-card__primary {
	flex: none;
	padding: 0 18px;
	border: 0;
	background: var(--ac-text);
	color: #fff;
}
.ss-auction-card__primary:hover,
.ss-auction-card__primary:focus-visible {
	background: #333;
}
.ss-auction-card__primary:disabled {
	opacity: 0.6;
	cursor: progress;
}
.ss-auction-card__outline {
	width: 100%;
	padding: 0 16px;
	border: 1.5px solid var(--ac-text);
	background: #fff;
	color: var(--ac-text);
}
.ss-auction-card a.ss-auction-card__outline:hover,
.ss-auction-card__outline:hover,
.ss-auction-card__outline[aria-pressed="true"] {
	background: var(--ac-text);
	color: #fff;
}
.ss-auction-card__outline .when-on,
.ss-auction-card__outline[aria-pressed="true"] .when-off {
	display: none;
}
.ss-auction-card__outline[aria-pressed="true"] .when-on {
	display: inline;
}
.ss-auction-card :focus-visible {
	outline: 2px solid var(--ss-accent, #f7931e);
	outline-offset: 2px;
}

/* Stepper + primary button */
.ss-auction-card__bid {
	display: flex;
	gap: 8px;
	margin: 0;
}
.ss-stepper {
	box-sizing: border-box;
	display: flex;
	flex: 1;
	min-width: 0;
	height: var(--ac-control-h);
	border: 1px solid var(--ac-stepper-border);
}
.ss-stepper__btn {
	flex: none;
	width: 44px;
	padding: 0;
	border: 0;
	background: var(--ac-stepper-bg);
	color: var(--ac-text);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}
.ss-stepper__btn:hover {
	background: #e9e9e9;
}
.ss-stepper__field {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	min-width: 0;
	font-size: 16px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	cursor: text;
}
.ss-stepper__input {
	/* Width tracks the value (set in auctions.js) so "$140" sits centered. */
	width: 4ch;
	min-width: 2ch;
	max-width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	-moz-appearance: textfield;
	appearance: textfield;
}
.ss-stepper__input::-webkit-outer-spin-button,
.ss-stepper__input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}
.ss-stepper__input:focus {
	outline: none;
}
.ss-stepper:focus-within {
	border-color: var(--ac-text);
}

/* Guest "Notify me": email field swaps in at the same height */
.ss-auction-card__notify-form {
	display: flex;
	gap: 8px;
	margin: 0;
}
.ss-auction-card__notify-form[hidden],
.ss-auction-card__notify-toggle[hidden] {
	display: none;
}
.ss-auction-card__notify-form input {
	box-sizing: border-box;
	flex: 1;
	min-width: 0;
	height: var(--ac-control-h);
	padding: 0 14px;
	border: 1px solid var(--ac-stepper-border);
	border-radius: 0;
	font: inherit;
	font-size: 16px;
}
.ss-auction-card__notify-form input:focus {
	border-color: var(--ac-text);
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	.is-live .ss-auction-card__badge::before,
	.is-winning .ss-auction-card__badge::before {
		animation: none;
	}
	.woocommerce ul.products li.ss-auction-card .ss-auction-card__media img {
		transition: none;
	}
}

/* ==========================================================================
   Shop archive layout (woocommerce.php + inc/shop.php)
   Title → toolbar (chips · count · sort) → grid → Load more.
   ========================================================================== */

.ss-shop {
	--shop-text: #1a1a1a;
	--shop-muted: #555;
	--shop-border: #cfcfcf;
	--shop-divider: #e6e6e6;
	--shop-focus: #e8830c;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding-block: 48px 96px;
	color: var(--shop-text);
}
.ss-shop > .woocommerce-notices-wrapper:empty {
	display: none;
}
.ss-shop .woocommerce-products-header,
.ss-shop .term-description,
.ss-shop .page-description {
	margin: 0;
	text-align: center;
}
.woocommerce .ss-shop ul.products {
	margin: 0;
}
.ss-shop__title {
	margin: 0;
	font-size: clamp(36px, 5vw, 52px);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-align: center;
	color: var(--shop-text);
}

/* Toolbar */
.ss-shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--shop-divider);
}
.ss-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ss-shop-toolbar__right {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: auto;
}
.ss-shop-toolbar__count {
	margin: 0;
	font-size: 16px;
	color: var(--shop-muted);
	white-space: nowrap;
}
:is(.woocommerce, .ss-sale) .ss-sort {
	display: flex;
	align-items: center;
	gap: 10px;
	float: none;
	margin: 0;
}
/* Same look as the Auctions page sort: label outside, square 48px select. */
.ss-sort__label {
	font-size: 16px;
	color: #444;
	white-space: nowrap;
}
:is(.woocommerce, .ss-sale) .ss-sort .ss-sort__select {
	box-sizing: border-box;
	height: 48px;
	max-width: 100%;
	padding: 0 44px 0 16px;
	border: 1.5px solid #cfcfcf;
	border-radius: 0;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
	color: #1a1a1a;
	font: inherit;
	font-size: 17px;
	font-weight: 500;
	text-overflow: ellipsis;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
:is(.woocommerce, .ss-sale) .ss-sort .ss-sort__select:hover {
	border-color: #1a1a1a;
}
:is(.woocommerce, .ss-sale) .ss-sort .ss-sort__select:focus-visible,
.ss-product-card a:focus-visible {
	outline: 3px solid var(--shop-focus);
	outline-offset: 2px;
}
@media (max-width: 600px) {
	.ss-shop-toolbar__right {
		width: 100%;
		flex-wrap: wrap;
		justify-content: space-between;
		margin-left: 0;
	}
	/* Long sort labels ("Sort auction by ending soonest") drop to their own line. */
	:is(.woocommerce, .ss-sale) .ss-sort {
		flex: 1 1 220px;
		min-width: 0;
	}
	:is(.woocommerce, .ss-sale) .ss-sort .ss-sort__select {
		flex: 1;
		min-width: 0;
		width: 100%;
		max-width: 100%;
	}
}

/* ==========================================================================
   Product card (template-parts/product-card.php)
   ========================================================================== */

.woocommerce ul.products li.ss-product-card {
	gap: 10px;
	color: #1a1a1a;
}
.ss-product-card p {
	margin: 0;
}
.ss-product-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	margin-bottom: 6px;
	overflow: hidden;
	border-radius: 6px;
	background: #1b1340;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ss-product-card__media:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}
.woocommerce ul.products li.ss-product-card .ss-product-card__media img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
}
.woocommerce ul.products li.ss-product-card .ss-product-card__media:hover img {
	opacity: 1;
}
.ss-product-card__noimg {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: repeating-linear-gradient(135deg, #f1f1ef 0 10px, #e8e8e5 10px 20px);
	color: #666;
	font-size: 13px;
}
.ss-product-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 6px 10px;
	border-radius: 999px;
	background: #e8830c;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ss-product-card__meta {
	min-height: 1.4em; /* Kept even when empty so names/prices line up. */
	font-size: 14px;
	line-height: 1.4;
	color: #666;
}
.woocommerce ul.products li.ss-product-card .ss-product-card__title {
	min-height: 2.6em;
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	text-wrap: pretty;
}
.ss-product-card__title a {
	color: #1a1a1a;
	text-decoration: none;
}
.ss-product-card__title a:hover {
	color: #e8830c;
}
.ss-product-card__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	min-height: 32px;
	margin-top: -4px; /* Sit a little closer to the title. */
}
/* One column (phones): no neighbours to line up with, so don't reserve a
   second title line. */
@media (max-width: 600px) {
	.woocommerce ul.products li.ss-product-card .ss-product-card__title {
		min-height: 0;
	}
}

/* Rows of product cards share row heights via subgrid: a title only takes two
   lines of space when a title in that row actually wraps, and prices/buttons
   still line up. Gaps are zero (a subgrid can't use smaller gaps than its
   parent), so spacing comes from margins plus a spacer row (::after) that
   provides the gap between rows of cards. Grids that mix in auction cards keep
   the min-height approach. */
@supports (grid-template-rows: subgrid) {
	.woocommerce ul.products:not(:has(> .ss-auction-card)):has(> .ss-product-card) {
		row-gap: 0;
		margin-bottom: calc(-1 * var(--ss-grid-row-gap));
	}
	.woocommerce ul.products:not(:has(> .ss-auction-card)) > li.ss-product-card {
		display: grid;
		grid-row: span 6;
		grid-template-rows: subgrid;
		row-gap: 0;
	}
	.woocommerce ul.products:not(:has(> .ss-auction-card)) > li.ss-product-card::after {
		content: "";
		height: var(--ss-grid-row-gap);
	}
	.woocommerce ul.products:not(:has(> .ss-auction-card)) > li.ss-product-card > :not(:last-child):not(.ss-product-card__button):not(.ss-product-card__soldout) {
		margin-bottom: 10px;
	}
	.woocommerce ul.products:not(:has(> .ss-auction-card)) > li.ss-product-card > .ss-product-card__media {
		margin-bottom: 16px;
	}
	.woocommerce ul.products:not(:has(> .ss-auction-card)) > li.ss-product-card .ss-product-card__title {
		min-height: 0;
	}
	.woocommerce ul.products:not(:has(> .ss-auction-card)) > li.ss-product-card .ss-product-card__button,
	.woocommerce ul.products:not(:has(> .ss-auction-card)) > li.ss-product-card .ss-product-card__soldout {
		margin-top: 0;
		align-self: end;
	}
}

.ss-product-card__amount {
	font-size: 24px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: #1a1a1a;
}
.ss-product-card__price.is-sale .ss-product-card__amount {
	color: #1a1a1a;
}
.ss-product-card__was {
	font-size: 16px;
	color: #777;
	font-variant-numeric: tabular-nums;
}
.ss-product-card__save {
	font-size: 14px;
	font-weight: 700;
	color: #176b33;
}

/* Button: pinned to the bottom so buttons align across a row. */
.ss-product-card__button,
.ss-product-card__soldout {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	margin-top: auto;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ss-product-card__button {
	border: 0;
	background: #1a1a1a;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.2s ease;
}
.ss-product-card__button:hover {
	background: #333;
	color: #fff;
}
.ss-product-card__button.loading {
	opacity: 0.6;
	cursor: progress;
}
.ss-product-card__button.loading::after {
	display: none; /* Woo's spinner icon font; the dimmed state is enough. */
}
.ss-product-card__button.is-added,
.ss-product-card__button.is-added:hover {
	background: #1a7a3a;
}
.ss-product-card .added_to_cart {
	display: none;
}
.ss-product-card__soldout {
	border: 1.5px solid #e6e6e6;
	color: #777;
}

@media (prefers-reduced-motion: reduce) {
	.ss-product-card__media,
	.ss-product-card__media:hover {
		transform: none;
		transition: none;
	}
}

/* ==========================================================================
   Single auction page (template-parts/auction-single*.php)
   ========================================================================== */

.ss-ap {
	--ap-text: #1a1a1a;
	--ap-body: #444;
	--ap-muted: #555;
	--ap-border: #cfcfcf;
	--ap-divider: #e6e6e6;
	--ap-live: #1a9a44;
	--ap-urgent: #c43d1f;
	--ap-upcoming: #e8830c;
	--ap-ended: rgba(20, 20, 20, 0.85);
	--ap-focus: #e8830c;
	/* Stepper (shared with auction cards) at the larger 56px size. */
	--ac-control-h: 56px;
	--ac-stepper-border: #cfcfcf;
	--ac-stepper-bg: #f4f4f4;
	--ac-text: #1a1a1a;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 72px;
	max-width: calc(var(--ss-container) + 2 * clamp(16px, 4vw, 48px));
	margin-inline: auto;
	padding: 40px clamp(16px, 4vw, 48px) 96px;
	color: var(--ap-text);
	container-type: inline-size;
}
.ss-ap p {
	margin: 0;
}
.ss-ap :focus-visible {
	outline: 3px solid var(--ap-focus);
	outline-offset: 2px;
}
.ss-ap > .woocommerce-notices-wrapper:empty {
	display: none;
}
.ss-ap > .woocommerce-notices-wrapper {
	margin-bottom: -40px;
}

/* Product area */
.ss-ap__product {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 48px 56px;
	align-items: start;
}

/* Gallery: the sticky element lives inside its own stretched cell so it
   never covers the details when the layout stacks. */
.ss-ap__gallery-cell {
	align-self: stretch;
}
.ss-ap__gallery {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ss-ap__photo {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 8px;
	background: #1b1340;
	cursor: zoom-in;
}
.ss-ap__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ss-ap__photo--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background: repeating-linear-gradient(135deg, #f1f1ef 0 10px, #e8e8e5 10px 20px);
	color: #666;
	cursor: default;
}
.ss-ap__zoom {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ap-text);
}
.ss-ap__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ss-ap__thumb {
	width: 84px;
	height: 84px;
	padding: 0;
	overflow: hidden;
	border: 2.5px solid transparent;
	border-radius: 6px;
	background: #1b1340;
	cursor: pointer;
}
.ss-ap__thumb[aria-pressed="true"] {
	border-color: var(--ap-text);
}
.ss-ap__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Details column */
.ss-ap__details,
.ss-ap__live {
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.ss-ap__head {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.ss-ap__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.ss-ap__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--ap-live);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.tone-urgent .ss-ap__badge { background: var(--ap-urgent); }
.tone-upcoming .ss-ap__badge { background: var(--ap-upcoming); }
.tone-ended .ss-ap__badge { background: var(--ap-ended); }
.tone-live:not(.is-won) .ss-ap__badge::before,
.tone-urgent .ss-ap__badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
}
.ss-ap__meta {
	font-size: 15px;
	color: var(--ap-muted);
}
.ss-ap__title {
	margin: 0;
	font-size: clamp(32px, 3.6vw, 42px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--ap-text);
	text-wrap: pretty;
}

/* Banner */
.ss-ap__banner {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
	border-radius: 6px;
}
.ss-ap__banner strong { font-size: 18px; }
.ss-ap__banner span { font-size: 16px; line-height: 1.5; }
.ss-ap__banner.is-good { background: #e8f5ec; color: #155f2d; }
.ss-ap__banner.is-bad { background: #fdecea; color: #a8321a; }

/* Price */
.ss-ap__price {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ss-ap__price-label {
	font-size: 16px;
	color: var(--ap-muted);
}
.ss-ap__price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 16px;
}
.ss-ap__amount {
	font-size: 44px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.ss-ap__reserve {
	display: inline-flex;
	align-self: center;
	align-items: center;
	gap: 7px;
	height: 34px;
	padding: 0 14px 0 10px;
	border: 1px solid;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
}
.ss-ap__reserve.is-met { color: #176b33; background: #f0f8f2; border-color: #bfe0c9; }
.ss-ap__reserve.is-notmet { color: #7a4b00; background: #fff8ea; border-color: #efd6a6; }
.ss-ap__bids-link,
.ss-ap__help a,
.ss-ap__link-btn,
.ss-ap__how-toggle {
	width: fit-content;
	color: var(--ap-text);
	font-size: 16px;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.ss-ap__bids-link:hover,
.ss-ap__help a:hover,
.ss-ap__link-btn:hover,
.ss-ap__how-toggle:hover {
	color: var(--ap-focus);
}
.ss-ap__link-btn,
.ss-ap__how-toggle {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
}

/* Countdown */
.ss-ap__time {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 0;
	border-top: 1px solid var(--ap-divider);
	border-bottom: 1px solid var(--ap-divider);
}
.ss-ap__time-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}
.ss-ap__time-label {
	font-size: 17px;
	color: var(--ap-muted);
}
.ss-ap__time-value {
	font-size: 30px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.ss-ap__live[data-urgent="1"] .ss-ap__time-value,
.ss-ap__live[data-urgent="1"] .ss-ap-bar__time {
	color: var(--ap-urgent);
}
.ss-ap__time-sub {
	font-size: 16px;
	color: var(--ap-muted);
}
.ss-ap__soft {
	margin-top: 6px !important;
	padding: 12px 14px;
	border-radius: 6px;
	background: #fdecea;
	color: #a8321a;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.45;
}

/* Actions */
.ss-ap__actions,
.ss-ap__bid {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ss-ap__label {
	font-size: 16px;
	font-weight: 500;
}
.ss-ap__row {
	display: flex;
	gap: 8px;
}
.ss-stepper--lg .ss-stepper__btn {
	width: 52px;
	font-size: 22px;
}
.ss-stepper--lg .ss-stepper__field {
	font-size: 19px;
	font-weight: 700;
}
.ss-ap__primary,
.ss-ap__outline {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	padding: 0 26px;
	border-radius: 0;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ss-ap__primary {
	flex: none;
	border: 0;
	background: var(--ap-text);
	color: #fff;
}
.ss-ap__primary:hover {
	background: #333;
	color: #fff;
}
.ss-ap__primary:disabled {
	opacity: 0.6;
	cursor: progress;
}
.ss-ap__primary--full {
	flex: 1;
}
.ss-ap__primary--pay {
	flex: none;
	width: 100%;
	background: var(--ap-live);
}
.ss-ap__primary--pay:hover {
	background: #168a3c;
}
.ss-ap__outline {
	width: 100%;
	border: 1.5px solid var(--ap-text);
	background: #fff;
	color: var(--ap-text);
}
.ss-ap__outline:hover,
.ss-ap__outline[aria-pressed="true"] {
	background: var(--ap-text);
	color: #fff;
}
.ss-ap__outline--soft {
	border-color: var(--ap-border);
}
.ss-ap__outline--soft:hover {
	border-color: var(--ap-text);
}
.ss-ap__outline .when-on,
.ss-ap__outline[aria-pressed="true"] .when-off {
	display: none;
}
.ss-ap__outline[aria-pressed="true"] .when-on {
	display: inline;
}
.ss-ap__outline[hidden],
.ss-ap__notify-form[hidden] {
	display: none;
}
.ss-ap__notify-form {
	display: flex;
	gap: 8px;
}
.ss-ap__notify-form input {
	box-sizing: border-box;
	flex: 1;
	min-width: 0;
	height: 56px;
	padding: 0 16px;
	border: 1px solid var(--ap-border);
	border-radius: 0;
	font: inherit;
	font-size: 17px;
}
.ss-ap__watch {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 1.5px solid var(--ap-border);
	background: #fff;
	color: var(--ap-text);
	cursor: pointer;
}
.ss-ap__watch svg {
	fill: none;
}
.ss-ap__watch:hover {
	border-color: var(--ap-text);
}
.ss-ap__watch[aria-pressed="true"] {
	border-color: var(--ap-urgent);
	color: var(--ap-urgent);
}
.ss-ap__watch[aria-pressed="true"] svg {
	fill: currentColor;
}
.ss-ap__help {
	font-size: 16px;
	line-height: 1.55;
	color: var(--ap-body);
}
.ss-ap__help a {
	font-weight: 500;
}
.ss-ap__msg {
	padding: 12px 14px;
	border-radius: 6px;
	background: #fdecea;
	color: #a8321a;
	font-size: 16px;
	font-weight: 500;
}
.ss-ap__msg.is-ok {
	background: #e8f5ec;
	color: #155f2d;
}
.ss-ap__msg[hidden],
.ss-ap__how[hidden] {
	display: none;
}
.ss-ap__how {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 16px 16px 16px 36px;
	background: #f4f4f2;
	color: #333;
	font-size: 16px;
	line-height: 1.5;
}

/* Buy now */
.ss-ap__buy {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
}
.ss-ap__or {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 15px;
	color: var(--ap-muted);
}
.ss-ap__or::before,
.ss-ap__or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--ap-divider);
}

/* History + About */
.ss-ap__history,
.ss-ap__about {
	display: flex;
	flex-direction: column;
	gap: 12px;
	scroll-margin-top: 24px;
}
.ss-ap__about {
	gap: 14px;
}
.ss-ap__h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
}
.ss-ap__bids {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ss-ap__bid-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: baseline;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	font-size: 16px;
}
.ss-ap__bid-row[hidden] {
	display: none;
}
.ss-ap__bid-row.is-you .ss-ap__bid-who {
	font-weight: 700;
}
.ss-ap__bid-when {
	color: var(--ap-muted);
}
.ss-ap__bid-amount {
	min-width: 64px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-align: right;
}
.ss-ap__desc {
	font-size: 17px;
	line-height: 1.65;
	color: #333;
	text-wrap: pretty;
}
.ss-ap__desc p + p {
	margin-top: 1em;
}
.ss-ap__desc p + ul,
.ss-ap__desc ul + p {
	margin-top: 1em;
}
.ss-ap__desc ul {
	margin: 0;
	padding-left: 1.25em;
}
.ss-ap__desc li + li {
	margin-top: 4px;
}
.ss-ap__desc li::marker {
	color: #777;
}
.ss-ap__specs {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 10px 24px;
	margin: 0;
	font-size: 16px;
}
.ss-ap__specs dt {
	color: var(--ap-muted);
}
.ss-ap__specs dd {
	margin: 0;
	font-weight: 500;
}

/* More auctions: single-link cards with one shared structure */
.ss-ap-more {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.ss-ap-more__title {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
}
.ss-ap-more__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 32px 24px;
}
.ss-ap-more__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: var(--ap-text);
	text-decoration: none;
}
.ss-ap-more__card:hover {
	color: var(--ap-text);
}
.ss-ap-more__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	margin-bottom: 4px;
	overflow: hidden;
	border-radius: 6px;
	background: #1b1340;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ss-ap-more__card:hover .ss-ap-more__media {
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}
.ss-ap-more__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ss-ap-more__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--ap-ended);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ss-ap-more__badge.tone-live { background: var(--ap-live); }
.ss-ap-more__badge.tone-live::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
}
.ss-ap-more__badge.tone-upcoming { background: var(--ap-upcoming); }
.ss-ap-more__name {
	min-height: 2.6em;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	text-wrap: pretty;
}
.ss-ap-more__card:hover .ss-ap-more__name {
	color: var(--ap-focus);
}
.ss-ap-more__price {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.ss-ap-more__plabel {
	font-size: 14px;
	color: #666;
}
.ss-ap-more__amount {
	font-size: 24px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.ss-ap-more__status {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid var(--ap-divider);
	font-size: 15px;
}
.ss-ap-more__status span {
	color: var(--ap-muted);
}
.ss-ap-more__status strong {
	font-variant-numeric: tabular-nums;
}

/* Confirmation dialog + lightbox (native <dialog>) */
.ss-ap-dialog {
	width: calc(100% - 32px);
	max-width: 440px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	color: var(--ap-text, #1a1a1a);
	--ap-text: #1a1a1a;
	--ap-border: #cfcfcf;
}
.ss-ap-dialog::backdrop {
	background: rgba(0, 0, 0, 0.55);
}
.ss-ap-dialog__panel {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 28px;
}
.ss-ap-dialog__panel p {
	margin: 0;
}
.ss-ap-dialog__title {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
}
.ss-ap-dialog__amount {
	font-size: 44px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.ss-ap-dialog__body {
	font-size: 17px;
	line-height: 1.55;
	color: #444;
}
.ss-ap-dialog__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ss-ap-dialog .ss-ap__primary,
.ss-ap-dialog .ss-ap__outline {
	width: 100%;
	background: #1a1a1a;
}
.ss-ap-dialog .ss-ap__outline {
	border: 1.5px solid #cfcfcf;
	background: #fff;
	color: #1a1a1a;
}
.ss-ap-dialog .ss-ap__outline:hover {
	border-color: #1a1a1a;
	background: #fff;
	color: #1a1a1a;
}
.ss-ap-dialog :focus-visible,
.ss-ap-lightbox :focus-visible {
	outline: 3px solid #e8830c;
	outline-offset: 2px;
}
.ss-ap-lightbox {
	max-width: none;
	max-height: none;
	width: 100%;
	height: 100%;
	padding: 24px;
	border: 0;
	background: transparent;
	cursor: zoom-out;
}
.ss-ap-lightbox[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}
.ss-ap-lightbox::backdrop {
	background: rgba(0, 0, 0, 0.92);
}
.ss-ap-lightbox img {
	max-width: min(92vw, 1100px);
	max-height: 88vh;
	object-fit: contain;
	border-radius: 6px;
}
.ss-ap-lightbox__close {
	position: fixed;
	top: 18px;
	right: 18px;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #1a1a1a;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

/* Mobile bid bar */
.ss-ap-bar {
	display: none;
}
@container (max-width: 759px) {
	.ss-ap.has-bar {
		padding-bottom: 140px;
	}
	.ss-ap-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 20;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 12px 16px;
		border-top: 1px solid #e0e0e0;
		background: #fff;
		box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
	}
	.ss-ap-bar__info {
		display: flex;
		flex: 1;
		flex-direction: column;
		gap: 2px;
		min-width: 0;
	}
	.ss-ap-bar__price {
		font-size: 20px;
		font-weight: 700;
		font-variant-numeric: tabular-nums;
	}
	.ss-ap-bar__time {
		font-size: 14px;
		font-weight: 500;
		font-variant-numeric: tabular-nums;
	}
	.ss-ap-bar .ss-ap__primary {
		height: 52px;
		padding: 0 22px;
	}
	/* Narrow: the watch heart wraps under the stepper row if needed. */
	.ss-ap__bid .ss-ap__row {
		flex-wrap: wrap;
	}
	.ss-ap__bid .ss-stepper {
		flex-basis: 100%;
	}
	.ss-ap__bid .ss-ap__primary {
		flex: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ss-ap-more__media,
	.ss-ap-more__card:hover .ss-ap-more__media {
		transform: none;
		transition: none;
	}
}

/* ==========================================================================
   Sale page (page-sale.php)
   4 across on wide screens, 2×2 below that (never 3 + 1), 1 column on phones.
   ========================================================================== */

.ss-sale {
	/* Same tokens as .ss-shop so the shared toolbar/sort styles resolve. */
	--shop-text: #1a1a1a;
	--shop-muted: #555;
	--shop-border: #cfcfcf;
	--shop-divider: #e6e6e6;
	--shop-focus: #e8830c;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding-block: 48px 96px;
	color: #1a1a1a;
	container-type: inline-size;
}
.ss-sale__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}
.ss-sale__intro {
	max-width: 560px;
	color: #444;
	font-size: 18px;
	line-height: 1.6;
	text-wrap: pretty;
}
.ss-sale__intro p {
	margin: 0;
}
.ss-sale .ss-shop-toolbar {
	padding-bottom: 20px;
	border-bottom: 1px solid #e6e6e6;
}
.ss-sale .ss-shop-toolbar__count {
	color: #555;
}
.ss-sale .woocommerce ul.ss-sale__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}
@container (min-width: 1000px) {
	.ss-sale .woocommerce ul.ss-sale__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
@container (max-width: 559.98px) {
	.ss-sale .woocommerce ul.ss-sale__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Discount badge: "−27%" (dark text on orange for contrast). */
.ss-product-card__badge.is-pct {
	color: #1a1a1a;
	font-size: 13px;
	letter-spacing: normal;
	font-variant-numeric: tabular-nums;
	text-transform: none;
}

.ss-sale__empty {
	margin: 0;
	padding: 48px 0 8px;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}

/* Auctions cross-link — the whole block is one link */
.ss-sale__xlink {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: 24px;
	padding: 28px clamp(20px, 3vw, 36px);
	border-radius: 8px;
	background: #f4f4f2;
	color: #1a1a1a;
	text-decoration: none;
	transition: box-shadow 0.2s ease;
}
.ss-sale__xlink:hover {
	color: #1a1a1a;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}
.ss-sale__xlink:focus-visible {
	outline: 3px solid #e8830c;
	outline-offset: 2px;
}
.ss-sale__xlink-text {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.ss-sale__xlink-title {
	font-size: 22px;
	font-weight: 700;
}
.ss-sale__xlink-body {
	color: #444;
	font-size: 17px;
}
.ss-sale__xlink-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 50px;
	padding: 0 24px;
	background: #1a1a1a;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: background-color 0.15s ease;
}
.ss-sale__xlink:hover .ss-sale__xlink-cta {
	background: #333;
}

/* ==========================================================================
   Regular product page (template-parts/product-single.php)
   Built on the auction page parts (.ss-ap wrapper, gallery, About, bar).
   ========================================================================== */

.ss-ap__photo-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #e8830c;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.ss-ap__row[hidden] {
	display: none;
}
.ss-pp .ss-ap__head {
	gap: 12px;
}
.ss-pp__meta {
	width: fit-content;
	color: #555;
	font-size: 15px;
	text-decoration: none;
}
a.ss-pp__meta:hover {
	color: #e8830c;
}

/* Price + stock */
.ss-pp__price {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}
.ss-pp__price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 14px;
}
.ss-pp__amount {
	font-size: 44px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.ss-pp__price-row.is-sale .ss-pp__amount {
	color: #1a1a1a;
}
.ss-pp__was {
	color: #777;
	font-size: 20px;
	font-variant-numeric: tabular-nums;
}
.ss-pp__save {
	color: #176b33;
	font-size: 16px;
	font-weight: 700;
}
.ss-pp__stock {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 34px;
	padding: 0 14px 0 10px;
	border: 1px solid;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
}
.ss-pp__stock.is-in { color: #176b33; background: #f0f8f2; border-color: #bfe0c9; }
.ss-pp__stock.is-low { color: #7a4b00; background: #fff8ea; border-color: #efd6a6; }
.ss-pp__stock.is-out { color: #555; background: #f4f4f4; border-color: #ddd; }

/* Purchase area */
.ss-pp__buy {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid #e6e6e6;
}
.ss-pp__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
}
.ss-pp__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ss-pp__qty {
	flex: 0 0 168px;
}
.ss-pp__qty .ss-stepper__input {
	width: 3ch;
	text-align: center;
}
.ss-stepper__btn:disabled {
	color: #b5b5b5;
	cursor: not-allowed;
}
.ss-pp__actions {
	display: flex;
	flex: 1 1 200px;
	gap: 8px;
}
.ss-pp__add {
	flex: 1;
	transition: background-color 0.2s ease;
}
.ss-pp__add.is-added,
.ss-pp__add.is-added:hover {
	background: #1a7a3a;
}
.ss-pp .ss-ap__row .ss-ap__outline {
	flex: 1;
	width: auto;
}
a.ss-ap__watch {
	text-decoration: none;
}
.ss-pp__checks {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}
.ss-pp__checks li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #333;
	font-size: 16px;
	line-height: 1.45;
}
.ss-pp__checks svg {
	flex-shrink: 0;
	margin-top: 1px;
	color: #1a7a3a;
}

/* WooCommerce's own form (variable / grouped / external products) */
.ss-pp__woo-form form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}
.ss-pp__woo-form .single_add_to_cart_button {
	min-height: 56px;
	padding: 0 26px;
	border-radius: 0;
	background: #1a1a1a;
	font-size: 15px;
	letter-spacing: 0.08em;
}
.ss-pp__woo-form table.variations select {
	height: 48px;
	padding: 0 14px;
	border: 1px solid #cfcfcf;
	font: inherit;
}

/* Variable products: option buttons (woocommerce/single-product/add-to-cart/variable.php,
   assets/js/product-options.js). WooCommerce's real selects stay, hidden behind the buttons. */
.ss-pp__woo-form form.ss-vo {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 24px;
}
.ss-vo__groups {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.ss-vo__group {
	position: relative;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
.ss-vo__legend {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 12px;
	padding: 0;
	font-size: 17px;
	font-weight: 700;
}
.ss-vo__chosen {
	color: #444;
	font-weight: 400;
}
.ss-vo__opts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ss-vo__opt {
	box-sizing: border-box;
	min-width: 56px;
	height: 48px;
	padding: 0 18px;
	border: 1.5px solid #cfcfcf;
	border-radius: 0;
	background: #fff;
	color: #1a1a1a;
	font: inherit;
	font-size: 17px;
	font-weight: 400;
	cursor: pointer;
}
.ss-vo__opt:hover {
	border-color: #1a1a1a;
}
.ss-vo__opt[aria-pressed="true"] {
	border: 2px solid #1a1a1a;
	font-weight: 700;
}
.ss-vo__opt.is-unavailable,
.ss-vo__opt.is-unavailable:hover {
	border: 1.5px dashed #cfcfcf;
	color: #9a9a9a;
	text-decoration: line-through;
	cursor: not-allowed;
}
.ss-vo__opt:focus-visible,
.ss-vo__select:focus-visible,
.ss-vo__clear:focus-visible,
.ss-vo__add:focus-visible {
	outline: 3px solid #e8830c;
	outline-offset: 2px;
}
/* The real select behind the buttons (still read by WooCommerce). */
.ss-vo__native {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	border: 0;
	clip-path: inset(50%);
	white-space: nowrap;
}
/* More than 8 options: the select itself. */
.ss-vo__select {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 0 48px 0 16px;
	border: 1.5px solid #cfcfcf;
	border-radius: 0;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
	color: #1a1a1a;
	font: inherit;
	font-size: 17px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
.ss-vo__select:hover {
	border-color: #1a1a1a;
}
.ss-vo__clear {
	align-self: flex-start;
	min-height: 44px;
	margin-top: -12px;
	padding: 0;
	border: 0;
	background: none;
	color: #555;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.ss-vo__clear:hover {
	color: #1a1a1a;
}
.ss-vo__clear[hidden] {
	display: none !important; /* WooCommerce fades the link in with inline styles */
}
/* One price: the main one above updates; the pill shows stock. */
.ss-vo .woocommerce-variation-price,
.ss-vo .woocommerce-variation-availability {
	display: none;
}
.ss-vo .woocommerce-variation-description:not(:empty) {
	margin-bottom: 16px;
	color: #444;
	font-size: 16px;
	line-height: 1.5;
}
.ss-vo .woocommerce-variation-description p {
	margin: 0;
}
.ss-vo .single_variation > p,
.ss-vo .wc-no-matching-variations {
	margin: 0 0 16px;
	color: #b3261e;
	font-size: 16px;
}
.ss-vo__buy {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ss-vo__add {
	flex: 1 1 220px;
}
.ss-pp__woo-form .ss-vo__add.is-pending,
.ss-pp__woo-form .ss-vo__add.is-pending:hover {
	background: #e6e6e6;
	color: #555;
	cursor: not-allowed;
}

.ss-pp__about {
	padding-top: 24px;
	border-top: 1px solid #e6e6e6;
}

/* You might also like: 4 across, 2×2 below that (never 3 + 1), 1 on phones */
.ss-pp__related {
	display: flex;
	flex-direction: column;
	gap: 24px;
	container-type: inline-size;
}
.ss-pp__related .woocommerce ul.ss-grid-4 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}
@container (min-width: 1000px) {
	.ss-pp__related .woocommerce ul.ss-grid-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
@container (max-width: 559.98px) {
	.ss-pp__related .woocommerce ul.ss-grid-4 {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ss-ap-bar__price.is-sale {
	color: #1a1a1a;
}

/* ==========================================================================
   Live auction pop-ups (Auctions plugin → Noty). Branded card with a coloured
   accent + small label; sits under the sticky header instead of over it.
   Types: success = new bid, info = auction started, warning = ended.
   ========================================================================== */

body .noty_layout#noty_layout__topRight,
body .noty_layout#noty_layout__topLeft,
body .noty_layout#noty_layout__topCenter {
	top: calc(var(--ss-header-h, 84px) + 16px);
	width: 340px;
	max-width: calc(100vw - 32px);
}
body .noty_layout#noty_layout__topRight {
	right: 20px;
}
body.admin-bar .noty_layout[id^="noty_layout__top"] {
	top: calc(var(--ss-header-h, 84px) + var(--wp-admin--admin-bar--height, 32px) + 16px);
}
body .noty_layout .noty_bar {
	position: relative;
	margin: 0 0 10px;
	overflow: hidden;
	border: 1px solid #e6e6e6;
	border-left: 0;
	border-radius: 8px;
	background: #fff;
	color: #1a1a1a;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
	font-family: var(--wp--preset--font-family--roboto, Roboto, Helvetica, sans-serif);
	--toast-accent: #1a1a1a;
}
body .noty_layout .noty_bar::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 5px;
	background: var(--toast-accent);
}
body .noty_layout .noty_bar.noty_type__success { --toast-accent: #e8830c; }
body .noty_layout .noty_bar.noty_type__info { --toast-accent: #1a9a44; }
body .noty_layout .noty_bar.noty_type__warning,
body .noty_layout .noty_bar.noty_type__error { --toast-accent: #1a1a1a; }

body .noty_layout .noty_bar .noty_body {
	padding: 14px 18px 16px 22px;
	color: #1a1a1a;
	font-size: 16px;
	line-height: 1.45;
}
/* Small label above the message. */
body .noty_layout .noty_bar .noty_body::before {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 4px;
	color: var(--toast-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
body .noty_layout .noty_type__success .noty_body::before { content: "New bid"; }
body .noty_layout .noty_type__info .noty_body::before { content: "● Now live"; }
body .noty_layout .noty_type__warning .noty_body::before,
body .noty_layout .noty_type__error .noty_body::before { content: "Ended"; color: #555; }

body .noty_layout .noty_bar .noty_body a {
	color: #1a1a1a;
	font-weight: 700;
	text-decoration: none;
}
body .noty_layout .noty_bar .noty_body a:hover {
	color: #e8830c;
	text-decoration: underline;
	text-underline-offset: 3px;
}
body .noty_layout .noty_bar .afw-notify-optout,
body .noty_layout .noty_bar .afw-notify-optout a {
	color: #666;
	font-size: 13px;
	font-weight: 400;
}
body .noty_layout .noty_bar .noty_progressbar {
	height: 3px;
	background: var(--toast-accent);
	opacity: 0.35;
}
body .noty_layout .noty_bar .noty_close_button {
	top: 10px;
	right: 10px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: transparent;
	color: #555;
	font-size: 18px;
	line-height: 22px;
}
body .noty_layout .noty_bar .noty_close_button:hover {
	background: #f4f4f4;
	color: #1a1a1a;
}

@media (max-width: 899.98px) {
	body .noty_layout#noty_layout__topRight {
		right: 16px;
		left: 16px;
		width: auto;
		max-width: none;
	}
}

/* ==========================================================================
   Auction rules: strip + empty state (Auctions page), rules page, bid dialog
   ========================================================================== */
.ss-rules-icon {
	flex-shrink: 0;
}
.ss-rules-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 14px 20px;
	background: #f4f4f2;
	border-radius: 8px;
	text-align: left;
}
.ss-rules-strip__items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	color: #333;
}
.ss-rules-strip__items li {
	display: flex;
	align-items: center;
	gap: 8px;
}
.ss-rules-strip__items strong {
	color: #1a1a1a;
	font-weight: 700;
}
.ss-rules-strip__link,
.ss-rules-strip__link:visited {
	flex-shrink: 0;
	color: #1a1a1a;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.ss-rules-strip__link:hover {
	color: #e8830c;
}

/* Empty Auctions page */
.ss-between {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 64px 24px;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	text-align: center;
}
.ss-between p,
.ss-between h2 {
	margin: 0;
}
.ss-between__eyebrow {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #555;
}
.ss-between__title {
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.15;
	color: #1a1a1a;
}
.ss-between__text {
	max-width: 480px;
	font-size: 18px;
	line-height: 1.55;
	color: #444;
}
.ss-between__form {
	display: flex;
	width: 100%;
	max-width: 460px;
	height: 56px;
	margin-top: 8px;
}
.ss-between__form input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0 16px;
	border: 1.5px solid #cfcfcf;
	border-right: 0;
	border-radius: 0;
	font: inherit;
	font-size: 17px;
	color: #1a1a1a;
	background: #fff;
}
.ss-between__form input[type="email"]:focus-visible {
	outline: 3px solid #e8830c;
	outline-offset: -1px;
}
.ss-between__form button {
	flex-shrink: 0;
	height: 100%;
	padding: 0 24px;
	border: 0;
	border-radius: 0;
	background: #1a1a1a;
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}
.ss-between__form button:hover {
	background: #333;
}
.ss-between__form button.is-done {
	background: #1a7a3a;
}
.ss-between__msg:empty {
	display: none;
}
.ss-between__msg {
	font-size: 15px;
	color: #555;
}

/* How auctions work page */
.ss-rules {
	display: flex;
	flex-direction: column;
	gap: 48px;
	max-width: 760px;
	margin: 0 auto;
	padding: 48px clamp(16px, 4vw, 48px) 96px;
	color: #1a1a1a;
}
.ss-rules a:not(.ss-rules__cta):not(.ss-rules__video) {
	color: #1a1a1a;
	font-weight: 500;
	text-underline-offset: 3px;
}
.ss-rules a:not(.ss-rules__cta):not(.ss-rules__video):hover {
	color: #e8830c;
}
.ss-rules__header {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.ss-rules .ss-rules__back {
	width: fit-content;
	font-size: 15px;
	font-weight: 400 !important;
	color: #555 !important;
	text-decoration: none;
}
.ss-rules .ss-rules__back:hover {
	color: #e8830c !important;
}
.ss-rules__title {
	margin: 0;
	font-size: clamp(34px, 4.6vw, 48px);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.01em;
}
.ss-rules__intro p {
	margin: 0;
	font-size: 19px;
	line-height: 1.6;
	color: #444;
	text-wrap: pretty;
}
.ss-rules__video {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: #1b1340;
	text-decoration: none;
}
.ss-rules__video img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.6);
}
.ss-rules__video-inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	color: #fff;
}
.ss-rules__play {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: #fff;
	color: #1a1a1a;
	transition: transform 0.15s ease;
}
.ss-rules__video:hover .ss-rules__play {
	transform: scale(1.06);
}
.ss-rules__video-label {
	font-size: 22px;
	font-weight: 700;
	text-align: center;
	padding: 0 16px;
}
.ss-rules__section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ss-rules__section + .ss-rules__section {
	padding-top: 32px;
	border-top: 1px solid #e6e6e6;
}
.ss-rules__title,
.ss-rules__section h2,
.ss-between__title {
	color: #1a1a1a;
}
.ss-rules__section h2 {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
}
.ss-rules__steps {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}
.ss-rules__steps li {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}
.ss-rules__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #1a1a1a;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
}
.ss-rules__step {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 7px;
}
.ss-rules__step strong {
	font-size: 18px;
}
.ss-rules__step > span {
	font-size: 17px;
	line-height: 1.6;
	color: #444;
}
.ss-rules__callout {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 18px 20px;
	background: #fff8ea;
	border: 1px solid #efd6a6;
	border-radius: 8px;
	color: #5c3900;
	font-size: 18px;
	line-height: 1.5;
}
.ss-rules__callout .ss-rules-icon {
	margin-top: 1px;
}
.ss-rules__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding-left: 22px;
	font-size: 17px;
	line-height: 1.6;
	color: #333;
}
.ss-rules__list strong {
	color: #1a1a1a;
}
.ss-rules__cta,
.ss-rules__cta:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	background: #1a1a1a;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}
.ss-rules__cta:hover {
	background: #333;
	color: #fff;
}

/* Bid dialog: "If you win" + first-bid agreement; scrolls on short screens. */
.ss-ap-dialog {
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	margin: auto;
}
.ss-ap-dialog__win {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	background: #f4f4f2;
	border-radius: 6px;
}
.ss-ap-dialog__win-label {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #555;
}
.ss-ap-dialog__win-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 16px;
	line-height: 1.45;
}
.ss-ap-dialog__win-row .ss-rules-icon {
	margin-top: 1px;
}
.ss-ap-dialog__agree {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 16px;
	line-height: 1.45;
	cursor: pointer;
}
.ss-ap-dialog__agree input {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: #1a1a1a;
	cursor: pointer;
}
.ss-ap-dialog__agree a {
	color: #1a1a1a;
	font-weight: 500;
	text-underline-offset: 3px;
}
.ss-ap-dialog__agree a:hover {
	color: #e8830c;
}
.ss-ap-dialog .ss-ap__primary:disabled {
	opacity: 1;
	background: #9a9a9a;
	cursor: not-allowed;
}
.ss-ap-dialog__title {
	color: #1a1a1a;
}
.ss-ap__rules-link,
.ss-ap__rules-link:visited {
	color: #1a1a1a;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.ss-ap__rules-link:hover {
	color: #e8830c;
}

/* ==========================================================================
   My Account (woocommerce/myaccount/*, template-parts/account-*.php)
   ========================================================================== */
.ss-acct {
	container-type: inline-size;
	display: flex;
	flex-direction: column;
	gap: 36px;
	max-width: var(--ss-container);
	margin: 0 auto;
	padding: 48px 0 96px;
	color: #1a1a1a;
}
.ss-acct a:not(.ss-acct-btn):hover {
	color: #e8830c;
}
.ss-acct :focus-visible {
	outline: 3px solid #e8830c;
	outline-offset: 2px;
}
.ss-acct__header {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.ss-acct__title {
	margin: 0;
	font-size: clamp(34px, 4.6vw, 48px);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: #1a1a1a;
}
.ss-acct__sub {
	margin: 0;
	font-size: 18px;
	color: #555;
}
.ss-acct__body {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 40px 56px;
	align-items: start;
}
/* Undo WooCommerce's float layout. */
.woocommerce-account .ss-acct .woocommerce-MyAccount-navigation,
.woocommerce-account .ss-acct .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	margin: 0;
}
.ss-acct__content {
	display: flex;
	flex-direction: column;
	gap: 44px;
	min-width: 0;
}
.ss-acct__content > .woocommerce-notices-wrapper:empty {
	display: none;
}

/* Menu */
.ss-acct-nav__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ss-acct-nav__list li {
	margin: 0;
}
.ss-acct .ss-acct-nav__link {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	height: 48px;
	padding: 0 16px;
	color: #1a1a1a;
	font-size: 17px;
	font-weight: 400;
	text-decoration: none;
	white-space: nowrap;
}
.ss-acct .ss-acct-nav__link[aria-current="page"] {
	background: #f4f4f2;
	box-shadow: inset 3px 0 0 #1a1a1a;
	font-weight: 700;
	color: #1a1a1a;
}
.ss-acct .ss-acct-nav__link.is-logout {
	margin-top: 16px;
	color: #555;
}
.ss-acct-nav__badge {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #c43d1f;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

@container (max-width: 819.98px) {
	.ss-acct__body {
		grid-template-columns: minmax(0, 1fr);
	}
	.ss-acct-nav__list {
		flex-direction: row;
		gap: 8px;
		overflow-x: auto;
		scrollbar-width: none;
		margin-inline: calc(var(--ss-gutter, 16px) * -1);
		padding-inline: var(--ss-gutter, 16px);
	}
	.ss-acct-nav__list::-webkit-scrollbar {
		display: none;
	}
	.ss-acct-nav__list li {
		flex-shrink: 0;
	}
	.ss-acct .ss-acct-nav__link {
		height: 44px;
		border: 1.5px solid #cfcfcf;
		border-radius: 999px;
		background: #fff;
		font-weight: 500;
	}
	.ss-acct .ss-acct-nav__link[aria-current="page"] {
		border-color: #1a1a1a;
		background: #1a1a1a;
		box-shadow: none;
		color: #fff;
		font-weight: 500;
	}
	.ss-acct .ss-acct-nav__link.is-logout {
		margin-top: 0;
	}
	.ss-acct-nav__link:focus-visible {
		outline-offset: -3px;
	}
}

/* Shared bits */
.ss-acct-sec {
	display: flex;
	flex-direction: column;
	gap: 16px;
	scroll-margin-top: 120px;
}
.ss-acct-sec__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}
.ss-acct-sec__head h2,
.ss-acct-won__head h2,
.ss-acct-welcome h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: #1a1a1a;
}
.ss-acct .ss-acct-sec__more,
.ss-acct .ss-acct-link {
	flex-shrink: 0;
	color: #1a1a1a;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
}
.ss-acct-rows,
.ss-acct-won__list,
.ss-acct-watch {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ss-acct__thumb {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 4px;
	object-fit: cover;
	background: #1b1340;
}
.ss-acct__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.ss-acct .ss-acct__name {
	color: #1a1a1a;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
}
.ss-acct__muted {
	font-size: 15px;
	color: #555;
}
.ss-acct-empty {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 20px;
	padding: 20px;
	border: 1px solid #eee;
	border-radius: 6px;
}
.ss-acct-empty p {
	margin: 0;
	font-size: 17px;
	color: #444;
}

/* Buttons (square, like the rest of the store) */
.ss-acct .ss-acct-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	padding: 0 28px;
	border: 1.5px solid #1a1a1a;
	background: #1a1a1a;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ss-acct .ss-acct-btn:hover {
	background: #333;
	border-color: #333;
	color: #fff;
}
.ss-acct .ss-acct-btn--outline {
	background: #fff;
	color: #1a1a1a;
}
.ss-acct .ss-acct-btn--outline:hover {
	background: #1a1a1a;
	border-color: #1a1a1a;
	color: #fff;
}
.ss-acct .ss-acct-btn--sm {
	height: 48px;
	padding: 0 18px;
	font-size: 14px;
}
.ss-acct .ss-acct-btn--pay {
	border-color: #1a9a44;
	background: #1a9a44;
}
.ss-acct .ss-acct-btn--pay:hover {
	border-color: #168a3c;
	background: #168a3c;
}

/* 1. Won */
.ss-acct-won {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	border: 1.5px solid #efd6a6;
	border-radius: 8px;
	background: #fff8ea;
}
.ss-acct-won__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
}
.ss-acct-won__left {
	margin: 0;
	font-size: 16px;
	color: #5c3900;
}
.ss-acct-won__left strong {
	margin-left: 4px;
	font-size: 22px;
	font-weight: 700;
	color: #c43d1f;
	font-variant-numeric: tabular-nums;
}
.ss-acct-won__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ss-acct-won__row {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 12px;
	border-radius: 6px;
	background: #fff;
}
.ss-acct-won__amount {
	font-size: 22px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.ss-acct-won__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
}
.ss-acct-won__note {
	flex: 1 1 260px;
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: #5c3900;
}

/* 2. Active bids */
.ss-acct-bid {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid #eee;
}
.ss-acct-bid .ss-acct__meta {
	gap: 6px;
}
.ss-acct-bid__info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	font-size: 15px;
	color: #555;
}
.ss-acct-bid__info strong {
	color: #1a1a1a;
	font-variant-numeric: tabular-nums;
}
.ss-acct-bid__info strong.is-urgent {
	color: #c43d1f;
}
.ss-acct-pill {
	padding: 4px 9px;
	border-radius: 999px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ss-acct-pill.is-outbid {
	background: #c43d1f;
}
.ss-acct-pill.is-winning {
	background: #1a9a44;
}

/* 3. Watching */
.ss-acct-watch {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
}
.ss-acct .ss-acct-watch__tile,
.ss-wl .ss-acct-watch__tile {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: #1a1a1a;
	text-decoration: none;
}
.ss-acct-watch__img {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 6px;
	background: #1b1340;
}
.ss-acct-watch__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ss-acct-watch__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 5px 9px;
	border-radius: 999px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ss-acct-watch__badge.is-live {
	background: #1a9a44;
}
.ss-acct-watch__badge.is-upcoming {
	background: #e8830c;
}
.ss-acct-watch__name {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
}
.ss-acct-watch__tile:hover .ss-acct-watch__name {
	color: #e8830c;
}
.ss-acct-watch__row {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 15px;
	color: #555;
}
.ss-acct-watch__row strong {
	color: #1a1a1a;
	font-size: 18px;
	font-variant-numeric: tabular-nums;
}

/* 4. Recent orders */
.ss-acct-order {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
	padding: 16px 0;
	border-bottom: 1px solid #eee;
	font-size: 16px;
}
.ss-acct-order .ss-acct__meta {
	gap: 3px;
}
.ss-acct .ss-acct-order__num {
	color: #1a1a1a;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
}
.ss-acct-order .ss-acct__muted {
	font-size: 16px;
}
.ss-acct-order__right {
	display: flex;
	align-items: center;
	gap: 16px;
}
.ss-acct-status {
	display: inline-flex;
	align-items: center;
	height: 30px;
	padding: 0 12px;
	border: 1px solid #ddd;
	border-radius: 999px;
	background: #f4f4f4;
	color: #555;
	font-size: 14px;
	font-weight: 500;
}
.ss-acct-status.is-good {
	border-color: #bfe0c9;
	background: #f0f8f2;
	color: #176b33;
}
.ss-acct-status.is-warn {
	border-color: #efd6a6;
	background: #fff8ea;
	color: #7a4b00;
}
.ss-acct-order__total {
	min-width: 64px;
	font-size: 18px;
	font-weight: 700;
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.ss-acct .ss-acct-order__track {
	color: #1a1a1a;
	font-size: 15px;
	font-weight: 700;
	text-underline-offset: 3px;
}

/* Brand-new customer */
.ss-acct-welcome {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 32px;
	border-radius: 8px;
	background: #f4f4f2;
}
.ss-acct-welcome p {
	margin: 0;
	font-size: 17px;
	color: #444;
}
.ss-acct-welcome__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 8px;
}

/* Auctions page: the plugin's settings form */
.ss-acct-settings form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	font-size: 17px;
}
.ss-acct-settings .form-row {
	margin: 0;
	padding: 0;
}
.ss-acct-settings input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0 10px 0 0;
	vertical-align: -4px;
	accent-color: #1a1a1a;
}
.ss-acct-settings .button {
	height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 0;
	background: #1a1a1a;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ss-acct-settings .button:hover {
	background: #333;
	color: #fff;
}

/* Narrow rows: button drops under the text */
@container (max-width: 560px) {
	.ss-acct-bid {
		grid-template-columns: 72px minmax(0, 1fr);
	}
	.ss-acct-bid .ss-acct-btn {
		grid-column: 1 / -1;
		width: 100%;
	}
	.ss-acct-won {
		padding: 16px;
	}
	.ss-acct-won__row {
		grid-template-columns: 56px minmax(0, 1fr) auto;
		gap: 12px;
	}
	.ss-acct-won__row .ss-acct__thumb {
		width: 56px;
		height: 56px;
	}
	.ss-acct-won__foot .ss-acct-btn {
		width: 100%;
	}
	.ss-acct-watch {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

/* ==========================================================================
   My Account → Orders (woocommerce/myaccount/orders.php)
   ========================================================================== */
.ss-acct--orders .ss-acct__content {
	gap: 28px;
}
.ss-acct-status.is-bad {
	border-color: #f3c3ba;
	background: #fdecea;
	color: #a8321a;
}
.ss-acct-status.is-warn {
	border-color: #efd6a6;
	background: #fff8ea;
	color: #7a4b00;
}

/* Email confirmation notice */
.ss-acct-verify {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	padding: 16px 20px;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	background: #fff;
}
.ss-acct-verify__icon {
	flex-shrink: 0;
	color: #1a1a1a;
}
.ss-acct-verify__text {
	flex: 1 1 280px;
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
	color: #333;
}
.ss-acct-verify__text strong {
	color: #1a1a1a;
}
.ss-acct .ss-acct-btn.is-sent {
	cursor: default;
}

/* Order cards */
.ss-orders {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ss-order {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 20px 22px;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
}
.ss-order__top,
.ss-order__mid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
}
.ss-order__mid {
	gap: 16px;
}
.ss-order__id {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.ss-order__line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}
.ss-acct .ss-order__num {
	color: #1a1a1a;
	font-size: 19px;
	font-weight: 700;
	text-decoration: none;
}
.ss-order__id .ss-acct__muted {
	font-size: 16px;
}
.ss-order__tag {
	padding: 4px 9px;
	border-radius: 999px;
	background: #f4f4f2;
	color: #1a1a1a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ss-order__status {
	display: flex;
	align-items: center;
	gap: 16px;
}
.ss-order__total {
	font-size: 20px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.ss-order__thumbs {
	display: flex;
	gap: 8px;
}
.ss-order__thumb {
	display: block;
	width: 60px;
	height: 60px;
	border-radius: 4px;
	object-fit: cover;
	background: #1b1340;
}
.ss-order__more {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f4f4f2;
	color: #555;
	font-size: 15px;
	font-weight: 700;
}
.ss-order__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ss-order__actions .ss-acct-btn--sm {
	padding: 0 20px;
}
.ss-order__note {
	margin: 0;
	padding-top: 12px;
	border-top: 1px solid #eee;
	font-size: 15px;
	color: #555;
}

/* No orders */
.ss-orders-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 56px 24px;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	text-align: center;
}
.ss-orders-empty h2 {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
}
.ss-orders-empty p {
	max-width: 440px;
	margin: 0;
	font-size: 18px;
	line-height: 1.55;
	color: #444;
	text-wrap: pretty;
}
.ss-orders-empty__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 8px;
}

@container (max-width: 560px) {
	.ss-order {
		padding: 16px;
	}
	.ss-order__actions {
		width: 100%;
	}
	.ss-order__actions .ss-acct-btn {
		flex: 1 1 auto;
	}
}

/* ==========================================================================
   My Account → Addresses (template-parts/account-addresses.php)
   ========================================================================== */
.ss-acct--edit-address .ss-acct__content {
	gap: 24px;
}
.ss-addr-intro {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: #444;
}
.ss-addr-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 20px;
	align-items: start;
}
.ss-addr-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 220px;
	padding: 24px;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	scroll-margin-top: 120px;
}
.ss-addr-card.is-empty {
	border: 1.5px dashed #cfcfcf;
}
.ss-addr-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.ss-addr-card__head h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
}
.ss-acct .ss-addr-edit {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 16px;
	border: 1.5px solid #cfcfcf;
	background: #fff;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}
.ss-acct .ss-addr-edit:hover {
	border-color: #1a1a1a;
	color: #1a1a1a;
}
.ss-addr-card__empty {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 14px;
}
.ss-addr-card__empty p {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
	color: #555;
}
.ss-acct .ss-addr-add {
	gap: 10px;
	height: 52px;
	padding: 0 22px;
	font-size: 14px;
}
.ss-addr-lines {
	font-style: normal;
	font-size: 17px;
	line-height: 1.6;
	color: #1a1a1a;
}
.ss-addr-lines strong {
	font-weight: 700;
}
.ss-addr-lines .ss-acct__muted {
	font-size: 17px;
}
.ss-addr-same {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 17px;
	color: #333;
}
.ss-addr-same svg {
	flex-shrink: 0;
	color: #1a7a3a;
}

/* Editing */
.ss-addr-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
}
.ss-addr-check {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	cursor: pointer;
}
.ss-addr-check input {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: #1a1a1a;
}
.ss-addr-form [data-address-fields][hidden] {
	display: none;
}
.ss-addr-form .woocommerce-address-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.woocommerce .ss-addr-form .form-row {
	grid-column: span 2;
	float: none;
	width: auto;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
}
.woocommerce .ss-addr-form .form-row-first,
.woocommerce .ss-addr-form .form-row-last,
.woocommerce .ss-addr-form [id$="_state_field"],
.woocommerce .ss-addr-form [id$="_postcode_field"] {
	grid-column: span 1;
}
.woocommerce .ss-addr-form .form-row[style*="display: none"],
.woocommerce .ss-addr-form .form-row.hidden {
	display: none;
}
.woocommerce .ss-addr-form .form-row label {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	color: #1a1a1a;
}
.woocommerce .ss-addr-form .form-row label .required {
	display: none;
}
.woocommerce .ss-addr-form .form-row label .optional {
	font-weight: 400;
	color: #666;
}
.woocommerce .ss-addr-form .form-row .input-text,
.woocommerce .ss-addr-form .form-row select {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 0 14px;
	border: 1.5px solid #cfcfcf;
	border-radius: 0;
	background-color: #fff;
	color: #1a1a1a;
	font: inherit;
	font-size: 17px;
	line-height: normal;
}
.woocommerce .ss-addr-form .form-row .input-text:focus,
.woocommerce .ss-addr-form .form-row select:focus {
	border-color: #1a1a1a;
	outline: 3px solid #e8830c;
	outline-offset: 2px;
}
/* selectWoo (country / state dropdowns) */
.woocommerce .ss-addr-form .select2-container .select2-selection--single {
	height: 52px;
	border: 1.5px solid #cfcfcf;
	border-radius: 0;
}
.woocommerce .ss-addr-form .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 40px 0 14px;
	line-height: 49px;
	color: #1a1a1a;
	font-size: 17px;
}
.woocommerce .ss-addr-form .select2-container .select2-selection--single .select2-selection__arrow {
	top: 0;
	right: 8px;
	height: 49px;
}
.woocommerce .ss-addr-form .select2-container--focus .select2-selection--single,
.woocommerce .ss-addr-form .select2-container--open .select2-selection--single {
	border-color: #1a1a1a;
}
.woocommerce .ss-addr-form .form-row .description,
.woocommerce form.ss-addr-form .form-row .woocommerce-input-wrapper .description {
	display: block !important; /* WooCommerce's JS only shows hints on focus. */
	margin: 0;
	padding: 0;
	background: none;
	color: #555;
	font-size: 14px;
	line-height: 1.45;
	position: static;
	margin-top: 6px;
	border-radius: 0;
}
.woocommerce .ss-addr-form .form-row .description::before,
.woocommerce form.ss-addr-form .form-row .woocommerce-input-wrapper .description::before {
	display: none;
}
.woocommerce .ss-addr-form .form-row.woocommerce-invalid .input-text,
.woocommerce .ss-addr-form .form-row.woocommerce-invalid select,
.woocommerce .ss-addr-form .form-row.woocommerce-invalid .select2-selection {
	border-color: #c43d1f;
}
.woocommerce .ss-addr-form .form-row.woocommerce-invalid label {
	color: #1a1a1a;
}
.ss-field-error {
	font-size: 14px;
	line-height: 1.4;
	color: #a8321a;
}
.ss-addr-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
}
.ss-addr-form__actions .ss-acct-btn {
	height: 52px;
	padding: 0 26px;
	font-size: 14px;
	cursor: pointer;
}
.ss-acct .ss-acct-btn--quiet {
	padding: 0 22px;
	border-color: #cfcfcf;
	background: #fff;
	color: #1a1a1a;
}
.ss-acct .ss-acct-btn--quiet:hover {
	border-color: #1a1a1a;
	background: #fff;
	color: #1a1a1a;
}
@container (max-width: 420px) {
	.ss-addr-card {
		padding: 18px;
	}
}

/* ==========================================================================
   My Account → Account details (woocommerce/myaccount/form-edit-account.php)
   ========================================================================== */
.ss-ad {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 760px;
}
.ss-ad-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
	padding: 24px;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
}
.ss-ad-card h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
}
.ss-ad-names {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 16px;
}
.ss-ad-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}
.ss-ad-field label {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	color: #1a1a1a;
}
.ss-acct .ss-ad-field input {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 0 14px;
	border: 1.5px solid #cfcfcf;
	border-radius: 0;
	background: #fff;
	color: #1a1a1a;
	font: inherit;
	font-size: 17px;
	font-weight: 400;
}
.ss-acct .ss-ad-field input:focus {
	border-color: #1a1a1a;
}
.ss-acct .ss-ad-field.is-invalid input,
.ss-acct .ss-ad-field.is-mismatch input {
	border-color: #c43d1f;
}
.ss-ad-hint {
	font-size: 14px;
	font-style: normal;
	color: #555;
}
.ss-ad-hint:empty {
	display: none;
}
.ss-ad-hint.is-ok {
	color: #1a7a3a;
}
.ss-ad-hint.is-bad {
	color: #a8321a;
}
.ss-ad-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}
.ss-ad-actions .ss-acct-btn {
	height: 52px;
	padding: 0 26px;
	font-size: 14px;
	cursor: pointer;
}
.ss-acct .ss-ad-save.is-saved,
.ss-acct .ss-ad-save.is-saved:hover {
	border-color: #1a7a3a;
	background: #1a7a3a;
}
.ss-ad-note {
	font-size: 14px;
	color: #666;
}
.ss-ad-pending {
	margin: 0;
	padding: 12px 14px;
	border-radius: 6px;
	background: #fff8ea;
	color: #5c3900;
	font-size: 15px;
	line-height: 1.5;
}

/* Password */
.ss-ad-pw__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.ss-ad-pw__intro {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ss-ad-pw__status {
	margin: 0;
	font-size: 16px;
	color: #555;
}
.ss-ad-pw__status.is-done {
	color: #1a7a3a;
}
.ss-acct .ss-ad-pw__open {
	height: 48px;
	padding: 0 20px;
	font-size: 14px;
}
.ss-acct .ss-ad-pw__open[hidden],
.ss-ad-pw__panel[hidden] {
	display: none;
}
.ss-ad-pw__panel {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ss-ad-pw__wrap {
	position: relative;
	display: block;
}
.ss-acct .ss-ad-pw__wrap input {
	padding-right: 56px;
}
.ss-ad-pw__eye {
	position: absolute;
	top: 4px;
	right: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: #555;
	cursor: pointer;
}
.ss-ad-pw__eye:hover {
	color: #1a1a1a;
}
.ss-ad-pw__eye.is-shown .ss-ad-pw__slash {
	display: none;
}
.ss-acct .ss-ad-pw .ss-acct-btn:disabled {
	border-color: #9a9a9a;
	background: #9a9a9a;
	cursor: not-allowed;
}
.ss-acct .ss-ad-forgot {
	width: fit-content;
	color: #1a1a1a;
	font-size: 15px;
	font-weight: 500;
	text-underline-offset: 3px;
}
/* WooCommerce adds its own per-field eye; ours toggles all three at once. */
.ss-ad-pw__wrap .show-password-input {
	display: none !important;
}

/* ==========================================================================
   Sign in / Create account (woocommerce/myaccount/form-login.php)
   ========================================================================== */
.ss-login {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 480px;
	margin: 0 auto;
	padding: 56px 0 96px;
	color: #1a1a1a;
}
.ss-login a {
	color: #1a1a1a;
	font-weight: 500;
	text-underline-offset: 3px;
}
.ss-login a:hover {
	color: #e8830c;
}
.ss-login :focus-visible {
	outline: 3px solid #e8830c;
	outline-offset: 2px;
}
.ss-login__muted {
	font-size: 15px;
	color: #555;
}

/* Bid context */
.ss-login__bid {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 12px;
	border-radius: 8px;
	background: #f4f4f2;
}
.ss-login__bid img,
.ss-login__bid-img {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 4px;
	object-fit: cover;
	background: #1b1340;
}
.ss-login__bid-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.ss-login__bid-text strong {
	font-size: 17px;
	font-weight: 700;
}

/* Header */
.ss-login__header {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ss-login__title {
	margin: 0;
	font-size: clamp(32px, 6vw, 40px);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: #1a1a1a;
}
.ss-login__sub {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
	color: #444;
}

/* Tabs */
.ss-login__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	height: 52px;
	border: 1.5px solid #1a1a1a;
}
.ss-login__tabs button {
	border: 0;
	border-radius: 0;
	background: #fff;
	color: #1a1a1a;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}
.ss-login__tabs button[aria-selected="true"] {
	background: #1a1a1a;
	color: #fff;
}
.ss-login__tabs button:focus-visible {
	outline-offset: -5px;
}
.ss-login__panel {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ss-login__panel[hidden] {
	display: none;
}

/* Error */
.ss-login__alert {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 16px;
	border-radius: 6px;
	background: #fdecea;
	color: #a8321a;
	font-size: 16px;
	line-height: 1.45;
}
.ss-login__alert svg {
	flex-shrink: 0;
	margin-top: 1px;
}
.ss-login .ss-login__alert a {
	color: #a8321a;
	font-weight: 700;
}

/* Forms */
.woocommerce .ss-login__form,
.ss-login__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
}
.ss-login__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}
.ss-login__field label {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
}
.ss-login__label-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 15px;
}
.ss-login .ss-login__field input {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 0 14px;
	border: 1.5px solid #cfcfcf;
	border-radius: 0;
	background: #fff;
	color: #1a1a1a;
	font: inherit;
	font-size: 17px;
}
.ss-login .ss-login__field input:focus {
	border-color: #1a1a1a;
}
.ss-login .ss-login__form.is-invalid input[name="username"],
.ss-login .ss-login__form.is-invalid input[name="password"],
.ss-login .ss-login__field.is-invalid input {
	border-color: #c43d1f;
}
.ss-login__pw {
	position: relative;
	display: block;
}
.ss-login .ss-login__pw input {
	padding-right: 56px;
}
.ss-login__eye {
	position: absolute;
	top: 4px;
	right: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: #555;
	cursor: pointer;
}
.ss-login__eye:hover {
	color: #1a1a1a;
}
.ss-login__eye.is-shown .ss-login__slash {
	display: none;
}
.ss-login__pw .show-password-input {
	display: none !important;
}
.ss-login__hint {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #555;
}
.ss-login__check {
	display: flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
	font-size: 16px;
	line-height: 1.45;
	cursor: pointer;
}
.ss-login__check--top {
	align-items: flex-start;
}
.ss-login__check input {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: #1a1a1a;
	cursor: pointer;
}
.ss-login__submit {
	height: 56px;
	margin-top: 4px;
	border: 0;
	border-radius: 0;
	background: #1a1a1a;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}
.ss-login__submit:hover {
	background: #333;
}
.ss-login__legal {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #555;
}
.ss-login .ss-login__legal a {
	font-weight: 400;
}

/* Perks */
.ss-login__perks {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 20px;
	border-top: 1px solid #e6e6e6;
}
.ss-login__perks-label {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #555;
}
.ss-login__perks ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ss-login__perks li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	color: #333;
}
.ss-login__perks svg {
	flex-shrink: 0;
	color: #1a7a3a;
}
/* Undo WooCommerce's boxed login / register forms. */
.woocommerce form.ss-login__form.login,
.woocommerce form.ss-login__form.register {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	text-align: left;
}
/* WooCommerce moves focus to alerts; the box itself needs no ring. */
.ss-login__alert:focus,
.ss-login__alert:focus-visible {
	outline: none;
}

/* ==========================================================================
   Cart (template-parts/cart-body.php)
   ========================================================================== */
.ss-cart {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: var(--ss-container);
	margin: 0 auto;
	padding: 48px 0 96px;
	color: #1a1a1a;
}
.ss-cart.is-busy .ss-cart__body {
	opacity: 0.6;
	pointer-events: none;
	transition: opacity 0.15s ease;
}
.ss-cart a:not(.ss-cart-btn):hover {
	color: #e8830c;
}
.ss-cart :focus-visible {
	outline: 3px solid #e8830c;
	outline-offset: 2px;
}
.ss-cart__header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 24px;
}
.ss-cart__title {
	margin: 0;
	font-size: clamp(34px, 4.6vw, 48px);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: #1a1a1a;
}
.ss-cart__count {
	font-weight: 700;
	color: #777;
}
.ss-cart .ss-cart__continue {
	color: #1a1a1a;
	font-size: 16px;
	font-weight: 500;
	text-underline-offset: 4px;
}
.ss-cart__live:empty {
	display: none;
}
.ss-cart__msg {
	margin: 0;
	padding: 12px 16px;
	border-radius: 6px;
	background: #f4f4f2;
	font-size: 16px;
}
.ss-cart__msg button {
	padding: 0;
	border: 0;
	background: none;
	color: #1a1a1a;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.ss-cart__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 32px 48px;
	align-items: start;
}

/* Items */
.ss-cart__items {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #e6e6e6;
	min-width: 0;
}
.ss-cart-item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) auto;
	gap: 6px 20px;
	align-items: start;
	margin: 0;
	padding: 24px 0;
	border-bottom: 1px solid #e6e6e6;
}
.ss-cart-item > a:first-child,
.ss-cart-item > .ss-cart-item__img {
	grid-row: span 2;
}
.ss-cart-item__img {
	display: block;
	width: 96px;
	height: 96px;
	border-radius: 6px;
	object-fit: cover;
	background: #1b1340;
}
.ss-cart-item__info {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.ss-cart-item__win {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}
.ss-cart-pill {
	padding: 4px 9px;
	border-radius: 999px;
	background: #1a9a44;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ss-cart-item__pay {
	font-size: 15px;
	color: #7a4b00;
}
.ss-cart-item__pay strong {
	color: #c43d1f;
	font-variant-numeric: tabular-nums;
}
.ss-cart .ss-cart-item__name {
	color: #1a1a1a;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	text-wrap: pretty;
}
.ss-cart-item__meta {
	font-size: 15px;
	color: #555;
}
.ss-cart-item__info dl.variation {
	margin: 0;
	font-size: 14px;
	color: #555;
}
.ss-cart-item__price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.ss-cart-item__was {
	font-size: 15px;
	color: #777;
}
.ss-cart-item__total {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
}
.ss-cart-item__save {
	font-size: 14px;
	font-weight: 700;
	color: #176b33;
}
.ss-cart-item__controls {
	grid-column: 2 / 4;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin-top: 6px;
}
.ss-cart-stepper {
	display: flex;
	box-sizing: border-box;
	height: 44px;
	border: 1px solid #cfcfcf;
}
.ss-cart-stepper button {
	width: 44px;
	padding: 0;
	border: 0;
	background: #f4f4f4;
	color: #1a1a1a;
	font-size: 20px;
	cursor: pointer;
}
.ss-cart-stepper button:disabled {
	color: #aaa;
	cursor: not-allowed;
}
.ss-cart-stepper__value {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	font-size: 17px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.ss-cart-oneoff {
	display: inline-flex;
	align-items: center;
	height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	background: #f4f4f2;
	color: #333;
	font-size: 14px;
	font-weight: 500;
}
.ss-cart-remove {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 4px;
	border: 0;
	background: none;
	color: #555;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.ss-cart-remove:hover {
	color: #1a1a1a;
}
.ss-cart-item__note {
	font-size: 14px;
	color: #555;
}

/* Summary */
.ss-cart-summary {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 24px;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
}
.ss-cart-summary h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
}
.ss-cart-free {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	border-radius: 6px;
	background: #f4f4f2;
}
.ss-cart-free.is-free {
	background: #f0f8f2;
}
.ss-cart-free__msg {
	margin: 0;
	font-size: 16px;
	line-height: 1.45;
}
.ss-cart-free__track {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #e2e2de;
}
.ss-cart-free__track span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: #e8830c;
	transition: width 0.3s ease;
}
.ss-cart-free.is-free .ss-cart-free__track span {
	background: #1a9a44;
}
.ss-cart-free__note {
	margin: 0;
	font-size: 14px;
	color: #555;
}
.ss-cart-totals {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px 16px;
	margin: 0;
	font-size: 17px;
}
.ss-cart-totals dt {
	color: #444;
}
.ss-cart-totals dd {
	margin: 0;
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.ss-cart-totals .is-save {
	color: #176b33;
}
.ss-cart-totals dd.is-save {
	font-weight: 700;
}
.ss-cart-totals .is-muted {
	color: #555;
}
.ss-cart-totals__coupon a {
	margin-left: 6px;
	color: #555;
	font-size: 14px;
}
.ss-cart-coupon {
	padding-top: 14px;
	border-top: 1px solid #e6e6e6;
}
.ss-cart-coupon__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: #1a1a1a;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
}
.ss-cart-coupon__toggle svg {
	transition: transform 0.2s ease;
}
.ss-cart-coupon__toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}
.ss-cart-coupon__form {
	display: flex;
	gap: 8px;
	margin: 8px 0 0;
}
.ss-cart-coupon__form[hidden] {
	display: none;
}
.ss-cart-coupon__form input {
	flex: 1;
	min-width: 0;
	box-sizing: border-box;
	height: 48px;
	padding: 0 14px;
	border: 1.5px solid #cfcfcf;
	border-radius: 0;
	font: inherit;
	font-size: 16px;
}
.ss-cart-coupon__form input:focus {
	border-color: #1a1a1a;
}
.ss-cart-coupon__form button {
	height: 48px;
	padding: 0 18px;
	border: 1.5px solid #1a1a1a;
	border-radius: 0;
	background: #fff;
	color: #1a1a1a;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}
.ss-cart-coupon__form button:hover {
	background: #1a1a1a;
	color: #fff;
}
.ss-cart-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-top: 16px;
	border-top: 1px solid #e6e6e6;
}
.ss-cart-total span {
	font-size: 19px;
	font-weight: 700;
}
.ss-cart-total strong {
	font-size: 28px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.ss-cart .ss-cart-btn {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	padding: 0 28px;
	border: 1.5px solid #1a1a1a;
	background: #1a1a1a;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}
.ss-cart .ss-cart-btn:hover {
	border-color: #333;
	background: #333;
	color: #fff;
}
.ss-cart .ss-cart-btn--outline {
	background: #fff;
	color: #1a1a1a;
}
.ss-cart .ss-cart-btn--outline:hover {
	border-color: #1a1a1a;
	background: #1a1a1a;
	color: #fff;
}
.ss-cart-perks {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ss-cart-perks li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	line-height: 1.45;
	color: #333;
}
.ss-cart-perks svg {
	flex-shrink: 0;
	margin-top: 1px;
	color: #1a7a3a;
}
.ss-cart .ss-cart-perks a {
	color: #333;
	text-underline-offset: 3px;
}

/* Mobile bar (shown under 900px) */
.ss-cart-bar {
	display: none;
}

/* Empty */
.ss-cart-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 64px 24px;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	text-align: center;
}
.ss-cart-empty h2 {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
}
.ss-cart-empty p {
	margin: 0;
	font-size: 18px;
	color: #444;
}
.ss-cart-empty__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 8px;
}

@media (max-width: 899.98px) {
	.ss-cart__body {
		grid-template-columns: minmax(0, 1fr);
	}
	.ss-cart-summary {
		position: static;
	}
	.ss-cart:not(.is-empty) {
		padding-bottom: 120px;
	}
	.ss-cart-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 20;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding: 12px 16px;
		border-top: 1px solid #e0e0e0;
		background: #fff;
		box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
	}
	.ss-cart-bar__total {
		display: flex;
		flex-direction: column;
		gap: 2px;
	}
	.ss-cart-bar__total span {
		font-size: 14px;
		color: #555;
	}
	.ss-cart-bar__total strong {
		font-size: 22px;
		font-weight: 700;
		font-variant-numeric: tabular-nums;
	}
	.ss-cart .ss-cart-bar .ss-cart-btn {
		height: 52px;
	}
}
@media (max-width: 480px) {
	.ss-cart-item {
		grid-template-columns: 72px minmax(0, 1fr) auto;
		gap: 6px 14px;
	}
	.ss-cart-item__img {
		width: 72px;
		height: 72px;
	}
	.ss-cart-item__controls {
		grid-column: 1 / -1;
	}
}

/* ==========================================================================
   Wishlist hearts (inc/wishlist.php)
   ========================================================================== */
.woocommerce ul.products li.ss-product-card {
	position: relative;
}
.ss-wish--card {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #1a1a1a;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	transition: transform 0.15s ease, color 0.15s ease;
}
.ss-wish--card svg {
	width: 20px;
	height: 20px;
	fill: none;
}
.ss-wish--card:hover {
	transform: scale(1.08);
}
.ss-wish--card[aria-pressed="true"] {
	color: #c43d1f;
}
.ss-wish--card[aria-pressed="true"] svg,
.ss-ap__watch.ss-wish[aria-pressed="true"] svg {
	fill: currentColor;
}
.ss-wish:focus-visible {
	outline: 3px solid #e8830c;
	outline-offset: 2px;
}
.ss-wish[aria-busy="true"] {
	opacity: 0.6;
}
.header-action--wishlist {
	position: relative;
}
.header-wish__count[hidden] {
	display: none;
}

/* YITH wishlist page: contain its floats (the share icons were pushing the
   footer over) and bring the table in line with the rest of the store. */
.page-article .entry-content::after {
	content: "";
	display: table;
	clear: both;
}
.yith-wcwl-share ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
}
.yith-wcwl-share li {
	float: none !important;
	margin: 0 !important;
}
.woocommerce table.wishlist_table {
	border-collapse: collapse;
	font-size: 16px;
}
.woocommerce table.wishlist_table thead th {
	padding: 12px 14px;
	background: #f4f4f2;
	color: #555;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.woocommerce table.wishlist_table td {
	padding: 14px;
	vertical-align: middle;
}
.woocommerce table.wishlist_table .product-thumbnail img {
	width: 72px;
	height: 72px;
	border-radius: 4px;
	object-fit: cover;
}
.woocommerce table.wishlist_table .product-name a {
	color: #1a1a1a;
	font-weight: 500;
	text-decoration: none;
}
.woocommerce table.wishlist_table .product-name a:hover {
	color: #e8830c;
}
.woocommerce table.wishlist_table .product-price {
	font-weight: 700;
	color: #1a1a1a;
}
.woocommerce table.wishlist_table .product-price del {
	color: #777;
	font-weight: 400;
}
.woocommerce table.wishlist_table .product-price ins {
	text-decoration: none;
}
.woocommerce table.wishlist_table .product-remove a.remove {
	color: #555 !important;
	font-size: 22px;
}
.woocommerce table.wishlist_table .product-remove a.remove:hover {
	background: none;
	color: #1a1a1a !important;
}
.woocommerce table.wishlist_table .product-add-to-cart a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 18px !important;
	line-height: 1 !important;
	border-radius: 0 !important;
	background: #1a1a1a;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}
.woocommerce table.wishlist_table .product-add-to-cart a:hover {
	background: #333;
	color: #fff;
}
/* Card heart appears on hover (and keyboard focus). Saved items keep a
   visible filled heart; touch screens, which can't hover, always show it. */
@media (hover: hover) {
	.ss-wish--card {
		opacity: 0;
		transition: opacity 0.15s ease, transform 0.15s ease, color 0.15s ease;
	}
	.ss-product-card:hover .ss-wish--card,
	.ss-product-card:focus-within .ss-wish--card,
	.ss-wish--card[aria-pressed="true"] {
		opacity: 1;
	}
}

/* ==========================================================================
   Wishlist page (template-parts/wishlist-body.php)
   ========================================================================== */
.ss-wl {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: var(--ss-container);
	margin: 0 auto;
	padding: 48px 0 96px;
	color: #1a1a1a;
}
.ss-wl a:not(.ss-wl-btn):hover {
	color: #e8830c;
}
.ss-wl :focus-visible {
	outline: 3px solid #e8830c;
	outline-offset: 2px;
}
.ss-wl__header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 24px;
}
.ss-wl__title {
	margin: 0;
	font-size: clamp(34px, 4.6vw, 48px);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: #1a1a1a;
}
.ss-wl__count {
	font-weight: 700;
	color: #777;
}
.ss-wl__items {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #e6e6e6;
}
.ss-wl-item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) auto auto;
	gap: 12px 20px;
	align-items: center;
	margin: 0;
	padding: 24px 0;
	border-bottom: 1px solid #e6e6e6;
}
.ss-wl-item[hidden] {
	display: none;
}
.ss-wl-item__img {
	display: block;
	width: 96px;
	height: 96px;
	border-radius: 6px;
	object-fit: cover;
	background: #1b1340;
}
.ss-wl-item.is-soldout .ss-wl-item__img {
	opacity: 0.55;
}
.ss-wl-item__info {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.ss-wl .ss-wl-item__name {
	color: #1a1a1a;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	text-wrap: pretty;
}
.ss-wl-item__meta {
	font-size: 15px;
	color: #555;
}
.ss-wl-item__sold {
	font-size: 15px;
	font-weight: 700;
	color: #555;
}
.ss-wl-item__price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.ss-wl-item__was {
	font-size: 15px;
	color: #777;
}
.ss-wl-item__amount {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
}
.ss-wl-item__save {
	font-size: 14px;
	font-weight: 700;
	color: #176b33;
}
.ss-wl-item__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px 16px;
}
.ss-wl .ss-wl-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	min-width: 160px;
	padding: 0 22px;
	border: 1.5px solid #1a1a1a;
	border-radius: 0;
	background: #1a1a1a;
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}
.ss-wl .ss-wl-btn:hover {
	border-color: #333;
	background: #333;
	color: #fff;
}
.ss-wl .ss-wl-btn.is-added,
.ss-wl .ss-wl-btn.is-added:hover {
	border-color: #176b33;
	background: #176b33;
	cursor: default;
}
.ss-wl .ss-wl-btn--outline {
	background: #fff;
	color: #1a1a1a;
}
.ss-wl .ss-wl-btn--outline:hover {
	border-color: #1a1a1a;
	background: #1a1a1a;
	color: #fff;
}
.ss-wl .ss-wl-btn--disabled,
.ss-wl .ss-wl-btn--disabled:hover {
	border-color: #f4f4f2;
	background: #f4f4f2;
	color: #555;
	cursor: default;
}
.ss-wl .ss-wl__share {
	height: 44px;
	min-width: 0;
	padding: 0 18px;
}
.ss-wl .ss-wl__share[hidden] {
	display: none;
}
.ss-wl .ss-wl-btn--lg {
	height: 56px;
	padding: 0 28px;
	font-size: 15px;
}
.ss-wl-remove {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 4px;
	border: 0;
	background: none;
	color: #555;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.ss-wl-remove:hover {
	color: #1a1a1a;
}
.ss-wl-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 64px 24px;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	text-align: center;
}
.ss-wl-empty[hidden] {
	display: none;
}
.ss-wl-empty h2 {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
}
.ss-wl-empty__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 8px;
}
.ss-wl-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 30;
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: calc(100% - 32px);
	padding: 14px 20px;
	transform: translateX(-50%);
	background: #1a1a1a;
	color: #fff;
	font-size: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.ss-wl-toast[hidden] {
	display: none;
}
.ss-wl-toast button {
	height: 36px;
	padding: 0 4px;
	border: 0;
	background: none;
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
@media (max-width: 639.98px) {
	.ss-wl-item {
		grid-template-columns: 96px minmax(0, 1fr);
	}
	.ss-wl-item__media {
		grid-row: span 2;
	}
	.ss-wl-item__price {
		align-items: flex-start;
		text-align: left;
	}
	.ss-wl-item__actions {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}

/* Watch heart on auction cards (same look as the wishlist heart). */
.woocommerce ul.products li.ss-auction-card {
	position: relative;
}
@media (hover: hover) {
	.ss-auction-card:hover .ss-wish--card,
	.ss-auction-card:focus-within .ss-wish--card {
		opacity: 1;
	}
}

/* ==========================================================================
   Auctions page top section (inc/auction-archive.php)
   ========================================================================== */
.ss-auctions-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	color: #1a1a1a;
}
.ss-auctions-head__title {
	margin: 0;
	font-size: clamp(36px, 5vw, 52px);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: #1a1a1a;
}
.ss-auctions-head__ends {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 19px;
	color: #1a1a1a;
}
.ss-auctions-head__ends strong {
	font-weight: 700;
}
.ss-auctions-head__rules {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	color: #444;
}
.ss-auctions-head__rules li {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
}
.ss-auctions-head .ss-rules-icon {
	flex: none;
}
.ss-shop .ss-auctions-head__link {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.ss-shop .ss-auctions-head__link:hover {
	color: #e8830c;
}

/* Toolbar */
.ss-auctions-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e6e6e6;
}
.ss-auctions-tabs {
	display: flex;
	flex: 1 1 320px;
	max-width: 420px;
	padding: 4px;
	border-radius: 999px;
	background: #f4f4f2;
}
.ss-shop .ss-auctions-tab {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	border-radius: 999px;
	color: #1a1a1a;
	font-size: 17px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.ss-shop .ss-auctions-tab[aria-current="page"] {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
	font-weight: 700;
}
.ss-shop .ss-auctions-tab:hover {
	color: #1a1a1a;
}
.ss-shop .ss-auctions-tab:not([aria-current="page"]):hover {
	background: rgba(255, 255, 255, 0.6);
}
.ss-auctions-tab__count {
	box-sizing: border-box;
	min-width: 24px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #e2e2de;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-align: center;
}
.ss-auctions-tab[aria-current="page"] .ss-auctions-tab__count {
	background: #1a1a1a;
	color: #fff;
}
.woocommerce .ss-auctions-sort,
.ss-auctions-sort {
	display: flex;
	align-items: center;
	gap: 10px;
	float: none;
	margin: 0;
	font-size: 16px;
	color: #444;
}
.ss-auctions-sort__field {
	position: relative;
	display: flex;
}
.woocommerce .ss-auctions-sort select.orderby,
.ss-auctions-sort select {
	box-sizing: border-box;
	height: 48px;
	max-width: 100%;
	padding: 0 44px 0 16px;
	border: 1.5px solid #cfcfcf;
	border-radius: 0;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
	color: #1a1a1a;
	font: inherit;
	font-size: 17px;
	font-weight: 500;
	text-overflow: ellipsis;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.ss-auctions-sort select:hover {
	border-color: #1a1a1a;
}
.ss-auctions-tab:focus-visible,
.ss-auctions-sort select:focus-visible,
.ss-auctions-head__link:focus-visible,
.ss-auctions-btn:focus-visible {
	outline: 3px solid #e8830c;
	outline-offset: 2px;
}
@media (max-width: 599.98px) {
	.ss-auctions-tabs {
		max-width: none;
	}
	.ss-auctions-sort {
		flex: 1 1 100%;
	}
	.ss-auctions-sort__field {
		flex: 1;
		min-width: 0;
	}
	.ss-auctions-sort select {
		width: 100%;
	}
}

/* My bids / no-auctions messages */
.ss-auctions-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 56px 24px;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	text-align: center;
}
.ss-auctions-empty--between {
	gap: 16px;
	padding: 64px 24px;
}
.ss-auctions-empty p,
.ss-auctions-empty h2 {
	margin: 0;
}
.ss-auctions-empty__eyebrow {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #555;
}
.ss-auctions-empty__title {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
}
.ss-auctions-empty__title--lg {
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.15;
}
.ss-auctions-empty__text {
	max-width: 480px;
	font-size: 18px;
	line-height: 1.55;
	color: #444;
	text-wrap: pretty;
}
.ss-auctions-empty__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 6px;
}
.ss-shop .ss-auctions-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	padding: 0 32px;
	border: 1.5px solid #1a1a1a;
	background: #1a1a1a;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}
.ss-shop .ss-auctions-btn:hover {
	border-color: #333;
	background: #333;
	color: #fff;
}
.ss-shop .ss-auctions-btn--outline {
	background: #fff;
	color: #1a1a1a;
}
.ss-shop .ss-auctions-btn--outline:hover {
	border-color: #1a1a1a;
	background: #f4f4f2;
	color: #1a1a1a;
}

/* Bid status row on cards (signed-in user's own bids only) */
.ss-auction-card__mybid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 12px;
	padding: 10px 12px;
	border-radius: 6px;
}
.ss-auction-card__mybid.is-winning {
	background: #edf7f0;
}
.ss-auction-card__mybid.is-outbid {
	background: #fdeeec;
}
.ss-auction-card__mybid-status {
	font-size: 15px;
	font-weight: 700;
}
.is-winning .ss-auction-card__mybid-status {
	color: #176b33;
}
.is-outbid .ss-auction-card__mybid-status {
	color: #b3261e;
}
.ss-auction-card__mybid-amount {
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	color: #333;
}

/* Wishlist page: watched auctions as auction cards (bid from the wishlist). */
/* No top rule: the last wishlist row (or the empty box) already ends with one. */
.ss-wl-auctions {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-top: 16px;
	scroll-margin-top: calc(var(--ss-header-h, 84px) + 24px);
}
.ss-wl-auctions__title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
}
.ss-wl-auctions .woocommerce ul.products {
	margin: 0;
}

/* ==========================================================================
   Checkout (WooCommerce Checkout block, restyled; inc/checkout.php,
   template-parts/checkout-page.php, assets/js/checkout.js)
   ========================================================================== */
.ss-checkout {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: var(--ss-container);
	margin: 0 auto;
	padding: 48px 0 96px;
	color: #1a1a1a;
	font-size: 17px;
}
.ss-checkout__header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
}
.ss-checkout__title {
	margin: 0;
	font-size: clamp(34px, 4.6vw, 48px);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.01em;
	text-transform: none;
	text-align: left;
	color: #1a1a1a;
}
.ss-checkout .ss-checkout__back {
	color: #1a1a1a;
	font-size: 16px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.ss-checkout a:hover {
	color: #e8830c;
}
.ss-checkout :focus-visible,
.ss-checkout .wc-block-components-checkout-order-summary__title:focus-visible,
.ss-checkout .wc-block-components-panel__button:focus-visible {
	outline: 3px solid #e8830c;
	outline-offset: 2px;
	box-shadow: none;
}
.ss-checkout .wc-block-checkout {
	margin: 0;
	max-width: none;
}

/* Layout: form + 400px summary from 900px; one column (summary first) below. */
.ss-checkout .wc-block-components-sidebar-layout {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin: 0;
}
.ss-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
.ss-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
	width: auto;
	margin: 0;
	padding: 0;
}
.ss-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
	order: -1;
	position: static;
}
@media (min-width: 900px) {
	.ss-checkout .wc-block-components-sidebar-layout.is-large {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 400px;
		gap: 32px 48px;
		align-items: start;
	}
	.ss-checkout .wc-block-components-sidebar-layout.is-large .wc-block-components-sidebar {
		order: 0;
		position: sticky;
		top: calc(var(--ss-header-h, 84px) + 24px);
	}
	.admin-bar .ss-checkout .wc-block-components-sidebar-layout.is-large .wc-block-components-sidebar {
		top: calc(var(--ss-header-h, 84px) + var(--wp-admin--admin-bar--height, 32px) + 24px);
	}
}

/* --- Form column -------------------------------------------------------- */
.ss-checkout .wc-block-checkout__form {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin: 0;
}
.ss-checkout .wc-block-checkout__form > *,
.ss-checkout .wc-block-components-checkout-step {
	margin: 0;
	padding: 0;
}
.ss-checkout .wc-block-checkout__form > div:empty {
	display: none;
}
.ss-checkout .wc-block-components-checkout-step {
	position: relative;
	border: 0;
}
.ss-checkout .wc-block-components-checkout-step::after {
	display: none;
}
.ss-checkout .wc-block-components-checkout-step__heading-container {
	margin: 0;
}
.ss-checkout .wc-block-components-checkout-step__heading {
	margin: 0 0 16px;
	min-height: 0;
}
.ss-checkout .wc-block-components-checkout-step__title,
.ss-checkout .wc-block-components-checkout-order-summary__title-text,
.ss-checkout .wc-block-components-title.wc-block-components-title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: #1a1a1a;
	text-transform: none;
}
.ss-checkout .wc-block-components-checkout-step__container,
.ss-checkout .wc-block-components-checkout-step__content {
	padding: 0;
}
.ss-checkout .wc-block-components-checkout-step__description {
	margin: 0 0 16px;
	font-size: 16px;
	color: #444;
}

/* Fields: label above, 52px input (email, address, coupon excluded). */
.ss-checkout .wc-block-components-address-form {
	gap: 16px;
}
.ss-checkout .wc-block-components-form .wc-block-components-text-input:not(.wc-block-components-totals-coupon__input),
.ss-checkout .wc-block-components-text-input:not(.wc-block-components-totals-coupon__input) {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 0;
}
.ss-checkout .wc-block-components-form .wc-block-components-text-input:not(.wc-block-components-totals-coupon__input) label,
.ss-checkout .wc-block-components-form .wc-block-components-text-input.is-active:not(.wc-block-components-totals-coupon__input) label,
.ss-checkout .wc-blocks-components-select .wc-blocks-components-select__label {
	position: static;
	transform: none;
	max-width: none;
	margin: 0;
	overflow: visible;
	white-space: normal;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	color: #1a1a1a;
}
.ss-checkout .wc-block-components-form .wc-block-components-text-input input[type],
.ss-checkout .wc-block-components-form .wc-block-components-text-input.is-active input[type],
.ss-checkout .wc-blocks-components-select .wc-blocks-components-select__select {
	height: 52px;
	min-height: 52px;
	padding: 0 14px;
	border: 1.5px solid #cfcfcf;
	border-radius: 0;
	background-color: #fff;
	box-shadow: none;
	font: inherit;
	font-size: 17px;
	line-height: normal;
	color: #1a1a1a;
}
.ss-checkout .wc-block-components-form .wc-block-components-text-input input[type]:focus,
.ss-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: #1a1a1a;
	outline: 3px solid #e8830c;
	outline-offset: 2px;
	box-shadow: none;
}
.ss-checkout .wc-block-components-form .wc-block-components-text-input.has-error input[type],
.ss-checkout .wc-blocks-components-select.has-error .wc-blocks-components-select__select {
	border-color: #b3261e;
}
.ss-checkout .wc-block-components-address-form .wc-blocks-components-select {
	margin-top: 0;
}
.ss-checkout .wc-blocks-components-select .wc-blocks-components-select__container {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: auto;
	border: 0;
	background: none;
}
.ss-checkout .wc-blocks-components-select .wc-blocks-components-select__select {
	width: 100%;
	padding-right: 44px;
}
.ss-checkout .wc-blocks-components-select .wc-blocks-components-select__expand {
	top: auto;
	bottom: 14px;
	right: 14px;
	transform: none;
}
.ss-checkout .wc-block-components-validation-error {
	font-size: 15px;
	color: #b3261e;
}
.ss-checkout .wc-block-components-address-form__address_2-toggle {
	font-size: 16px;
	color: #1a1a1a;
}

/* Saved address card; "Edit" sits on the heading row. */
.ss-checkout .wc-block-components-address-address-wrapper,
.ss-checkout .wc-block-components-address-card-wrapper,
.ss-checkout .wc-block-components-address-card {
	position: static;
}
.ss-checkout .wc-block-components-address-card {
	display: block;
	margin: 0;
	padding: 20px;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	font-size: 17px;
	line-height: 1.5;
	color: #333;
}
.ss-checkout .wc-block-components-address-card address {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	font-style: normal;
}
.ss-checkout .wc-block-components-address-card address:has(.ss-co-addr) > .wc-block-components-address-card__address-section {
	display: none;
}
.ss-co-addr {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ss-co-addr__name,
.ss-checkout .wc-block-components-address-card__address-section--primary {
	font-weight: 700;
	color: #1a1a1a;
}
.ss-checkout .wc-block-components-address-card__edit {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-flex;
	align-items: center;
	height: 44px;
	margin: -7px 0 0;
	padding: 0;
	font-size: 16px;
	font-weight: 500;
	color: #1a1a1a;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.ss-checkout .wc-block-components-address-card__edit:hover {
	color: #e8830c;
}

/* Payment */
.ss-checkout .wc-block-components-radio-control__input,
.ss-checkout .wc-block-components-radio-control-accordion-option {
	accent-color: #1a1a1a;
}
.ss-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option,
.ss-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option {
	font-size: 17px;
}
.ss-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__label {
	font-size: 17px;
	font-weight: 500;
	color: #1a1a1a;
}
.ss-checkout .wc-block-components-notice-banner {
	gap: 12px;
	align-items: flex-start;
	margin: 0;
	padding: 18px 20px;
	border: 0;
	border-radius: 8px;
	font-size: 17px;
	line-height: 1.5;
	color: #1a1a1a;
}
.ss-checkout .wc-block-components-notice-banner.is-error {
	background: #fdeeec;
}
.ss-checkout .wc-block-components-notice-banner.is-error > svg {
	display: none;
}
.ss-checkout .wc-block-components-notice-banner.is-error::before {
	content: "";
	flex: 0 0 22px;
	height: 22px;
	margin-top: 1px;
	background: #b3261e;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v6M12 16.5v.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v6M12 16.5v.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ss-checkout .wc-block-components-notice-banner > svg {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	padding: 0;
	border-radius: 0;
	background: none;
}
.ss-checkout .wc-block-components-notice-banner.is-error > svg {
	fill: #b3261e;
}
.ss-checkout .wc-block-components-notice-banner__content a {
	font-weight: 700;
	color: #1a1a1a;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Order note */
.ss-checkout .wc-block-checkout__add-note {
	margin: 0;
}
.ss-checkout .wc-block-checkout__order-notes {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ss-checkout .wc-block-components-checkbox {
	margin: 0;
}
.ss-checkout .wc-block-components-checkbox label {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	font-size: 17px;
	cursor: pointer;
}
.ss-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	width: 22px;
	min-width: 22px;
	height: 22px;
	margin: 0;
	border: 1.5px solid #1a1a1a;
	border-radius: 2px;
	background: #fff;
}
.ss-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
	background: #1a1a1a;
}
.ss-checkout .wc-block-components-checkbox .wc-block-components-checkbox__mark {
	left: 3px;
	top: 50%;
	width: 16px;
	margin: -8px 0 0;
	fill: #fff;
}
.ss-checkout .wc-block-components-checkbox__label {
	font-size: 17px;
	color: #1a1a1a;
}
.ss-checkout .wc-block-components-textarea,
.ss-checkout .wc-block-checkout__add-note textarea {
	width: 100%;
	min-height: 120px;
	margin: 0;
	padding: 12px 14px;
	border: 1.5px solid #cfcfcf;
	border-radius: 0;
	font: inherit;
	font-size: 17px;
	line-height: 1.5;
	color: #1a1a1a;
	resize: vertical;
}
.ss-checkout .wc-block-checkout__add-note textarea:focus {
	border-color: #1a1a1a;
	outline: 3px solid #e8830c;
	outline-offset: 2px;
	box-shadow: none;
}

/* Terms + Place order */
.ss-checkout .wc-block-checkout__terms {
	margin: 0;
	padding: 24px 0 0;
	border-top: 1px solid #e6e6e6;
}
.ss-checkout .wc-block-checkout__terms.wc-block-checkout__terms--with-separator::before {
	display: none;
}
.ss-checkout .wc-block-checkout__terms,
.ss-checkout .wc-block-checkout__terms .wc-block-components-checkbox__label {
	font-size: 16px;
	line-height: 1.55;
	color: #444;
}
.ss-checkout .wc-block-checkout__terms a {
	color: #1a1a1a;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.ss-checkout .wc-block-checkout__form > .wc-block-checkout__actions {
	margin-top: -24px; /* 16px from the terms (form gap is 40px) */
}
.ss-checkout .wc-block-checkout__actions_row {
	display: block;
}
.ss-checkout .wc-block-checkout__actions .checkout-order-summary-block-fill-wrapper {
	display: none; /* phones: the summary is the toggle at the top */
}
.ss-checkout .wc-block-components-checkout-return-to-cart-button {
	display: none; /* "← Back to cart" is in the page header */
}
.ss-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button {
	width: 100%;
	height: 56px;
	min-height: 56px;
	padding: 0 24px;
	border: 0;
	border-radius: 0;
	background: #1a1a1a;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: none;
}
.ss-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button:hover {
	background: #333;
	color: #fff;
}

/* --- Order summary ------------------------------------------------------ */
.ss-checkout .wp-block-woocommerce-checkout-order-summary-block {
	margin: 0;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
}
.ss-checkout .wc-block-components-checkout-order-summary__title {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 24px 24px 0;
	border: 0;
}
.ss-checkout .wc-block-components-checkout-order-summary__content {
	display: block;
	padding: 20px 24px 24px;
}
.ss-checkout .wc-block-components-checkout-order-summary__content-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.ss-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper {
	margin: 0;
	padding: 0;
	border: 0;
}
.ss-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper:empty,
.ss-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper.slot-wrapper:has(> .wc-block-components-order-meta:empty) {
	display: none;
}

/* Phones (WooCommerce's collapsed summary): full-width toggle with the total. */
.ss-checkout .wc-block-components-sidebar-layout:not(.is-large) .wp-block-woocommerce-checkout-order-summary-block {
	border: 0;
}
.ss-checkout .wc-block-components-sidebar-layout:not(.is-large) .wc-block-components-checkout-order-summary__title {
	gap: 8px;
	min-height: 60px;
	padding: 0 20px;
	border-radius: 8px;
	background: #f4f4f2;
	cursor: pointer;
}
.ss-checkout .wc-block-components-sidebar-layout:not(.is-large) .wc-block-components-checkout-order-summary__title-text {
	font-size: 0; /* label swapped below; WooCommerce's reads "Order summary" */
	line-height: 1;
}
.ss-checkout .wc-block-components-sidebar-layout:not(.is-large) .wc-block-components-checkout-order-summary__title-text::before {
	content: "Show order summary";
	font-size: 17px;
	font-weight: 500;
}
.ss-checkout .wc-block-components-sidebar-layout:not(.is-large) .wc-block-components-checkout-order-summary__title[aria-expanded="true"] .wc-block-components-checkout-order-summary__title-text::before {
	content: "Hide order summary";
}
.ss-checkout .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
	margin: 0;
	padding: 0;	font-size: 22px;
	font-weight: 700;
}
.ss-checkout .wc-block-components-sidebar-layout.is-large .wc-block-components-checkout-order-summary__title-icon,
.ss-checkout .wc-block-components-sidebar-layout.is-large .wc-block-components-checkout-order-summary__title-price {
	display: none;
}
.ss-checkout .wc-block-components-checkout-order-summary__title-icon {
	order: 2;
	display: flex;
}
.ss-checkout .wc-block-components-checkout-order-summary__title-icon svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}
.ss-checkout .wc-block-components-checkout-order-summary__title-price {
	order: 3;
	margin-left: auto;
	font-size: 20px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.ss-checkout .wc-block-components-sidebar-layout:not(.is-large) .wc-block-components-checkout-order-summary__content {
	margin-top: 12px;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
}
.ss-checkout .wc-block-components-sidebar-layout:not(.is-large) .wc-block-components-checkout-order-summary__content:empty {
	display: none;
}

/* Items: 64px image · name + meta · prices */
.ss-checkout .wc-block-components-order-summary {
	padding: 0;
}
.ss-checkout .wc-block-components-order-summary .wc-block-components-order-summary__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 0;
}
.ss-checkout .wc-block-components-order-summary-item {
	position: relative;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	gap: 4px 14px;
	align-items: start;
	margin: 0;
	padding: 0;
	border: 0;
}
.ss-checkout .wc-block-components-order-summary-item::after {
	display: none;
}
.ss-checkout .wc-block-components-order-summary-item__image {
	grid-column: 1;
	width: 64px;
	margin: 0;
	padding: 0;
}
.ss-checkout .wc-block-components-order-summary-item__image > img {
	display: block;
	width: 64px;
	max-width: none;
	height: 64px;
	object-fit: cover;
	border-radius: 6px;
}
.ss-checkout .wc-block-components-order-summary-item__quantity,
.ss-checkout .wc-block-components-product-metadata__description,
.ss-checkout .wc-block-components-order-summary-item .wc-block-cart-item__prices > .price > :not(del) {
	display: none;
}
.ss-checkout .wc-block-components-order-summary-item__description {
	grid-column: 2;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	margin: 0;
	padding: 0;
}
.ss-checkout .wc-block-components-order-summary-item .wc-block-components-product-name {
	margin: 0;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
	color: #1a1a1a;
}
.ss-checkout .wc-block-components-order-summary-item .wc-block-components-product-metadata {
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	color: #555;
}
.ss-checkout .wc-block-components-order-summary-item .wc-block-components-product-details {
	margin: 0;
	padding: 0;
	font-size: 15px;
	color: #555;
}
.ss-checkout .wc-block-components-order-summary-item .wc-block-components-product-badge {
	align-self: flex-start;
}
/* Price column: [was] / price / Save $X; the "was" is the unit regular price,
   so it only shows for a quantity of 1. */
.ss-checkout .wc-block-components-order-summary-item__total-price {
	grid-column: 3;
	grid-row: 1;
	margin: 0;
	text-align: right;
}
.ss-checkout .wc-block-components-order-summary-item:has(.wc-block-cart-item__prices del):not(.ss-co-multi) .wc-block-components-order-summary-item__total-price {
	padding-top: 23px;
}
.ss-checkout .wc-block-components-order-summary-item .wc-block-cart-item__prices {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	line-height: 1.4;
}
.ss-checkout .wc-block-components-order-summary-item.ss-co-multi .wc-block-cart-item__prices {
	display: none;
}
.ss-checkout .wc-block-components-order-summary-item .wc-block-cart-item__prices del {
	font-size: 15px;
	color: #777;
	text-decoration: line-through;
	font-variant-numeric: tabular-nums;
}
.ss-checkout .wc-block-cart-item__total-price-and-sale-badge-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}
.ss-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-product-price {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #1a1a1a;
	font-variant-numeric: tabular-nums;
}
.ss-checkout .wc-block-components-order-summary-item:has(.wc-block-components-sale-badge) .wc-block-components-order-summary-item__total-price .wc-block-components-product-price {
	color: #176b33;
}
.ss-checkout .wc-block-components-order-summary-item .wc-block-components-sale-badge {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	color: #176b33;
	white-space: nowrap;
}

/* Coupon */
.ss-checkout .wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
	padding-top: 6px;
	border-top: 1px solid #e6e6e6;
}
.ss-checkout .wc-block-components-totals-coupon.wc-block-components-panel {
	margin: 0;
	padding: 0;
}
.ss-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button {
	position: relative;
	display: flex;
	align-items: center;
	height: 44px;
	margin: 0;
	padding: 0 32px 0 0;
	font-size: 17px;
	font-weight: 500;
	line-height: 1;
	color: #1a1a1a;
}
.ss-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button-icon {
	position: absolute;
	top: 50%;
	right: 0;
	left: auto;
	width: 22px;
	height: 22px;
	margin-top: -11px;
	transform: none;
	fill: currentColor;
}
.ss-checkout .wc-block-components-totals-coupon .wc-block-components-panel__content {
	padding: 6px 0 4px;
}
.ss-checkout .wc-block-components-totals-coupon__form {
	display: flex;
	gap: 0;
	margin: 0;
}
.ss-checkout .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}
.ss-checkout .wc-block-components-totals-coupon__input input[type] {
	height: 48px;
	min-height: 48px;
	padding: 0 14px;
	border: 1.5px solid #cfcfcf;
	border-right: 0;
	border-radius: 0;
	font-size: 17px;
	box-shadow: none;
}
.ss-checkout .wc-block-components-totals-coupon__input label {
	display: none; /* the input has an aria-label and a placeholder (checkout.js) */
}
.ss-checkout .wc-block-components-totals-coupon__input input::placeholder {
	color: #777;
	opacity: 1;
}
.ss-checkout .wc-block-components-totals-coupon__button.wc-block-components-button {
	flex: 0 0 auto;
	width: auto;
	height: 48px;
	min-height: 48px;
	margin: 0;
	padding: 0 20px;
	border: 1.5px solid #1a1a1a;
	border-radius: 0;
	background: #fff;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: none;
}
.ss-checkout .wc-block-components-totals-coupon__button.wc-block-components-button:hover {
	background: #1a1a1a;
	color: #fff;
}

/* Totals */
.ss-checkout .wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-totals-block {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 16px 0 0;
	border-top: 1px solid #e6e6e6;
}
.ss-checkout .wp-block-woocommerce-checkout-order-summary-totals-block:not(:has(.wc-block-components-totals-item)) {
	display: none;
}
.ss-checkout .wc-block-components-totals-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 16px;
	margin: 0;
	padding: 0;
	font-size: 17px;
}
.ss-checkout .wc-block-components-totals-item__label {
	color: #444;
}
.ss-checkout .wc-block-components-totals-item__value {
	text-align: right;
	font-variant-numeric: tabular-nums;
	color: #1a1a1a;
}
.ss-checkout .wc-block-components-totals-item__description {
	grid-column: 1 / -1;
	font-size: 15px;
	color: #555;
}
.ss-checkout .wc-block-components-totals-item__description:empty {
	display: none;
}
.ss-checkout .ss-co-saving .wc-block-components-totals-item__label,
.ss-checkout .ss-co-saving .wc-block-components-totals-item__value {
	color: #176b33;
}
.ss-checkout .ss-co-saving .wc-block-components-totals-item__value {
	font-weight: 700;
}
.ss-checkout .wc-block-components-totals-footer-item {
	align-items: baseline;
	padding-top: 16px;
	border-top: 1px solid #e6e6e6;
}
.ss-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-size: 19px;
	font-weight: 700;
	color: #1a1a1a;
}
.ss-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 28px;
	font-weight: 700;
}
