/**
 * Stickerfreak design system – tokens and UI components.
 *
 * Loaded after theme.css. Everything here is brand-level UI (forms, buttons,
 * badges, upload surfaces, order tracker) that the shop and the custom
 * order flow reuse. Section/page layout lives in theme.css.
 *
 * The one recurring device is the die cut: a white contour with a soft shadow
 * for anything that behaves like a sticker, and a dashed cut line for surfaces
 * where the customer's artwork goes. Neither is decoration — both say
 * "this is the thing we cut".
 */

:root {
	/* Brand (from the Stickerfreak brand manual). */
	--sf-c-magenta: #c4127c;
	--sf-c-magenta-dark: #9c0e63;
	--sf-c-magenta-tint: #fbe7f2;
	--sf-c-ink: #1b1b1b;
	--sf-c-ink-soft: #2e2e2d;
	--sf-c-muted: #5c5c5b;
	--sf-c-line: #dedede;
	--sf-c-gray: #b3b3b3;
	--sf-c-surface: #f1f1f1;
	--sf-c-white: #fff;

	/* Feedback. */
	--sf-c-success: #13612e;
	--sf-c-success-bg: #e7f3ea;
	--sf-c-warning: #8a5300;
	--sf-c-warning-bg: #fdf1dd;
	--sf-c-danger: #b82105;
	--sf-c-danger-bg: #fcebe8;
	--sf-c-info: #1159af;
	--sf-c-info-bg: #e8f0fb;

	/* Spacing scale (4px base). */
	--sf-s-1: 0.25rem;
	--sf-s-2: 0.5rem;
	--sf-s-3: 0.75rem;
	--sf-s-4: 1rem;
	--sf-s-5: 1.5rem;
	--sf-s-6: 2rem;
	--sf-s-7: 3rem;
	--sf-s-8: 4rem;

	/* Type scale, 1.25 ratio on a 17px base. */
	--sf-t-xs: 0.75rem;
	--sf-t-sm: 0.875rem;
	--sf-t-base: 1rem;
	--sf-t-md: 1.25rem;
	--sf-t-lg: 1.5625rem;
	--sf-t-xl: 1.953rem;
	--sf-t-2xl: 2.441rem;
	--sf-t-3xl: 3.052rem;
	--sf-t-4xl: 3.815rem; /* only the deal-page headline (deals.css) */

	--sf-r-sm: 8px;
	--sf-r-md: 14px;
	--sf-r-lg: 22px;
	--sf-r-pill: 999px;

	--sf-shadow-card: 0 10px 24px rgba(27, 27, 27, 0.08);
	--sf-shadow-pop: 0 16px 34px rgba(27, 27, 27, 0.16);
	--sf-focus: 0 0 0 3px rgba(196, 18, 124, 0.35);

	--sf-ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- Focus: one visible treatment everywhere ---------- */

.sf-ui :focus-visible,
.woocommerce :focus-visible,
.sf-field input:focus-visible,
.sf-field select:focus-visible,
.sf-field textarea:focus-visible {
	outline: 2px solid var(--sf-c-magenta);
	outline-offset: 2px;
}

/* ---------- Buttons ---------- */

.sf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sf-s-2);
	padding: 14px 26px;
	border: 2px solid transparent;
	border-radius: var(--sf-r-md);
	background: var(--sf-c-magenta);
	color: var(--sf-c-white);
	font-size: var(--sf-t-sm);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--sf-ease), color 0.2s var(--sf-ease), border-color 0.2s var(--sf-ease);
}

.sf-btn:hover,
.sf-btn:focus {
	background: var(--sf-c-ink);
	color: var(--sf-c-white);
}

.sf-btn--secondary {
	background: transparent;
	border-color: currentColor;
	color: var(--sf-c-ink);
}

.sf-btn--secondary:hover,
.sf-btn--secondary:focus {
	background: var(--sf-c-ink);
	border-color: var(--sf-c-ink);
	color: var(--sf-c-white);
}

.sf-btn--ghost {
	padding-left: var(--sf-s-2);
	padding-right: var(--sf-s-2);
	background: transparent;
	color: var(--sf-c-magenta);
}

.sf-btn--ghost:hover,
.sf-btn--ghost:focus {
	background: var(--sf-c-magenta-tint);
	color: var(--sf-c-magenta-dark);
}

.sf-btn--sm {
	padding: 9px 16px;
	font-size: var(--sf-t-xs);
}

.sf-btn--lg {
	padding: 18px 34px;
	font-size: var(--sf-t-base);
}

.sf-btn[disabled],
.sf-btn[aria-disabled="true"] {
	background: var(--sf-c-gray);
	border-color: transparent;
	color: var(--sf-c-white);
	cursor: not-allowed;
	pointer-events: none;
}

.sf-btn[aria-busy="true"]::before {
	content: "";
	width: 1em;
	height: 1em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: sf-spin 0.7s linear infinite;
}

@keyframes sf-spin {
	to { transform: rotate(1turn); }
}

@media (prefers-reduced-motion: reduce) {
	.sf-btn[aria-busy="true"]::before {
		animation-duration: 2.4s;
	}
}

