/* Fennoma Cart Boost – black & gold */
:root {
	--fcb-black: #111111;
	--fcb-gold: #c9a24a;
	--fcb-gold-soft: #f6efe0;
	--fcb-line: #e6e0d4;
	--fcb-text: #222222;
	--fcb-muted: #6b6457;
}

.fcb-bar, .fcb-bump, .fcb-bundle {
	direction: rtl;
	text-align: right;
	color: var(--fcb-text);
	font-family: inherit;
	box-sizing: border-box;
}
.fcb-bar *, .fcb-bump *, .fcb-bundle * { box-sizing: border-box; }

.fcb-btn {
	display: inline-block;
	background: var(--fcb-black);
	color: #fff !important;
	border: 1px solid var(--fcb-black);
	border-radius: 6px;
	padding: 10px 18px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.fcb-btn:hover { background: var(--fcb-gold); border-color: var(--fcb-gold); color: var(--fcb-black) !important; }
.fcb-btn:disabled { opacity: .6; cursor: wait; }
.fcb-btn--small { padding: 6px 12px; font-size: 13px; }

/* ---- 1. Free shipping bar ---- */
.fcb-bar {
	border: 1px solid var(--fcb-line);
	border-top: 3px solid var(--fcb-gold);
	border-radius: 8px;
	padding: 16px;
	margin: 0 0 20px;
	background: #fff;
}
.fcb-bar__msg { font-size: 16px; margin-bottom: 10px; }
.fcb-bar__msg strong { color: var(--fcb-black); }
.fcb-bar__track { height: 8px; background: var(--fcb-gold-soft); border-radius: 99px; overflow: hidden; }
.fcb-bar__track span { display: block; height: 100%; background: var(--fcb-gold); border-radius: 99px; transition: width .4s ease; margin-right: 0; }
.fcb-bar.is-done .fcb-bar__track span { background: var(--fcb-black); }
.fcb-bar__note { font-size: 13px; color: var(--fcb-muted); margin-top: 8px; }
.fcb-bar__title { font-weight: 700; margin: 16px 0 10px; font-size: 14px; }

.fcb-fillers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fcb-filler { border: 1px solid var(--fcb-line); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 6px; align-items: stretch; text-align: center; }
.fcb-filler__img { display: block; width: 96px; height: 96px; margin: 0 auto; }
.fcb-bar .fcb-filler__img img {
	width: 96px !important; height: 96px !important; max-width: none !important;
	object-fit: cover; border-radius: 6px; display: block; margin: 0 !important;
}
.fcb-bump .fcb-bump__img img, .fcb-bundle .fcb-bundle__img img { max-width: none !important; }
.fcb-bundle .fcb-bundle__img img { width: 56px !important; height: 56px !important; }
.fcb-bump .fcb-bump__img img { width: 72px !important; height: 72px !important; }
.fcb-filler .fcb-btn { align-self: center; }
.fcb-filler__name { font-size: 13px; line-height: 1.3; min-height: 2.6em; }
.fcb-filler__price { font-weight: 700; font-size: 14px; }

/* ---- 2. Order bump ---- */
.fcb-bump {
	border: 2px dashed var(--fcb-gold);
	background: var(--fcb-gold-soft);
	border-radius: 8px;
	margin: 0 0 20px;
	overflow: hidden;
	transition: opacity .2s;
}
.fcb-bump.is-loading { opacity: .6; pointer-events: none; }
.fcb-bump__head {
	display: flex; align-items: center; gap: 10px;
	background: var(--fcb-black); color: #fff;
	padding: 10px 14px; margin: 0; cursor: pointer; font-weight: 700;
}
.fcb-bump__head input { width: 20px; height: 20px; accent-color: var(--fcb-gold); margin: 0; flex: 0 0 auto; }
.fcb-bump__body { display: flex; gap: 12px; align-items: center; padding: 12px 14px; }
.fcb-bump__img { flex: 0 0 72px; }
.fcb-bump__img img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; display: block; }
.fcb-bump__price { font-weight: 700; font-size: 16px; }
.fcb-bump__price del { color: var(--fcb-muted); font-weight: 400; margin-left: 6px; }
.fcb-bump__price ins { text-decoration: none; color: var(--fcb-black); }
.fcb-bump__text { font-size: 13px; color: var(--fcb-muted); margin-top: 2px; }

/* ---- 3. Bundles ---- */
.fcb-bundle {
	border: 1px solid var(--fcb-line);
	border-radius: 8px;
	padding: 16px;
	margin: 20px 0;
	background: #fff;
}
.fcb-bundle__title { font-weight: 700; font-size: 17px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--fcb-gold); display: inline-block; }
.fcb-bundle__items { list-style: none; margin: 0; padding: 0; }
.fcb-bundle__item { border-bottom: 1px solid var(--fcb-line); }
.fcb-bundle__item:last-child { border-bottom: 0; }
.fcb-bundle__item label { display: flex; align-items: center; gap: 10px; padding: 8px 0; margin: 0; cursor: pointer; }
.fcb-bundle__item input { width: 18px; height: 18px; accent-color: var(--fcb-black); margin: 0; flex: 0 0 auto; }
.fcb-bundle__img img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; display: block; }
.fcb-bundle__name { flex: 1; font-size: 14px; line-height: 1.3; }
.fcb-bundle__name em { font-style: normal; color: var(--fcb-muted); }
.fcb-bundle__price { font-weight: 700; font-size: 14px; white-space: nowrap; }
.fcb-bundle select.fcb-bundle__var {
	display: block;
	width: auto !important; min-width: 140px; max-width: 260px;
	height: 32px !important; min-height: 0 !important; line-height: 1.2 !important;
	margin: 0 94px 8px 0 !important;
	padding: 4px 8px !important;
	border: 1px solid var(--fcb-line) !important; border-radius: 6px !important;
	background-color: #fff; font: inherit; font-size: 13px !important; color: var(--fcb-text);
	box-shadow: none !important;
}
@media (max-width: 600px) {
	.fcb-bundle select.fcb-bundle__var { margin-right: 28px !important; max-width: calc(100% - 28px); }
}
.fcb-bundle__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.fcb-bundle__total { font-size: 15px; }
.fcb-bundle__total strong { font-size: 18px; }
.fcb-bundle__save { color: var(--fcb-gold); font-weight: 700; margin-right: 6px; }
.fcb-bundle__msg { margin-top: 8px; font-size: 14px; }
.fcb-bundle__msg a { color: var(--fcb-black); font-weight: 700; text-decoration: underline; }

@media (max-width: 600px) {
	.fcb-fillers { grid-template-columns: 1fr; }
	.fcb-filler {
		display: grid; grid-template-columns: 56px 1fr auto; grid-template-rows: auto auto;
		column-gap: 10px; row-gap: 2px; align-items: center; text-align: right;
	}
	.fcb-filler__img { grid-row: 1 / 3; grid-column: 1; width: 56px; height: 56px; margin: 0; }
	.fcb-bar .fcb-filler__img img { width: 56px !important; height: 56px !important; }
	.fcb-filler__name { grid-row: 1; grid-column: 2; min-height: 0; align-self: end; }
	.fcb-filler__price { grid-row: 2; grid-column: 2; align-self: start; }
	.fcb-filler .fcb-btn { grid-row: 1 / 3; grid-column: 3; }
	.fcb-bundle__foot .fcb-btn { width: 100%; text-align: center; }
}
