/* Bags and Cages — Cart & Checkout Core
 * Shared tokens and components. Every other stylesheet in this plugin depends on this one.
 * Brand values were read from the live theme stylesheet, not approximated. */

:root {
	--bcc-navy: #262F62;
	--bcc-navy-deep: #1B2247;
	--bcc-navy-soft: #3A4680;
	--bcc-cyan: #0DA7E0;
	--bcc-cyan-dark: #0B8DBE;
	--bcc-cyan-pale: #E9F7FD;
	--bcc-green: #75C913;
	--bcc-green-dark: #63AC0D;
	--bcc-red: #E63C24;
	--bcc-ink: #161B2E;
	--bcc-body: #4A5169;
	--bcc-muted: #7C8399;
	--bcc-line: #E1E6F0;
	--bcc-line-soft: #EFF2F8;
	--bcc-ground: #F7F9FC;
	--bcc-tint: #F1F4FA;
	--bcc-white: #fff;
	--bcc-shadow: 0 1px 2px rgba(22, 27, 46, .05), 0 10px 30px -18px rgba(22, 27, 46, .3);
	--bcc-shadow-xl: 0 40px 90px -30px rgba(22, 27, 46, .45);
	--bcc-disp: 'Oswald', 'Open Sans Condensed', Impact, sans-serif;
	--bcc-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--bcc-radius: 10px;
	--bcc-radius-lg: 16px;
	--bcc-z: 100000;
}

/* ---- Buttons ---------------------------------------------------------- */
.bcc-active .bcc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-family: var(--bcc-disp);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .07em;
	text-transform: uppercase;
	line-height: 1.2;
	padding: 15px 26px;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: background .16s, transform .16s, box-shadow .16s;
}
.bcc-active .bcc-btn:hover { text-decoration: none; transform: translateY(-1px); }
.bcc-active .bcc-btn:active { transform: translateY(0); }
.bcc-active .bcc-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2.3; }
.bcc-active .bcc-btn--go { background: var(--bcc-green); color: #fff; box-shadow: 0 6px 18px -6px rgba(117, 201, 19, .7); }
.bcc-active .bcc-btn--go:hover,
.bcc-active .bcc-btn--go:focus { background: var(--bcc-green-dark); color: #fff; }
.bcc-active .bcc-btn--navy { background: var(--bcc-navy); color: #fff; }
.bcc-active .bcc-btn--navy:hover,
.bcc-active .bcc-btn--navy:focus { background: var(--bcc-navy-deep); color: #fff; }
.bcc-active .bcc-btn--ghost { background: #fff; color: var(--bcc-navy); box-shadow: inset 0 0 0 1.5px var(--bcc-line); }
.bcc-active .bcc-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--bcc-navy); color: var(--bcc-navy); }
.bcc-active .bcc-btn--sm { padding: 10px 18px; font-size: 13.5px; }
.bcc-active .bcc-btn--full { width: 100%; }
.bcc-active .bcc-btn:focus-visible { outline: 3px solid rgba(13, 167, 224, .45); outline-offset: 2px; }

.bcc-active .bcc-link {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--bcc-cyan-dark);
	cursor: pointer;
	text-decoration: none;
}
.bcc-active .bcc-link:hover { text-decoration: underline; }

/* ---- Quantity stepper -------------------------------------------------- */
.bcc-active .bcc-qty {
	display: inline-flex;
	align-items: stretch;
	border: 1.5px solid var(--bcc-line);
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}
.bcc-active .bcc-qty button {
	width: 38px;
	min-height: 40px;
	display: grid;
	place-items: center;
	border: 0;
	background: none;
	color: var(--bcc-navy);
	font: 700 18px/1 var(--bcc-sans);
	cursor: pointer;
	transition: background .12s, color .12s;
	padding: 0;
	margin: 0;
	border-radius: 0;
	box-shadow: none;
}
.bcc-active .bcc-qty button:hover { background: var(--bcc-cyan-pale); color: var(--bcc-cyan-dark); }
.bcc-active .bcc-qty input {
	width: 46px;
	border: 0;
	margin: 0;
	padding: 0;
	text-align: center;
	font: 700 15px var(--bcc-sans);
	color: var(--bcc-ink);
	background: transparent;
	-moz-appearance: textfield;
	box-shadow: none;
	border-radius: 0;
	text-transform: none;
}
.bcc-active .bcc-qty input::-webkit-outer-spin-button,
.bcc-active .bcc-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bcc-active .bcc-qty input:focus { outline: none; background: var(--bcc-cyan-pale); }
.bcc-active .bcc-qty--sm button { width: 31px; min-height: 34px; font-size: 16px; }
.bcc-active .bcc-qty--sm input { width: 36px; font-size: 14px; }

/* ---- Section titles ---------------------------------------------------- */
.bcc-active .bcc-section-title { margin: 0 0 16px; text-align: left; }
.bcc-active .bcc-section-title h2 {
	font-family: var(--bcc-disp);
	font-size: 21px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--bcc-navy);
	line-height: 1.15;
	text-align: left;
	margin: 0 0 4px;
	padding: 0;
	border: 0;
}
.bcc-active .bcc-section-title p { margin: 0; font-size: 13.5px; color: var(--bcc-muted); line-height: 1.5; text-transform: none; }

/* ---- Part number chip -------------------------------------------------- */
.bcc-active .bcc-sku {
	display: inline-block;
	font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
	font-size: 11px;
	letter-spacing: .02em;
	line-height: 1.5;
	background: var(--bcc-navy);
	color: #fff;
	padding: 1px 8px;
	border-radius: 5px;
	text-transform: none;
}

/* ---- Trust list -------------------------------------------------------- */
.bcc-active .bcc-trust {
	list-style: none;
	margin: 22px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--bcc-line);
	display: grid;
	gap: 13px;
}
.bcc-active .bcc-trust li { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--bcc-body); line-height: 1.5; margin: 0; padding: 0; }
.bcc-active .bcc-trust li::before { content: none; }
.bcc-active .bcc-trust svg { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke: var(--bcc-green); fill: none; stroke-width: 2.3; }
.bcc-active .bcc-trust b { color: var(--bcc-ink); font-weight: 700; display: block; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
	.bcc-active .bcc-btn { transition: none; }
}

/* ---- Spinner (shared) -------------------------------------------------- */
.bcc-active .bcc-spinner {
	width: 18px;
	height: 18px;
	border-radius: 999px;
	border: 2.5px solid var(--bcc-line);
	border-top-color: var(--bcc-cyan);
	animation: bcc-spin .8s linear infinite;
	display: inline-block;
	flex: none;
}
@keyframes bcc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	.bcc-active .bcc-spinner { animation: none; }
}