.sf-btn svg {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

/* ---------- Forms ---------- */

.sf-field {
	display: block;
	margin-bottom: var(--sf-s-5);
}

.sf-field > label,
.sf-label {
	display: block;
	margin-bottom: var(--sf-s-2);
	font-size: var(--sf-t-sm);
	font-weight: 800;
	color: var(--sf-c-ink);
}

.sf-field input[type="text"],
.sf-field input[type="email"],
.sf-field input[type="tel"],
.sf-field input[type="number"],
.sf-field input[type="search"],
.sf-field select,
.sf-field textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid var(--sf-c-line);
	border-radius: var(--sf-r-sm);
	background: var(--sf-c-white);
	color: var(--sf-c-ink);
	font-family: inherit;
	font-size: var(--sf-t-base);
	line-height: 1.4;
	transition: border-color 0.15s var(--sf-ease), box-shadow 0.15s var(--sf-ease);
}

.sf-field input:focus,
.sf-field select:focus,
.sf-field textarea:focus {
	border-color: var(--sf-c-magenta);
	box-shadow: var(--sf-focus);
	outline: none;
}

.sf-field input::placeholder,
.sf-field textarea::placeholder {
	color: var(--sf-c-gray);
}

.sf-field input[disabled],
.sf-field select[disabled],
.sf-field textarea[disabled] {
	background: var(--sf-c-surface);
	color: var(--sf-c-muted);
	cursor: not-allowed;
}

.sf-help {
	display: block;
	margin-top: var(--sf-s-2);
	font-size: var(--sf-t-sm);
	color: var(--sf-c-muted);
}

.sf-field--error input,
.sf-field--error select,
.sf-field--error textarea {
	border-color: var(--sf-c-danger);
}

.sf-error {
	display: block;
	margin-top: var(--sf-s-2);
	font-size: var(--sf-t-sm);
	font-weight: 700;
	color: var(--sf-c-danger);
}

/* Choice tiles: the shape material and finish options pick from. */
.sf-choices {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sf-s-3);
	margin: 0;
	padding: 0;
	border: 0;
}

.sf-choice {
	position: relative;
	flex: 1 1 8rem;
}

.sf-choice input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.sf-choice span {
	display: block;
	padding: var(--sf-s-3) var(--sf-s-4);
	border: 2px solid var(--sf-c-line);
	border-radius: var(--sf-r-sm);
	background: var(--sf-c-white);
	font-weight: 700;
	text-align: center;
	transition: border-color 0.15s var(--sf-ease), background-color 0.15s var(--sf-ease);
}

.sf-choice small {
	display: block;
	font-size: var(--sf-t-xs);
	font-weight: 400;
	color: var(--sf-c-muted);
}

.sf-choice input:checked + span {
	border-color: var(--sf-c-magenta);
	background: var(--sf-c-magenta-tint);
}

.sf-choice input:focus-visible + span {
	box-shadow: var(--sf-focus);
}

/* Quantity stepper. */
.sf-qty {
	display: inline-flex;
	align-items: stretch;
	border: 2px solid var(--sf-c-line);
	border-radius: var(--sf-r-sm);
	overflow: hidden;
}

.sf-qty button {
	width: 2.75rem;
	border: 0;
	background: var(--sf-c-white);
	color: var(--sf-c-ink);
	font-size: var(--sf-t-md);
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.sf-qty button:hover {
	background: var(--sf-c-magenta-tint);
}

.sf-qty input {
	width: 4rem;
	border: 0;
	border-left: 2px solid var(--sf-c-line);
	border-right: 2px solid var(--sf-c-line);
	text-align: center;
	font-weight: 800;
	font-family: inherit;
	font-size: var(--sf-t-base);
}

/* ---------- Artwork upload: the cut line is the affordance ---------- */

.sf-dropzone {
	display: grid;
	place-items: center;
	gap: var(--sf-s-3);
	padding: var(--sf-s-7) var(--sf-s-5);
	border: 3px dashed var(--sf-c-gray);
	border-radius: var(--sf-r-lg);
	background: var(--sf-c-white);
	text-align: center;
	color: var(--sf-c-muted);
	transition: border-color 0.2s var(--sf-ease), background-color 0.2s var(--sf-ease);
}

.sf-dropzone:hover,
.sf-dropzone[data-state="over"] {
	border-color: var(--sf-c-magenta);
	background: var(--sf-c-magenta-tint);
}

.sf-dropzone strong {
	display: block;
	font-size: var(--sf-t-md);
	color: var(--sf-c-ink);
}

.sf-dropzone svg {
	width: 2.5rem;
	height: 2.5rem;
	color: var(--sf-c-magenta);
}

/* Uploaded file, with the check result attached to it. */
.sf-file {
	display: flex;
	align-items: center;
	gap: var(--sf-s-4);
	padding: var(--sf-s-4);
	border: 2px solid var(--sf-c-line);
	border-radius: var(--sf-r-md);
	background: var(--sf-c-white);
}

.sf-file__thumb {
	flex: none;
	width: 72px;
	height: 72px;
	display: grid;
	place-items: center;
	border-radius: var(--sf-r-sm);
	background: var(--sf-c-surface);
	overflow: hidden;
}

.sf-file__meta {
	min-width: 0;
}

.sf-file__name {
	font-weight: 800;
	overflow-wrap: anywhere;
}

.sf-file__detail {
	font-size: var(--sf-t-sm);
	color: var(--sf-c-muted);
}

/* ---------- Status badges ---------- */

.sf-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--sf-s-2);
	padding: 5px 12px;
	border-radius: var(--sf-r-pill);
	background: var(--sf-c-surface);
	color: var(--sf-c-ink);
	font-size: var(--sf-t-xs);
	font-weight: 800;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.sf-badge::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: currentColor;
}

