/* Kettle Club Black Friday. Uses the theme's own colours and fonts (--kc-*), with fallbacks. */

/* ---------- strip (above the header) ---------- */
.kcbf-strip {
	background: var(--kc-color-primary, #00b0db);
	color: var(--kc-color-ink, #011525);
	font-family: var(--kc-font-body, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	position: relative;
	z-index: 51;
}
.kcbf-strip[hidden] { display: none; }
.kcbf-strip__link {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: .5rem 1.1rem;
	max-width: var(--kc-container, 117.5rem);
	margin: 0 auto;
	min-height: 2.4rem;
	padding: .45rem 1.5rem;
	color: inherit;
	font-size: .8rem;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
}
.kcbf-strip__link:hover,
.kcbf-strip__link:focus { color: inherit; text-decoration: none; }
.kcbf-strip__link:focus-visible { outline: 2px solid var(--kc-color-ink, #011525); outline-offset: -4px; }
.kcbf-strip__label {
	font-weight: 700;
	font-size: .72rem;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.kcbf-strip__msg { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.kcbf-strip__count {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.kcbf-strip__count:empty { display: none; }
.kcbf-strip__cta {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-weight: 700;
	font-size: .72rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	border-bottom: 1px solid currentColor;
	padding-bottom: 1px;
}
.kcbf-strip__cta svg { width: 13px; height: 13px; transition: transform .2s ease; }
.kcbf-strip__link:hover .kcbf-strip__cta svg { transform: translateX(3px); }
.kcbf-strip__cta-short { display: none; }
.kcbf-strip__preview {
	background: var(--kc-color-ink, #011525);
	color: #fff;
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: .2rem .5rem;
	border-radius: 999px;
}
@media (max-width: 860px) {
	.kcbf-strip__msg { display: none; }
}
@media (max-width: 520px) {
	.kcbf-strip__link { gap: .6rem; padding: .45rem 1rem; font-size: .74rem; }
	.kcbf-strip__label { font-size: .66rem; letter-spacing: .14em; }
	.kcbf-strip__cta { font-size: .66rem; letter-spacing: .1em; }
	.kcbf-strip__cta-long { display: none; }
	.kcbf-strip__cta-short { display: inline; }
}
@media (max-width: 374px) {
	.kcbf-strip__ends { display: none; }
	.kcbf-strip__link { gap: .5rem; padding: .45rem .75rem; }
}

/* ---------- was / now prices on product cards (the theme styles the other spots already) ---------- */
.kc-product__price del {
	opacity: .45;
	font-weight: 400;
	font-size: .86em;
	margin-right: .4rem;
	text-decoration: line-through;
}
.kc-product__price ins { text-decoration: none; }

/* Cards are only 130-170px wide on phones, so a was/now pair may wrap: give the two lines some air. */
.kc-product__price:has(del) { line-height: 1.3; }

/* ---------- "Black Friday · Save £500" label: only on cards and the product page (hidden in tight spots) ---------- */
.kcbf-tag { display: none; }
.kc-product__price .kcbf-tag,
.kc-product-page__price-hero .kcbf-tag,
.kc-solo-price .kcbf-tag {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: .4rem;
	row-gap: .1rem;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: .5rem;
	padding: .3rem .55rem .28rem;
	background: var(--kc-color-ink, #011525);
	color: #fff !important;
	font-family: var(--kc-font-body, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	font-size: .6rem !important;
	font-style: normal !important;
	font-weight: 600 !important;
	letter-spacing: .12em;
	line-height: 1.25;
	text-transform: uppercase;
	text-decoration: none;
	opacity: 1;
}
.kc-product__price .kcbf-tag .kcbf-tag__label,
.kc-product-page__price-hero .kcbf-tag .kcbf-tag__label,
.kc-solo-price .kcbf-tag .kcbf-tag__label {
	color: var(--kc-color-primary, #00b0db) !important;
	font: inherit !important;
	font-weight: 700 !important;
	white-space: nowrap;
}
.kc-product__price .kcbf-tag .kcbf-tag__save,
.kc-product-page__price-hero .kcbf-tag .kcbf-tag__save,
.kc-solo-price .kcbf-tag .kcbf-tag__save {
	color: #fff !important;
	font: inherit !important;
	white-space: nowrap;
}
.kc-product__price .kcbf-tag {
	font-size: .56rem !important;
	letter-spacing: .08em;
	column-gap: .3rem;
	padding: .26rem .45rem .24rem;
}
.kc-product-page__price-hero .kcbf-tag {
	font-size: .7rem !important;
	margin-top: .65rem;
	padding: .38rem .7rem .36rem;
}

/* ---------- product page: finance off ---------- */
.kcbf-note {
	display: flex;
	align-items: center;
	gap: .85rem;
	padding: .85rem 1rem;
	background: #f4f2ee;
	border: 1px solid var(--kc-color-line, #e2e5e8);
	font-family: var(--kc-font-body, Inter, sans-serif);
}
.kcbf-note__icon { flex: 0 0 auto; display: inline-flex; color: var(--kc-color-primary, #00b0db); }
.kcbf-note__icon svg { width: 24px; height: 24px; display: block; }
.kcbf-note__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .08rem; }
.kcbf-note__title { font-size: .82rem; font-weight: 600; letter-spacing: .005em; color: var(--kc-color-ink, #011525); }
.kcbf-note__sub { font-size: .7rem; line-height: 1.35; color: var(--kc-color-muted, #787878); }
/* Belt and braces: if the theme's markup changes, its finance card / link still doesn't show. */
.kcbf-offer .kc-finance,
.kcbf-offer .kc-finance--calc,
.kcbf-offer [data-kc-fincalc-open] { display: none !important; }

/* ---------- basket / checkout: finance off ---------- */
.kcbf-no-finance .kc-paysplit { grid-template-columns: minmax(0, 1fr) !important; }
.kcbf-no-finance .kc-paysplit__or,
.kcbf-no-finance .kc-paysplit__finance,
.kcbf-no-finance .kc-fincheckout,
.kcbf-no-finance #PBFPopup,
.kcbf-no-finance .pbf-cart-widget,
.kcbf-no-finance [data-kc-fincalc-open] { display: none !important; }
.kcbf-cart-note {
	margin: 0 0 1.25rem;
	padding: .85rem .95rem;
	background: rgba(0, 176, 219, .07);
	border: 1px solid rgba(0, 176, 219, .24);
	font-family: var(--kc-font-body, Inter, sans-serif);
	font-size: .8rem;
	line-height: 1.55;
	color: #3f4b56;
}
.kcbf-cart-note b { color: var(--kc-color-ink, #011525); font-weight: 600; }

/* ---------- the voucher (1.3): "Code BF250 · £250 off" label, product-page line, strip on phones ---------- */
.kc-product-page__price-hero .kcbf-codehint {
	display: block;
	margin-top: .45rem;
	font-family: var(--kc-font-body, Inter, sans-serif) !important;
	font-size: .74rem !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	letter-spacing: 0;
	max-width: 30rem;
	text-transform: none;
	color: var(--kc-color-muted, #787878) !important;
}
.kcbf-codehint { display: none; }
.kcbf-strip__code { display: none; font-weight: 600; }
@media (max-width: 860px) {
	.kcbf-strip__code { display: inline; }
}
@media (max-width: 520px) {
	.kcbf-strip--code .kcbf-strip__count { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.kcbf-strip__cta svg { transition: none; }
}
