/* ═══════════════════════════════════════════════════════════════
   CB Info Blocks – shared front-end styles
═══════════════════════════════════════════════════════════════ */

/* ── Shared variables (overridden per-block via inline style) ── */
:root {
	--cbib-acc:  #c8402a;
	--cbib-bg:   #111315;
	--cbib-fg:   #ffffff;
	--cbib-cbg:  rgba(255,255,255,.06);
	--cbib-cbrd: rgba(255,255,255,.12);
	--cbib-cols: 4;
}

/* ═══════════════════════════════════════════════════════════════
   BLOCK 1 – SIZES GRID
═══════════════════════════════════════════════════════════════ */
.cbib-sizes-section {
	background: var(--cbib-bg);
	padding: 80px 0;
}

.cbib-wrap {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Header */
.cbib-sec-header {
	margin-bottom: 48px;
}

.cbib-sec-tag {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: rgba(255,255,255,.45);
	margin-bottom: 10px;
}

.cbib-sec-title {
	font-size: clamp(32px, 4.5vw, 52px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.5px;
	color: var(--cbib-fg);
	margin: 0 0 14px;
}

.cbib-sec-desc {
	font-size: 15px;
	font-weight: 300;
	color: rgba(255,255,255,.55);
	line-height: 1.7;
	max-width: 620px;
	margin: 0;
}

/* Cards grid */
.cbib-cards-grid {
	display: grid;
	grid-template-columns: repeat(var(--cbib-cols, 4), 1fr);
	gap: 14px;
}

/* Single card */
.cbib-size-card {
	background: var(--cbib-cbg);
	border: 1px solid var(--cbib-cbrd);
	border-radius: 10px;
	padding: 24px 22px;
	position: relative;
	transition: background .2s, border-color .2s, transform .2s;
	cursor: default;
}

.cbib-size-card:hover {
	background: rgba(255,255,255,.1);
	transform: translateY(-3px);
}

.cbib-size-card--hl {
	background: rgba(200,64,42,.18) !important;
	border-color: var(--cbib-acc) !important;
	box-shadow: 0 0 0 1px var(--cbib-acc);
}

.cbib-size-card--hl:hover {
	background: rgba(200,64,42,.25) !important;
}

.cbib-card-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: var(--cbib-acc);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
	letter-spacing: .5px;
	text-transform: uppercase;
}

.cbib-card-letter {
	font-size: 44px;
	font-weight: 800;
	color: var(--cbib-acc);
	line-height: 1;
	margin-bottom: 10px;
	letter-spacing: -1px;
}

.cbib-card-dims {
	font-size: 13px;
	color: rgba(255,255,255,.65);
	font-weight: 500;
	margin-bottom: 6px;
	line-height: 1.4;
}

.cbib-card-note {
	font-size: 12px;
	color: rgba(255,255,255,.35);
	line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   BLOCK 2 – CONTACT SIDEBAR
═══════════════════════════════════════════════════════════════ */
.cbib-contact-sidebar {
	background: var(--cbib-bg);
	color: var(--cbib-fg);
	padding: 32px 28px;
	border-radius: 12px;
}

.cbib-contact-intro {
	font-size: 15px;
	font-weight: 300;
	color: rgba(255,255,255,.65);
	line-height: 1.75;
	margin: 0 0 28px;
}

/* Contact list */
.cbib-contact-list {
	list-style: none;
	padding: 0;
	margin: 0 0 0 0;
	display: flex;
	flex-direction: column;
}

.cbib-ci {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 13px 0;
	border-bottom: 1px solid rgba(255,255,255,.08);
}

.cbib-ci:last-child {
	border-bottom: none;
}

.cbib-ci-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	flex-shrink: 0;
}

.cbib-ci-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.cbib-ci-body strong {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	display: block;
}

.cbib-ci-body strong a {
	color: rgba(255,255,255,.85);
	text-decoration: none;
}

.cbib-ci-body strong a:hover {
	color: #fff;
	text-decoration: underline;
}

.cbib-ci-body span {
	font-size: 12px;
	color: rgba(255,255,255,.5);
	display: block;
}

/* Price box */
.cbib-price-box {
	margin-top: 28px;
	padding: 22px;
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 12px;
}

.cbib-price-label {
	font-size: 11px;
	color: rgba(255,255,255,.35);
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.cbib-price-value {
	font-size: 48px;
	font-weight: 800;
	color: var(--cbib-acc);
	line-height: 1;
	letter-spacing: -1px;
}

.cbib-price-vat {
	font-size: 12px;
	color: rgba(255,255,255,.3);
	margin-top: 4px;
}

.cbib-price-note {
	margin-top: 14px;
	font-size: 13px;
	color: rgba(255,255,255,.5);
	line-height: 1.6;
	border-top: 1px solid rgba(255,255,255,.08);
	padding-top: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
	.cbib-cards-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.cbib-sizes-section {
		padding: 56px 0;
	}
}

@media (max-width: 500px) {
	.cbib-cards-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px;
	}
	.cbib-size-card {
		padding: 18px 14px;
	}
	.cbib-card-letter {
		font-size: 36px;
	}
	.cbib-contact-sidebar {
		padding: 22px 16px;
	}
	.cbib-price-value {
		font-size: 38px;
	}
	.cbib-sizes-section {
		padding: 40px 0;
	}
}