.sf-badge--proofing { background: var(--sf-c-warning-bg); color: var(--sf-c-warning); }
.sf-badge--approved { background: var(--sf-c-magenta-tint); color: var(--sf-c-magenta-dark); }
.sf-badge--production { background: var(--sf-c-info-bg); color: var(--sf-c-info); }
.sf-badge--shipped { background: var(--sf-c-success-bg); color: var(--sf-c-success); }
.sf-badge--problem { background: var(--sf-c-danger-bg); color: var(--sf-c-danger); }

/* ---------- Tags (merchandising labels on cards) ---------- */
/*
 * Bestseller, Trendy, Popular, Premium: a sticker-like label. Not .sf-badge,
 * which reports an order's status.
 */
.sf-tag {
	display: inline-block;
	padding: var(--sf-s-1) var(--sf-s-3);
	border-radius: var(--sf-r-pill);
	background: var(--sf-c-magenta);
	box-shadow: 0 2px 0 var(--sf-c-ink);
	color: var(--sf-c-white);
	font-size: var(--sf-t-xs);
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
	transform: rotate(-4deg);
}

.sf-tag--dark {
	background: var(--sf-c-ink);
	box-shadow: 0 2px 0 var(--sf-c-magenta);
}

/* ---------- Notices ---------- */

.sf-notice {
	display: flex;
	gap: var(--sf-s-3);
	padding: var(--sf-s-4);
	border-left: 4px solid var(--sf-c-info);
	border-radius: var(--sf-r-sm);
	background: var(--sf-c-info-bg);
	color: var(--sf-c-ink);
}

/* `display: flex` above beats the [hidden] attribute, so say it explicitly. */
.sf-notice[hidden] {
	display: none;
}

.sf-notice svg {
	flex: none;
	width: 1.4rem;
	height: 1.4rem;
	color: var(--sf-c-info);
}

.sf-notice p {
	margin: 0;
}

.sf-notice strong {
	display: block;
}

.sf-notice--success { border-color: var(--sf-c-success); background: var(--sf-c-success-bg); }
.sf-notice--success svg { color: var(--sf-c-success); }
.sf-notice--warning { border-color: var(--sf-c-warning); background: var(--sf-c-warning-bg); }
.sf-notice--warning svg { color: var(--sf-c-warning); }
.sf-notice--error { border-color: var(--sf-c-danger); background: var(--sf-c-danger-bg); }
.sf-notice--error svg { color: var(--sf-c-danger); }

/* ---------- Cart nudge ----------
 * One line towards a reward («Βάλε άλλα 10,00 € σε προϊόντα…»), printed by
 * nvm-stickerfreak-orders in the slide cart and above the checkout;
 * --won once the reward is in the cart. .sf-checkout-nudge is the wide bar
 * above the checkout, with a link back to the shop.
 */

.sf-cart-nudge {
	margin: 0 0 var(--sf-s-3);
	padding: var(--sf-s-2) var(--sf-s-3);
	border-radius: var(--sf-r-sm);
	background: var(--sf-c-magenta-tint);
	color: var(--sf-c-ink);
	font-size: var(--sf-t-sm);
	font-weight: 700;
	line-height: 1.4;
}

.sf-cart-nudge--won {
	background: var(--sf-c-success-bg);
	color: var(--sf-c-success);
}

.sf-checkout-nudge {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sf-s-2) var(--sf-s-4);
	margin: 0 0 var(--sf-s-5);
	padding: var(--sf-s-3) var(--sf-s-4);
	border-radius: var(--sf-r-md);
	font-size: var(--sf-t-base);
}

.sf-checkout-nudge__link {
	flex: none;
	color: var(--sf-c-magenta);
	font-size: var(--sf-t-sm);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sf-checkout-nudge__link:hover,
.sf-checkout-nudge__link:focus-visible {
	color: var(--sf-c-magenta-dark);
}

/* ---------- Buy box ----------
 * A ready-made product sold on a content page (/sample-pack/): a white panel
 * with a .sf-checklist and [sf_add_to_cart] (.sf-buy: price + button).
 * After an AJAX add WooCommerce appends a «View cart» link; the slide cart
 * opens instead, so it is hidden.
 */

.sf-buy-box {
	max-width: 30rem;
	margin-top: var(--sf-s-5);
	padding: var(--sf-s-5);
	border-radius: var(--sf-r-lg);
	background: var(--sf-c-white);
	box-shadow: var(--sf-shadow-card);
	color: var(--sf-c-ink-soft);
}

.sf-buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sf-s-4);
}

.sf-buy .sf-price__amount {
	color: var(--sf-c-ink);
}

.sf-buy .sf-btn {
	flex: 1 1 auto;
}

.sf-buy .sf-btn.loading {
	opacity: 0.7;
	cursor: progress;
}

.sf-buy .added_to_cart {
	display: none;
}

