/* Offer Studio interface components. Tokens come from the site (Elementor kit variables) unless a
   component overrides them inline; every token has a plain fallback (docs/design.md §2). No media
   query, no size container (D-18, K-UI-17): the core gives the wrapper bofs-wrap--narrow (< 360 px) or
   bofs-wrap--wide (>= 600 px) from its own width. */

.bofs {
	--bofs-ink: var(--e-global-color-primary, #15151d);
	--bofs-surface: #fff;
	--bofs-muted: #62626a;
	--bofs-accent: var(--e-global-color-accent, var(--bofs-ink));
	--bofs-track: #e2e2e5;
	--bofs-font: var(--e-global-typography-text-font-family, inherit);
	--bofs-font-label: var(--bofs-font);
	--bofs-weight: var(--e-global-typography-text-font-weight, 400);
	--bofs-weight-strong: 600;
	--bofs-weight-label: 500;
	--bofs-tracking-label: .08em;
	--bofs-transform-label: uppercase;
	--bofs-size: 14px;
	--bofs-size-sm: 11px;
	--bofs-size-label: 10.5px;
	--bofs-gap: 12px;
	--bofs-pad: 0;
	--bofs-radius: 0px;
	--bofs-track-h: 2px;
	--bofs-marker: 24px;
	--bofs-motion: 240ms;
	box-sizing: border-box;
	margin: 0;
	padding: var(--bofs-pad);
	color: var(--bofs-ink);
	/* The stack always ends with a generic family (D-11): a kit variable holds a bare family ("Montserrat");
	   when that font does not load, the browser would fall back to its default serif. A serif choice keeps
	   serif (its own stack ends with it). With no kit variable the list is invalid and the element keeps
	   the site's own inherited stack. */
	font-family: var(--bofs-font), sans-serif;
	font-size: var(--bofs-size);
	font-weight: var(--bofs-weight);
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
	.bofs {
		--bofs-muted: color-mix(in srgb, var(--bofs-ink) 68%, var(--bofs-surface));
		--bofs-track: color-mix(in srgb, var(--bofs-ink) 12%, transparent);
	}
}

.bofs[hidden] { display: none; }
.bofs *, .bofs *::before, .bofs *::after { box-sizing: border-box; }
.bofs--compact { --bofs-gap: 8px; }
.bofs--segments { --bofs-track-h: 3px; }

.bofs ol { list-style: none; margin: 0; padding: 0; }
.bofs b { font-weight: var(--bofs-weight-strong); }

.bofs-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.bofs-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	flex: none;
	vertical-align: -.125em;
	background: currentColor;
	-webkit-mask: var(--bofs-icon) center / contain no-repeat;
	mask: var(--bofs-icon) center / contain no-repeat;
	forced-color-adjust: none;
}
.bofs-icon--check { --bofs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E"); }
.bofs-icon--truck { --bofs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 4h8v7h-8zM9.5 6.5h3l2 2.5v2h-5M4 13a1.3 1.3 0 1 0 0-.1M11.5 13a1.3 1.3 0 1 0 0-.1'/%3E%3C/svg%3E"); }
.bofs-icon--percent { --bofs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.5 3.5l-9 9M4.5 6a1.5 1.5 0 1 0 0-.1M11.5 13a1.5 1.5 0 1 0 0-.1'/%3E%3C/svg%3E"); }
.bofs-icon--gift { --bofs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6.5h12v2.5H2zM3 9v5h10V9M8 6.5V14M8 6.5C6.5 3 4 3.5 4.5 5.2 5 6.5 8 6.5 8 6.5s3 0 3.5-1.3C12 3.5 9.5 3 8 6.5'/%3E%3C/svg%3E"); }
.bofs-icon--tag { --bofs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2.5h5.5l6.5 6.5-5 5-6.5-6.5zM5 5.3a.5.5 0 1 0 0-.1'/%3E%3C/svg%3E"); }
.bofs-icon--star { --bofs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 1.8l1.9 4 4.3.5-3.2 2.9.9 4.3L8 11.3l-3.9 2.2.9-4.3-3.2-2.9 4.3-.5z'/%3E%3C/svg%3E"); }
.bofs-icon--pause { --bofs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4v8M10 4v8'/%3E%3C/svg%3E"); }

.bofs-msg {
	margin: 0 0 var(--bofs-gap);
	min-height: 1.5em;
	transition: opacity 160ms ease;
}
.bofs-msg > .bofs-icon { margin-right: .35em; }

.bofs-msg:last-child { margin: var(--bofs-gap) 0 0; }
.bofs--message .bofs-msg { margin: 0; }

.bofs-eyebrow,
.bofs-step__name,
.bofs-mark__chip {
	font-family: var(--bofs-font-label), sans-serif;
	font-size: var(--bofs-size-label);
	font-weight: var(--bofs-weight-label);
	letter-spacing: var(--bofs-tracking-label);
	text-transform: var(--bofs-transform-label);
	line-height: 1.3;
}

.bofs-eyebrow { display: block; color: var(--bofs-muted); margin-bottom: 4px; }

.bofs-step__note,
.bofs-mark__amount {
	display: block;
	font-size: var(--bofs-size-sm);
	color: var(--bofs-muted);
	line-height: 1.4;
}

/* Step names are always written in full and wrap inside their column (T-03: one rule for every step, no
   ellipsis on a name). Notes and amounts stay on one line with an ellipsis, except the current step's. */
.bofs-step__name {
	display: block;
	min-width: 0;
	max-width: 100%;
	white-space: normal;
	overflow-wrap: break-word;
}
.bofs-step__note,
.bofs-mark__amount {
	display: block;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.is-current .bofs-step__note,
.bofs-line__amounts .is-current .bofs-mark__amount {
	white-space: normal;
	overflow: visible;
	overflow-wrap: anywhere;
}

.bofs-fill {
	display: block;
	height: 100%;
	width: 0;
	background: var(--bofs-ink);
	border-radius: inherit;
	transition: width var(--bofs-motion) ease;
}

/* Steps row: equal columns, always horizontal unless the component asks for vertical. */
.bofs-steps {
	display: grid;
	grid-template-columns: repeat(var(--bofs-count, 1), minmax(0, 1fr));
	grid-template-rows: auto auto auto;
	gap: 0 6px;
}
.bofs-step { min-width: 0; }
.bofs-step.is-upcoming .bofs-step__name { color: var(--bofs-muted); }
.bofs-step__note:empty { display: none; }

/* segments: label, bar, note rows line up across columns (subgrid), whatever wraps */
.bofs--segments .bofs-step {
	display: grid;
	grid-row: span 3;
	grid-template-rows: subgrid;
	align-content: start;
}
.bofs--segments .bofs-step__label { display: flex; align-items: flex-end; gap: 4px; min-width: 0; margin-bottom: 6px; }
.bofs--segments .bofs-step__label .bofs-icon { width: 12px; height: 12px; margin-bottom: 2px; }
.bofs-step__bar {
	display: block;
	align-self: center;
	height: var(--bofs-track-h);
	background: var(--bofs-track);
	border-radius: var(--bofs-radius);
	overflow: hidden;
}
.bofs--segments .bofs-step__note { margin-top: 6px; }
/* a step not reached yet fills in the muted tone; only a reached step is full ink (D-01, D-03) */
.bofs-step:not(.is-on) .bofs-fill { background: var(--bofs-muted); }

/* stepper */
.bofs--stepper .bofs-steps { gap: 0; grid-template-rows: auto; }
.bofs--stepper .bofs-step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 4px;
}
.bofs-step__link {
	position: absolute;
	top: calc(var(--bofs-marker) / 2 - var(--bofs-track-h) / 2);
	right: 50%;
	left: 0;
	height: var(--bofs-track-h);
	background: var(--bofs-track);
}
.bofs--stepper .bofs-step:not(:first-child) .bofs-step__link { left: -50%; }
.bofs-step__marker {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--bofs-marker);
	height: var(--bofs-marker);
	border-radius: 50%;
	border: 1.5px solid var(--bofs-muted);
	background: var(--bofs-surface);
	color: var(--bofs-muted);
	font-size: calc(var(--bofs-marker) * .55);
	transition: background-color 160ms ease, border-color 160ms ease;
}
.bofs-step.is-current .bofs-step__marker { border-color: var(--bofs-ink); color: var(--bofs-ink); }
.bofs-step.is-on .bofs-step__marker { background: var(--bofs-ink); border-color: var(--bofs-ink); color: var(--bofs-surface); }
.bofs-dot { width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.bofs-step.is-current .bofs-dot { background: var(--bofs-ink); }
.bofs--stepper .bofs-step__name { margin-top: 8px; font-size: 12px; letter-spacing: 0; text-transform: none; }
.bofs--stepper .bofs-msg { text-align: center; }

/* line: chips over a thin line, amounts under it; each step owns the column that ends at its notch */
.bofs-line__marks,
.bofs-line__amounts { display: grid; gap: 0 4px; }
.bofs-line__marks { margin-bottom: 6px; }
.bofs-mark { display: flex; align-items: flex-end; justify-content: flex-end; min-width: 0; }
.bofs-mark__chip {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	min-width: 0;
	max-width: 100%;
	padding: 2px 6px;
	border: 1px solid var(--bofs-ink);
	border-radius: var(--bofs-radius);
	background: var(--bofs-surface);
}
.bofs-mark.is-upcoming .bofs-mark__chip { border-color: var(--bofs-track); color: var(--bofs-muted); }
.bofs-mark.is-on .bofs-mark__chip { background: var(--bofs-ink); color: var(--bofs-surface); }
.bofs-mark__chip .bofs-step__name { font: inherit; letter-spacing: inherit; text-transform: inherit; }
.bofs-line__track {
	position: relative;
	display: block;
	height: var(--bofs-track-h);
	background: var(--bofs-track);
	border-radius: var(--bofs-radius);
}
.bofs-line__track .bofs-fill--next { position: absolute; top: 0; background: var(--bofs-muted); }
.bofs-line__dot {
	position: absolute;
	top: 50%;
	width: 7px;
	height: 7px;
	margin: -3.5px 0 0 -3.5px;
	border-radius: 50%;
	background: var(--bofs-ink);
}
.bofs-line__amounts li { position: relative; min-width: 0; padding-top: 12px; text-align: right; }
.bofs-line__amounts li::before {
	content: "";
	position: absolute;
	top: -5px;
	right: 0;
	width: 1px;
	height: 10px;
	background: var(--bofs-ink);
}
.bofs-line__amounts li.is-upcoming::before { background: var(--bofs-muted); }
.bofs--line .bofs-msg { margin-bottom: var(--bofs-gap); }
.bofs-basis { margin: 6px 0 0; color: var(--bofs-muted); font-size: var(--bofs-size-sm); }

/* product grid (U4, design.md §5.3 v2): image 4:5 with one quiet "+" (WooCommerce's own button), name,
   price; no card background, no shadow */
.bofs-recs__title {
	margin: 0 0 var(--bofs-gap);
	font-family: var(--bofs-font-label), sans-serif;
	font-size: var(--bofs-size-label);
	font-weight: var(--bofs-weight-label);
	letter-spacing: var(--bofs-tracking-label);
	text-transform: var(--bofs-transform-label);
}
.bofs-recs__lead { margin: 0 0 var(--bofs-gap); }
.bofs-recs__lead[hidden] { display: none; }
.bofs .bofs-recs__list { display: grid; gap: var(--bofs-gap); margin: 0; padding: 0; list-style: none; }
.bofs--row .bofs-recs__list {
	grid-auto-flow: column;
	grid-auto-columns: 41%;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 0 var(--bofs-gap);
	padding-bottom: 4px;
}
.bofs--row .bofs-card { scroll-snap-align: start; }
.bofs--grid .bofs-recs__list { grid-template-columns: repeat(auto-fill, minmax(min(160px, calc(50% - var(--bofs-gap))), 1fr)); }
.bofs-card { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
/* `.bofs` keeps a hidden card hidden in every layout (the list gives cards `display: grid` with equal weight, F-03) */
.bofs .bofs-card[hidden] { display: none; }
.bofs-card__media { position: relative; }
.bofs-card__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--bofs-radius); background: var(--bofs-track); }
.bofs-card__img img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.bofs-card__chip {
	position: absolute;
	top: 6px;
	left: 6px;
	padding: 2px 6px;
	background: var(--bofs-surface);
	color: var(--bofs-ink);
	font-size: var(--bofs-size-label);
	font-weight: var(--bofs-weight-label);
	letter-spacing: var(--bofs-tracking-label);
	text-transform: var(--bofs-transform-label);
}
.bofs-card__action { position: absolute; right: 0; bottom: 0; }
/* WooCommerce's button, drawn as the quiet action: 44 px target, 32 px white circle, "+"; its text stays
   for screen readers (aria-label) and shows in the list layout only */
.bofs-wrap .bofs .bofs-card .bofs-card__action .bofs-card__add.bofs-card__add {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	box-shadow: none;
	color: transparent;
	font-size: 0;
	line-height: 1;
	text-decoration: none;
}
.bofs-wrap .bofs .bofs-card .bofs-card__action .bofs-card__add.bofs-card__add::before {
	content: "+";
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1.5px solid transparent;
	border-radius: 50%;
	box-sizing: border-box;
	background: var(--bofs-surface);
	color: var(--bofs-ink);
	font-size: 20px;
	font-weight: 400;
}
.bofs-wrap .bofs .bofs-card .bofs-card__action .bofs-card__add.bofs-card__add::after { display: none; }
.bofs-wrap .bofs .bofs-card .bofs-card__action .bofs-card__add.bofs-card__add:focus-visible { outline: 2px solid var(--bofs-ink); outline-offset: -4px; }
.bofs-wrap .bofs .bofs-card.is-adding .bofs-card__action .bofs-card__add.bofs-card__add::before { border-color: var(--bofs-ink); border-style: dashed; }
.bofs-wrap .bofs .bofs-card.is-added .bofs-card__action .bofs-card__add.bofs-card__add::before { content: "\2713"; background: var(--bofs-ink); color: var(--bofs-surface); font-size: 16px; }
/* a product with options: WooCommerce's link to its page, drawn as a small label ("RENK SEÇ") inside
   the 44 px target */
.bofs-wrap .bofs .bofs-card .bofs-card__action .product_type_variable.bofs-card__add.bofs-card__add { width: auto; padding: 0 6px; color: transparent; font-size: 0; }
.bofs-wrap .bofs .bofs-card .bofs-card__action .product_type_variable.bofs-card__add.bofs-card__add::before {
	content: attr(data-bofs-label);
	width: auto;
	height: 24px;
	padding: 0 8px;
	border: 0;
	border-radius: var(--bofs-radius);
	font-size: var(--bofs-size-label);
	font-weight: var(--bofs-weight-label);
	letter-spacing: var(--bofs-tracking-label);
	text-transform: uppercase;
	white-space: nowrap;
}
.bofs-card .added_to_cart { display: none; }
.bofs-card__name {
	display: -webkit-box;
	height: calc(2 * 1.4em);
	overflow: hidden;
	color: inherit;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.bofs-card__price { margin: 0; font-size: 13px; font-weight: 500; }
.bofs-card__price del { margin-right: 4px; color: var(--bofs-muted); font-size: var(--bofs-size-sm); font-weight: 400; }
.bofs-card__price ins { text-decoration: none; }
.bofs-card__added { margin-left: 6px; font-size: var(--bofs-size-sm); font-weight: 600; }
.bofs-card__added::before { content: "\2713\00a0"; }
/* list (side panel): 52 px image, name and price, "Ekle ⊕" */
.bofs--list .bofs-card { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; }
.bofs--list .bofs-card__media { display: contents; }
.bofs--list .bofs-card__img { grid-row: 1 / 3; grid-column: 1; }
.bofs--list .bofs-card__chip { display: none; }
.bofs--list .bofs-card__name { grid-column: 2; height: auto; }
.bofs--list .bofs-card__price { grid-column: 2; }
.bofs--list .bofs-card__action { position: static; grid-column: 3; grid-row: 1 / 3; }
.bofs-wrap .bofs--list .bofs-card .bofs-card__action .bofs-card__add.bofs-card__add { width: auto; padding: 0 4px; color: var(--bofs-ink); font-size: var(--bofs-size-sm); font-weight: 600; gap: 4px; flex-direction: row-reverse; }
.bofs-wrap .bofs--list .bofs-card .bofs-card__action .bofs-card__add.bofs-card__add::before { content: "+"; width: 20px; height: 20px; border-color: var(--bofs-ink); font-size: 14px; }

/* held by a typed code: the step stays; its line and marker fade, the text keeps its contrast */
.bofs-step.is-held .bofs-step__bar,
.bofs-step.is-held .bofs-step__link,
.bofs-step.is-held .bofs-step__marker { opacity: .4; }
.bofs-step.is-held .bofs-step__name,
.bofs-mark.is-held .bofs-mark__chip { color: var(--bofs-muted); }

/* vertical, only when chosen */
.bofs--vertical .bofs-steps { grid-template-columns: 1fr; grid-template-rows: none; gap: var(--bofs-gap); }
.bofs--vertical.bofs--segments .bofs-step { grid-row: auto; grid-template-rows: none; }
.bofs--vertical.bofs--stepper .bofs-step { flex-direction: row; text-align: left; gap: 8px; }
.bofs--vertical.bofs--stepper .bofs-step__link { display: none; }

/* discount box (coupons, docs/design.md §5.2): applied block on a flat tint, one main action per row,
   code field with an underline; touch targets 44 px; no red, no notice box. */
.bofs-cpn { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bofs-gap); }
.bofs-cpn__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bofs-gap); }
.bofs-cpn__body[hidden] { display: none; }
.bofs-cpn p { margin: 0; }
.bofs-cpn__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bofs-cpn__count { margin-left: auto; color: var(--bofs-muted); font-size: 12px; }
.bofs-cpn__title,
.bofs-cpn__label,
.bofs-cpn__code,
.bofs-cpn__badge {
	font-family: var(--bofs-font-label), sans-serif;
	font-size: var(--bofs-size-label);
	font-weight: var(--bofs-weight-label);
	letter-spacing: var(--bofs-tracking-label);
	text-transform: var(--bofs-transform-label);
}
.bofs-cpn__sum, .bofs-cpn__amount { font-weight: var(--bofs-weight-strong); white-space: nowrap; }
.bofs-cpn__part.is-applied { background: #f4f4f1; background: color-mix(in srgb, var(--bofs-ink) 4%, var(--bofs-surface)); padding: 12px; border-radius: var(--bofs-radius); }
.bofs-cpn__label { display: block; margin: 0 0 6px; color: var(--bofs-muted); }
.bofs-cpn__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bofs-cpn__row { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.bofs-cpn__tick { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--bofs-ink); color: var(--bofs-surface); }
.bofs-cpn__tick .bofs-icon { width: 12px; height: 12px; }
.bofs-cpn__what { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.bofs-cpn__name { font-size: 13px; font-weight: 500; }
.bofs-cpn__note { flex-basis: 100%; font-size: 11.5px; color: var(--bofs-muted); overflow-wrap: anywhere; }
.bofs-cpn__code { text-transform: none; padding: 2px 6px; border: 1px solid currentColor; border-radius: var(--bofs-radius); overflow-wrap: anywhere; }
.bofs-cpn__badge { color: var(--bofs-accent); }
.bofs-cpn__end { display: flex; flex-direction: column; align-items: flex-end; }
.bofs-cpn .is-off { color: var(--bofs-muted); }
.bofs .bofs-cpn button,
.bofs .bofs-cpn button:hover,
.bofs .bofs-cpn button:focus {
	min-height: 44px;
	min-width: 44px;
	padding: 0 14px;
	margin: 0;
	border: 1px solid var(--bofs-ink);
	border-radius: var(--bofs-radius);
	background: transparent;
	color: var(--bofs-ink);
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}
/* text actions (Remove, Undo, Sign in) are links: a theme's heavy button styles never reach them */
.bofs .bofs-cpn__link { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 0; color: var(--bofs-ink); font-size: 12px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.bofs .bofs-cpn .bofs-cpn__head[data-toggle],
.bofs .bofs-cpn .bofs-cpn__head[data-toggle]:hover,
.bofs .bofs-cpn .bofs-cpn__head[data-toggle]:focus { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.bofs-cpn__head[aria-expanded]::after { content: ""; width: 7px; height: 7px; margin: 0 4px 3px 0; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.bofs-cpn__head[aria-expanded="true"]::after { transform: rotate(-135deg); margin-bottom: -3px; }
.bofs-cpn__mini { display: block; flex-basis: 100%; max-width: 180px; height: 2px; background: var(--bofs-track); }
.bofs-cpn__mini .bofs-fill { display: block; height: 100%; background: var(--bofs-ink); }
.bofs-cpn__need { color: var(--bofs-ink); }
.bofs .bofs-cpn .bofs-cpn__action { background: var(--bofs-ink); color: var(--bofs-surface); }
.bofs-cpn__warn { display: grid; gap: 8px; padding: 12px; border-left: 2px solid var(--bofs-ink); }
.bofs-cpn__empty { color: var(--bofs-muted); }
.bofs-cpn__field { display: flex; gap: 8px; align-items: flex-end; }
.bofs .bofs-cpn__input {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	padding: 6px 0;
	border: 0;
	border-bottom: 1px solid var(--bofs-ink);
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-transform: uppercase;
	box-shadow: none;
	outline-offset: 2px;
}
.bofs-cpn__note-line { font-size: 13px; min-height: 1.5em; }
.bofs[aria-busy="true"] .bofs-cpn button { cursor: progress; }

/* gift picker (U5): title, one calm line, the gifts as radios with their picture, a size/colour select, one action */
.bofs-gift { display: grid; gap: var(--bofs-gap); }
.bofs-gift p, .bofs-gift fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.bofs-gift__title { font-family: var(--bofs-font-label), sans-serif; font-size: var(--bofs-size-label); font-weight: var(--bofs-weight-label); letter-spacing: var(--bofs-tracking-label); text-transform: var(--bofs-transform-label); }
.bofs-gift__line { font-size: 13px; min-height: 1.5em; }
.bofs-gift__line.is-muted { color: var(--bofs-muted); }
.bofs-gift__line .bofs-icon { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; }
.bofs-gift__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr)); gap: 8px; }
.bofs-gift__opt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px 6px 6px; border: 1px solid var(--bofs-track); border-radius: var(--bofs-radius); cursor: pointer; font-size: 13px; }
.bofs-gift__opt:has(input:checked) { border-color: var(--bofs-ink); box-shadow: inset 0 0 0 1px var(--bofs-ink); }
.bofs-gift__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bofs-gift__opt:has(input:focus-visible) { outline: 2px solid var(--bofs-ink); outline-offset: 2px; }
.bofs-gift__opt img { flex: none; width: 40px; height: 50px; object-fit: cover; border-radius: calc(var(--bofs-radius) / 2); background: var(--bofs-track); }
.bofs-gift__name { min-width: 0; overflow-wrap: anywhere; }
.bofs-gift__var { display: grid; gap: 4px; font-size: 12px; color: var(--bofs-muted); }
.bofs .bofs-gift__var select { min-height: 44px; max-width: 100%; padding: 0 8px; border: 1px solid var(--bofs-ink); border-radius: var(--bofs-radius); background: var(--bofs-surface); color: var(--bofs-ink); font: inherit; font-size: 13px; }
.bofs-gift__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.bofs .bofs-gift .bofs-gift__add,
.bofs .bofs-gift .bofs-gift__add:hover,
.bofs .bofs-gift .bofs-gift__add:focus { min-height: 44px; padding: 0 16px; margin: 0; border: 1px solid var(--bofs-ink); border-radius: var(--bofs-radius); background: var(--bofs-ink); color: var(--bofs-surface); font: inherit; font-size: 13px; cursor: pointer; }
.bofs .bofs-gift__link,
.bofs .bofs-gift__link:hover,
.bofs .bofs-gift__link:focus { display: inline-flex; align-items: center; min-height: 44px; padding: 0; margin: 0; border: 0; background: transparent; color: var(--bofs-ink); font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.bofs-gift [aria-busy="true"] { cursor: progress; opacity: .7; }

/* narrow containers (phones, off-canvas 320): notes only under the current step. A reached segment or
   chip keeps its check (D-03: on a phone it tells reached from not yet), smaller, on its own line when
   the name needs the width, so words stay whole. */
.bofs-wrap--narrow .bofs-step:not(.is-current) .bofs-step__note { display: none; }
.bofs-wrap--narrow .bofs--segments .bofs-step__label,
.bofs-wrap--narrow .bofs-mark__chip { flex-wrap: wrap; gap: 0 3px; }
.bofs-wrap--narrow .bofs--segments .bofs-step__label .bofs-icon,
.bofs-wrap--narrow .bofs-mark__chip .bofs-icon { width: 10px; height: 10px; }
.bofs-wrap--narrow .bofs--stepper { --bofs-marker: 22px; }
.bofs-wrap--narrow .bofs-mark__chip { padding: 2px 4px; }

.bofs-wrap--wide .bofs { --bofs-size: 15px; }

/* Placement slots: space for the place (a theme may set --bofs-slot-space); a hidden component takes none. */
.bofs-slot--cart_after_table .bofs,
.bofs-slot--checkout_before_payment .bofs { margin-block: var(--bofs-slot-space, 16px); }
.bofs-slot--cart_before_totals .bofs { margin-block: 0 var(--bofs-slot-space, 16px); }
.bofs-slot--mini_cart_top .bofs { margin-block: 0 var(--bofs-slot-space, 12px); }
.bofs-slot--mini_cart_bottom .bofs { margin-block: var(--bofs-slot-space, 12px); }

:where(.bofs) :focus-visible { outline: 2px solid var(--bofs-ink); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	.bofs *, .bofs *::before, .bofs *::after { transition: none !important; animation: none !important; }
}

@media (forced-colors: active) {
	.bofs-fill, .bofs-line__dot, .bofs-line__amounts li::before, .bofs-icon { background: CanvasText; }
	.bofs-step__bar, .bofs-step__link, .bofs-line__track { background: GrayText; }
	.bofs-step__marker, .bofs-mark__chip, .bofs-cpn button, .bofs-cpn__code { border-color: ButtonText; }
}

/* Touch targets (T-04): Remove / Change keep their look; an invisible area around them answers taps at 44 × 44 px. */
.bofs .bofs-cpn__link,
.bofs .bofs-gift__link { position: relative; }
.bofs .bofs-cpn__link::after,
.bofs .bofs-gift__link::after { content: ""; position: absolute; top: 50%; left: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