/* Checklist: a list with magenta ticks (drawn with borders, no icon file). */
ul.sf-checklist {
	/* ul. outranks the theme's list indent in content (.entry-content ul). */
	display: grid;
	gap: var(--sf-s-2);
	margin: 0 0 var(--sf-s-5);
	padding: 0;
	list-style: none;
}

.sf-checklist li {
	position: relative;
	padding-left: var(--sf-s-6);
	line-height: 1.5;
}

.sf-checklist li::before {
	content: "";
	position: absolute;
	top: 0.3em;
	left: var(--sf-s-1);
	width: 0.4em;
	height: 0.75em;
	border: solid var(--sf-c-magenta);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

@media (max-width: 781px) {
	.sf-buy-box {
		padding: var(--sf-s-4);
	}
}

/* ---------- Sticky buy bar ----------
 * Mobile only: name, price and one button fixed to the bottom of the screen,
 * for products bought without configuration (inc/class-sticky-buy.php).
 * data-state="shown" while the page's own buy button is out of view.
 * --static is the in-flow version for the style guide.
 */

.sf-sticky-buy {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sf-s-3);
	padding: var(--sf-s-3) var(--sf-s-4);
	padding-bottom: calc(var(--sf-s-3) + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--sf-c-line);
	background: var(--sf-c-white);
	box-shadow: var(--sf-shadow-card);
	transform: translateY(100%);
	visibility: hidden;
	transition: transform 0.25s var(--sf-ease), visibility 0s linear 0.25s;
}

.sf-sticky-buy[data-state="shown"] {
	transform: none;
	visibility: visible;
	transition: transform 0.25s var(--sf-ease);
}

.sf-sticky-buy__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.3;
}

.sf-sticky-buy__name {
	overflow: hidden;
	color: var(--sf-c-ink);
	font-size: var(--sf-t-sm);
	font-weight: 700;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.sf-sticky-buy__price {
	color: var(--sf-c-magenta);
	font-size: var(--sf-t-base);
	font-weight: 800;
}

.sf-sticky-buy .sf-btn {
	flex-shrink: 0;
}

.sf-sticky-buy--static {
	position: static;
	transform: none;
	visibility: visible;
}

@media (min-width: 782px) {
	.sf-sticky-buy:not(.sf-sticky-buy--static) {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sf-sticky-buy,
	.sf-sticky-buy[data-state="shown"] {
		transition: none;
	}
}

/* ---------- Order tracker ---------- */

.sf-tracker {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--sf-s-3);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: sf-step;
}

.sf-tracker li {
	padding-top: var(--sf-s-5);
	border-top: 4px solid var(--sf-c-line);
	font-size: var(--sf-t-sm);
	color: var(--sf-c-muted);
}

.sf-tracker li strong {
	display: block;
	font-size: var(--sf-t-base);
	color: var(--sf-c-ink);
}

.sf-tracker li[data-state="done"] {
	border-top-color: var(--sf-c-magenta);
}

.sf-tracker li[data-state="current"] {
	border-top-color: var(--sf-c-magenta);
}

.sf-tracker li[data-state="current"] strong::after {
	content: "";
	display: inline-block;
	width: 0.5rem;
	height: 0.5rem;
	margin-left: var(--sf-s-2);
	border-radius: 50%;
	background: var(--sf-c-magenta);
	vertical-align: middle;
}

/* ---------- Threshold progress (free shipping, volume discount) ---------- */

.sf-progress {
	display: grid;
	gap: var(--sf-s-2);
}

.sf-progress__bar {
	height: 10px;
	border-radius: var(--sf-r-pill);
	background: var(--sf-c-surface);
	overflow: hidden;
}

.sf-progress__fill {
	height: 100%;
	border-radius: inherit;
	background: var(--sf-c-magenta);
}

.sf-progress__label {
	font-size: var(--sf-t-sm);
	color: var(--sf-c-muted);
}

.sf-progress__label b {
	color: var(--sf-c-ink);
}

/* ---------- Price ---------- */

.sf-price {
	display: flex;
	align-items: baseline;
	gap: var(--sf-s-3);
}

.sf-price__amount {
	font-size: var(--sf-t-2xl);
	font-weight: 900;
	line-height: 1;
}

.sf-price__unit {
	font-size: var(--sf-t-sm);
	color: var(--sf-c-muted);
}

.sf-price__was {
	font-size: var(--sf-t-base);
	color: var(--sf-c-muted);
	text-decoration: line-through;
}

/* ---------- Configurator loading (Configurator_Loading) ---------- */

/*
 * Skeleton of the Antigro Sticker Builder while its iframe loads. The
 * container right after it stays collapsed until configurator-loading.js
 * removes the skeleton; the iframe keeps loading behind it.
 */
.sf-cfg-skel {
	display: flex;
	flex-direction: column;
	gap: var(--sf-s-5);
	margin-bottom: var(--sf-s-5);
	padding: var(--sf-s-5);
	border: 1px solid var(--sf-c-line);
	border-radius: var(--sf-r-md);
}

.sf-cfg-skel + #antigro-customizer-container {
	height: 0;
	overflow: hidden;
}

.sf-cfg-skel p {
	margin: 0;
}

.sf-cfg-skel__status {
	display: flex;
	align-items: center;
	gap: var(--sf-s-2);
	font-size: var(--sf-t-sm);
	font-weight: 700;
	color: var(--sf-c-magenta);
}

.sf-cfg-skel__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--sf-c-magenta);
	animation: sf-cfg-pulse 1s ease-in-out infinite;
}

.sf-cfg-skel__label {
	margin-bottom: var(--sf-s-2) !important;
	font-weight: 700;
	color: var(--sf-c-ink);
}

.sf-cfg-skel__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sf-s-2) var(--sf-s-5);
}

.sf-cfg-skel__bar,
.sf-cfg-skel__tile,
.sf-cfg-skel__total {
	display: block;
	border-radius: var(--sf-r-sm);
	background-color: var(--sf-c-surface);
	background-image: linear-gradient(90deg, transparent 25%, rgba(255, 255, 255, 0.65) 50%, transparent 75%);
	background-size: 200% 100%;
	animation: sf-cfg-shimmer 1.4s linear infinite;
}

.sf-cfg-skel__bar {
	height: 18px;
}

.sf-cfg-skel__tile {
	height: 72px;
}

.sf-cfg-skel__total {
	height: 64px;
	background-color: var(--sf-c-magenta-tint);
}

.sf-cfg-skel__btn {
	display: block;
	height: 44px;
	border-radius: var(--sf-r-pill);
	background: var(--sf-c-magenta);
	opacity: 0.35;
}

@keyframes sf-cfg-shimmer {
	to {
		background-position: -200% 0;
	}
}

@keyframes sf-cfg-pulse {
	50% {
		opacity: 0.3;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sf-cfg-skel__dot,
	.sf-cfg-skel__bar,
	.sf-cfg-skel__tile,
	.sf-cfg-skel__total {
		animation: none;
	}
}

/* ---------- Filter chips (materials quick filter) ---------- */
/*
 * A row of pill buttons that show one group of cards at a time. Built by
 * assets/js/materials-filter.js on /ylika/, on every width. The --sticky
 * variant sticks under the header (--sf-filter-top is set by the script from
 * Kadence's sticky header).
 */
.sf-filter__list {
	display: flex;
	gap: var(--sf-s-2);
	overflow-x: auto;
	scrollbar-width: none;
}

.sf-filter__list::-webkit-scrollbar {
	display: none;
}

.sf-filter__chip {
	flex: 0 0 auto;
	margin: 0;
	padding: var(--sf-s-2) var(--sf-s-4);
	border: 2px solid var(--sf-c-ink);
	border-radius: var(--sf-r-pill);
	background: var(--sf-c-white);
	box-shadow: none;
	color: var(--sf-c-ink);
	font: inherit;
	font-size: var(--sf-t-sm);
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.2;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s var(--sf-ease), color 0.2s var(--sf-ease), border-color 0.2s var(--sf-ease);
}

.sf-filter__chip:hover {
	background: var(--sf-c-magenta-tint);
	color: var(--sf-c-ink);
}

.sf-filter__chip[aria-pressed="true"] {
	border-color: var(--sf-c-magenta);
	background: var(--sf-c-magenta);
	color: var(--sf-c-white);
}

.sf-filter__chip:focus-visible {
	outline: none;
	box-shadow: var(--sf-focus);
}

.sf-filter__count {
	font-weight: 400;
}

/* The filtered-out groups: a bare [hidden] loses to the blocks' own display rules. */
.wp-block-columns.sf-materials[hidden],
.wp-block-heading[hidden] {
	display: none;
}

.sf-filter--sticky {
	position: sticky;
	top: var(--sf-filter-top, 0px);
	z-index: 5;
	margin: 0 calc(-1 * var(--sf-s-4)) var(--sf-s-5);
	padding: var(--sf-s-3) var(--sf-s-4);
	background: var(--sf-c-white);
	transition: box-shadow 0.2s var(--sf-ease);
}

.sf-filter--sticky.is-stuck {
	box-shadow: var(--sf-shadow-card);
}

@media (prefers-reduced-motion: reduce) {
	.sf-filter__chip,
	.sf-filter--sticky {
		transition: none;
	}
}

/* ---------- Carousel (Product_Carousel, [sf_product_carousel]) ----------
 * A row that scrolls sideways and snaps to the cards. Each step shows whole
 * cards plus a fifth of the next one, so it reads as "there is more":
 * 5 + 1/5 on desktop, 3 + 1/5 on tablet. On mobile one and a half (title
 * only: theme.css), so the photos are big enough to see the stickers.
 * Five products or fewer fill the desktop row exactly.
 * Card width = (row - full × gap) / (full + 0.2), in container units so the
 * arrows can sit at the middle of the photo.
 */
.sf-carousel {
	--sf-carousel-full: 5;
	--sf-carousel-gap: var(--sf-s-5);
	--sf-carousel-w: calc((100cqi - var(--sf-carousel-full) * var(--sf-carousel-gap)) / (var(--sf-carousel-full) + 0.2));
	position: relative;
	container-type: inline-size;
}

.sf-carousel__track {
	/* Room for the card's hover lift and shadow, which overflow would clip. */
	margin: calc(-1 * var(--sf-s-3)) 0 calc(-1 * var(--sf-s-6));
	padding: var(--sf-s-3) 0 var(--sf-s-6);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	border-radius: var(--sf-r-sm);
}

.sf-carousel__track::-webkit-scrollbar {
	display: none;
}

.sf-carousel__track:focus-visible {
	outline: none;
	box-shadow: var(--sf-focus);
}

/* Scoped under .sf-carousel: Kadence's .single-content ul/li margins would
 * otherwise indent the row, and the snap would start it scrolled. */
.sf-carousel .sf-carousel__list {
	display: flex;
	gap: var(--sf-carousel-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sf-carousel .sf-carousel__item {
	display: flex;
	flex: 0 0 var(--sf-carousel-w);
	margin: 0;
	scroll-snap-align: start;
}

.sf-carousel__item > .sf-card {
	flex: 1;
}

.sf-carousel__btn {
	position: absolute;
	top: calc(var(--sf-carousel-w) / 2);
	z-index: 2;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 0;
	border-radius: var(--sf-r-pill);
	background: var(--sf-c-white);
	box-shadow: var(--sf-shadow-pop);
	color: var(--sf-c-ink);
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.2s var(--sf-ease), color 0.2s var(--sf-ease);
}

.sf-carousel__btn[hidden] {
	display: none;
}

.sf-carousel__btn:hover {
	background: var(--sf-c-magenta);
	color: var(--sf-c-white);
}

.sf-carousel__btn:focus-visible {
	outline: none;
	box-shadow: var(--sf-focus), var(--sf-shadow-pop);
}

.sf-carousel__btn--prev {
	left: calc(-1 * var(--sf-s-5));
}

.sf-carousel__btn--next {
	right: calc(-1 * var(--sf-s-5));
}

/* Nothing to scroll to on desktop: the cards share the whole row, no fifth. */
@media (min-width: 1025px) {
	.sf-carousel:not(:has(.sf-carousel__item:nth-child(6))) {
		--sf-carousel-w: calc((100cqi - 4 * var(--sf-carousel-gap)) / 5);
	}
}

@media (max-width: 1024px) {
	.sf-carousel {
		--sf-carousel-full: 3;
		--sf-carousel-gap: var(--sf-s-4);
	}

	.sf-carousel__btn--prev {
		left: calc(-1 * var(--sf-s-3));
	}

	.sf-carousel__btn--next {
		right: calc(-1 * var(--sf-s-3));
	}
}

@media (max-width: 781px) {
	.sf-carousel {
		--sf-carousel-gap: var(--sf-s-3);
		--sf-carousel-w: calc((100cqi - var(--sf-carousel-gap)) / 1.5);
	}

	/* Swipe on phones; the arrows would cover the photo. */
	.sf-carousel__btn {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sf-carousel__btn {
		transition: none;
	}
}

/* ---------- Swatches (style guide only) ---------- */

.sf-swatches {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: var(--sf-s-4);
}

.sf-swatch__chip {
	height: 96px;
	border-radius: var(--sf-r-md);
	border: 1px solid rgba(27, 27, 27, 0.08);
}

.sf-swatch__name {
	margin-top: var(--sf-s-2);
	font-weight: 800;
}

.sf-swatch__value {
	font-size: var(--sf-t-sm);
	color: var(--sf-c-muted);
}

/* ---------- Style guide scaffolding ---------- */

.sf-ui {
	display: grid;
	gap: var(--sf-s-5);
	padding: var(--sf-s-6);
	border-radius: var(--sf-r-lg);
	background: var(--sf-c-white);
	box-shadow: var(--sf-shadow-card);
}

.sf-ui--flat {
	box-shadow: none;
	border: 2px solid var(--sf-c-line);
}

.sf-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sf-s-3);
}

.sf-stack {
	display: grid;
	gap: var(--sf-s-4);
}

.sf-grid-2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--sf-s-5);
}

.sf-specimen {
	display: grid;
	gap: var(--sf-s-3);
}

.sf-specimen > div {
	display: flex;
	align-items: baseline;
	gap: var(--sf-s-4);
	padding-bottom: var(--sf-s-3);
	border-bottom: 1px solid var(--sf-c-line);
}

.sf-specimen span {
	flex: none;
	width: 7rem;
	font-size: var(--sf-t-xs);
	color: var(--sf-c-muted);
}

.sf-specimen p {
	margin: 0;
	font-weight: 900;
	text-transform: uppercase;
	line-height: 1.1;
}

.sf-icons {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: var(--sf-s-4);
	text-align: center;
	font-size: var(--sf-t-xs);
	color: var(--sf-c-muted);
}

.sf-icons svg {
	width: 2rem;
	height: 2rem;
	color: var(--sf-c-ink);
}

@media (max-width: 781px) {
	.sf-tracker {
		grid-template-columns: 1fr 1fr;
	}

	.sf-ui {
		padding: var(--sf-s-4);
	}
}

/* ---------- Product page mockups (temporary) ---------- */

.sf-demo {
	margin: 1.5rem 0 0;
}

.sf-demo__flag {
	display: inline-block;
	margin: 0 0 0.75rem;
	padding: 4px 10px;
	border: 2px dashed var(--sf-c-gray);
	border-radius: var(--sf-r-sm);
	font-size: var(--sf-t-xs);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--sf-c-muted);
}

.sf-demo__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sf-s-4);
	padding-top: var(--sf-s-4);
	border-top: 2px solid var(--sf-c-line);
}

.sf-demo__summary .sf-price {
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

/* ---------- Contact details ---------- */

.sf-contact-row {
	display: flex;
	gap: var(--sf-s-3);
	align-items: flex-start;
}

.sf-contact-row svg {
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	color: var(--sf-c-magenta);
}

.sf-contact-row strong {
	display: block;
	font-size: var(--sf-t-sm);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* ---------- FAQ ---------- */

.sf-faq {
	padding: var(--sf-s-4) 0;
	border-bottom: 2px solid var(--sf-c-line);
}

.sf-faq summary {
	font-weight: 800;
	font-size: var(--sf-t-md);
	cursor: pointer;
	list-style: none;
}

.sf-faq summary::-webkit-details-marker {
	display: none;
}

.sf-faq summary::after {
	content: "+";
	float: right;
	color: var(--sf-c-magenta);
	font-weight: 900;
}

.sf-faq[open] summary::after {
	content: "−";
}

.sf-faq p {
	margin: var(--sf-s-3) 0 0;
	max-width: 70ch;
	color: var(--sf-c-muted);
}

/* ---------- Gravity Forms ----------
 * Gravity Forms 3 renders its "orbital" markup but this install serves no
 * plugin stylesheet, so the form is styled here from the same tokens as the
 * rest of the site.
 */

.gform_wrapper .gform_fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sf-s-4) var(--sf-s-4);
}

.gform_wrapper .gfield {
	grid-column: 1 / -1;
}

/* Quote form steps (section fields 101–104 of nvm-stickerfreak-quotes): a
 * numbered title, with a rule and room above every step after the first. */
.gform_wrapper .gfield.sf-quote-step {
	margin-top: var(--sf-s-6);
	padding-top: var(--sf-s-5);
	border-top: 1px solid var(--sf-c-line);
}

.gform_wrapper .gfield.sf-quote-step--1 {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.gform_wrapper .sf-quote-step .gsection_title {
	margin: 0;
	font-size: var(--sf-t-lg);
	line-height: 1.2;
}

/* Name and email share a row on desktop. */
.gform_wrapper .sf-gf-half {
	grid-column: span 1;
}

.gform_wrapper .gfield_label {
	display: block;
	margin-bottom: var(--sf-s-2);
	font-size: var(--sf-t-sm);
	font-weight: 800;
	color: var(--sf-c-ink);
}

.gform_wrapper .gfield_required {
	color: var(--sf-c-magenta);
	margin-left: 0.15em;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper select,
.gform_wrapper textarea {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid var(--sf-c-line);
	border-radius: var(--sf-r-sm);
	background: var(--sf-c-white);
	color: var(--sf-c-ink);
	font-family: inherit;
	font-size: var(--sf-t-base);
	line-height: 1.4;
	transition: border-color 0.15s var(--sf-ease), box-shadow 0.15s var(--sf-ease);
}

.gform_wrapper textarea {
	min-height: 11rem;
}

/* «Small» textarea in the form settings: a short message box (Freak Community). */
.gform_wrapper textarea.small {
	height: 7rem;
	min-height: 7rem;
}

.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
	border-color: var(--sf-c-magenta);
	box-shadow: var(--sf-focus);
	outline: none;
}

.gform_wrapper .gfield_description {
	padding-top: var(--sf-s-2);
	font-size: var(--sf-t-sm);
	color: var(--sf-c-muted);
}

/* The English file-type rules duplicate the Greek description above them. */
.gform_wrapper .gform_fileupload_rules {
	display: none;
}

.gform_wrapper .gform_drop_area,
.gform_wrapper input[type="file"] {
	width: 100%;
	padding: var(--sf-s-4);
	border: 3px dashed var(--sf-c-gray);
	border-radius: var(--sf-r-md);
	background: var(--sf-c-white);
	color: var(--sf-c-muted);
}

.gform_wrapper .ginput_container_consent {
	display: flex;
	align-items: flex-start;
	gap: var(--sf-s-2);
}

.gform_wrapper .gfield_consent_label {
	font-size: var(--sf-t-sm);
	color: var(--sf-c-muted);
}

.gform_wrapper .gform_footer {
	grid-column: 1 / -1;
	margin-top: var(--sf-s-5);
	padding: 0;
}

.gform_wrapper .gform_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	border: 2px solid transparent;
	border-radius: var(--sf-r-md);
	background: var(--sf-c-magenta);
	color: var(--sf-c-white);
	font-family: inherit;
	font-size: var(--sf-t-sm);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s var(--sf-ease);
}

.gform_wrapper .gform_button:hover,
.gform_wrapper .gform_button:focus {
	background: var(--sf-c-ink);
}

/* Errors read like the rest of the site's notices. */
.gform_wrapper .gform_submission_error {
	margin: 0 0 var(--sf-s-4);
	padding: var(--sf-s-4);
	border-left: 4px solid var(--sf-c-danger);
	border-radius: var(--sf-r-sm);
	background: var(--sf-c-danger-bg);
	color: var(--sf-c-ink);
	font-size: var(--sf-t-base);
	font-weight: 800;
	text-transform: none;
}

.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error select,
.gform_wrapper .gfield_error textarea {
	border-color: var(--sf-c-danger);
}

.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
	margin-top: var(--sf-s-2);
	padding: 0;
	border: 0;
	background: none;
	color: var(--sf-c-danger);
	font-size: var(--sf-t-sm);
	font-weight: 700;
}

.gform_confirmation_message {
	padding: var(--sf-s-4);
	border-left: 4px solid var(--sf-c-success);
	border-radius: var(--sf-r-sm);
	background: var(--sf-c-success-bg);
}

/* Honeypot: Gravity Forms hides it with its own stylesheet, which this site
 * doesn't load. A visitor who fills it in is treated as spam, so it must never
 * show. */
.gform_wrapper .gform_validation_container {
	display: none;
}

/* Choice groups (radio, checkbox, image choice) are fieldsets. */
.gform_wrapper fieldset.gfield {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.gform_wrapper legend.gfield_label {
	float: none;
	padding: 0;
}

/* Radio and checkbox choices as pills: the input covers its pill, so the whole
 * pill is the target, and stays focusable. */
.gform_wrapper .gfield_radio,
.gform_wrapper .gfield_checkbox {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sf-s-2);
}

.gform_wrapper .gchoice {
	position: relative;
}

.gform_wrapper .gchoice .gfield-choice-input {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.gform_wrapper .gchoice .gform-field-label--type-inline {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: var(--sf-s-2) var(--sf-s-4);
	border: 2px solid var(--sf-c-line);
	border-radius: var(--sf-r-pill);
	background: var(--sf-c-white);
	color: var(--sf-c-ink);
	font-size: var(--sf-t-sm);
	font-weight: 700;
	transition: border-color 0.15s var(--sf-ease), background-color 0.15s var(--sf-ease);
}

.gform_wrapper .gchoice:hover .gform-field-label--type-inline {
	border-color: var(--sf-c-gray);
}

.gform_wrapper .gchoice .gfield-choice-input:checked + .gform-field-label--type-inline {
	border-color: var(--sf-c-magenta);
	background: var(--sf-c-magenta-tint);
}

.gform_wrapper .gchoice .gfield-choice-input:focus-visible + .gform-field-label--type-inline {
	box-shadow: var(--sf-focus);
}

/* Image choice (materials): cards with a square photo and the name under it,
 * three per row (two on phones). The whole card selects the material. */
.gform_wrapper .gfield--type-image_choice .gfield_radio {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sf-s-3);
}

.gform_wrapper .gfield--type-image_choice .gchoice {
	display: flex;
	padding: var(--sf-s-2);
	border: 2px solid var(--sf-c-line);
	border-radius: var(--sf-r-md);
	background: var(--sf-c-white);
	transition: border-color 0.15s var(--sf-ease), background-color 0.15s var(--sf-ease);
}

.gform_wrapper .gfield--type-image_choice .gchoice:hover {
	border-color: var(--sf-c-gray);
}

.gform_wrapper .gfield--type-image_choice .gchoice:has(.gfield-choice-input:checked) {
	border-color: var(--sf-c-magenta);
	background: var(--sf-c-magenta-tint);
}

.gform_wrapper .gfield--type-image_choice .gchoice:has(.gfield-choice-input:focus-visible) {
	box-shadow: var(--sf-focus);
}

.gform_wrapper .gfield-image-choice-wrapper-outer {
	display: flex;
	flex-direction: column;
	gap: var(--sf-s-2);
	width: 100%;
}

.gform_wrapper .gfield-choice-image-wrapper img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--sf-r-sm);
}

/* The card is the target; its label is plain text, not a second pill. */
.gform_wrapper .gfield--type-image_choice .gform-field-label--type-inline {
	display: block;
	min-height: 0;
	padding: 0 var(--sf-s-1) var(--sf-s-1);
	border: 0;
	background: none;
	font-size: var(--sf-t-xs);
	line-height: 1.35;
	text-align: center;
}

.gform_wrapper .gfield--type-image_choice .gchoice .gfield-choice-input:checked + .gform-field-label--type-inline {
	background: none;
}

.gform_wrapper .gfield--type-image_choice .gchoice .gfield-choice-input:focus-visible + .gform-field-label--type-inline {
	box-shadow: none;
}

/* Multi-file upload: one calm drop area with the button inside. */
.gform_wrapper .gform_drop_area {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--sf-s-3);
	padding: var(--sf-s-5);
	text-align: center;
}

.gform_wrapper .gform_button_select_files {
	padding: var(--sf-s-2) var(--sf-s-4);
	border: 2px solid var(--sf-c-ink);
	border-radius: var(--sf-r-pill);
	background: var(--sf-c-white);
	color: var(--sf-c-ink);
	font-size: var(--sf-t-sm);
	font-weight: 800;
	text-transform: none;
	cursor: pointer;
}

.gform_wrapper .gform_button_select_files:hover,
.gform_wrapper .gform_button_select_files:focus-visible {
	background: var(--sf-c-ink);
	color: var(--sf-c-white);
}

.gform_wrapper .ginput_preview {
	display: flex;
	align-items: center;
	gap: var(--sf-s-2);
	margin-top: var(--sf-s-2);
	font-size: var(--sf-t-sm);
}

@media (max-width: 781px) {
	.gform_wrapper .sf-gf-half {
		grid-column: 1 / -1;
	}

	.gform_wrapper .gfield--type-image_choice .gfield_radio {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
