/*!
 * CBASCO Haika — Packaging Page
 * - Hero with stat badges
 * - Interactive 16-part schematic with hotspots + material legend
 * - Filterable parts grid
 * - Five packaging-mode cards (Simple / Wrapping / Metal box / Wooden saddle / Plastic bumper)
 * - "Why CBASCO packaging" benefits grid
 * - Side drawer for individual part detail
 * Mobile-first, RTL.
 */

/* ════════════════════════════════════════════════
   BASE
   ════════════════════════════════════════════════ */
.cbpk-main {
	background: var(--cb-bg, #0d1117);
	color: var(--cb-text, #e4e8ee);
	overflow: hidden;
}
.cbpk-sec { padding: 64px 0; position: relative; }
.cbpk-lede {
	max-width: 760px;
	margin: 14px auto 32px;
	text-align: center;
	color: var(--cb-text-muted, #98a2af);
	line-height: 1.95;
	font-size: 0.98rem;
}

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.cbpk-hero {
	position: relative;
	padding: 96px 0 72px;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(100, 170, 210, 0.13) 0%, transparent 55%),
		radial-gradient(ellipse at 100% 100%, rgba(200, 168, 76, 0.07) 0%, transparent 60%),
		linear-gradient(180deg, var(--cb-bg-deep, #0a0e14) 0%, var(--cb-bg, #0d1117) 100%);
}
.cbpk-hero-title {
	font-size: clamp(2rem, 5vw, 3.4rem);
	font-weight: 800;
	line-height: 1.2;
	margin: 12px 0 14px;
	color: var(--cb-text);
}
.cbpk-hero-title em {
	font-style: normal;
	background: linear-gradient(120deg, var(--cb-steel, #6aaecc) 0%, var(--cb-steel-l, #a0d0e8) 50%, var(--cb-steel, #6aaecc) 100%);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: cbpk-shimmer 6s linear infinite;
}
@keyframes cbpk-shimmer {
	0%   { background-position: 0% 50%; }
	100% { background-position: 200% 50%; }
}
.cbpk-hero-sub {
	font-size: clamp(0.95rem, 1.6vw, 1.1rem);
	color: var(--cb-text-muted, #98a2af);
	margin: 0 auto 32px;
	max-width: 720px;
	line-height: 1.85;
}
.cbpk-hero-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	max-width: 800px;
	margin: 0 auto;
}
.cbpk-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	background: rgba(100, 170, 210, .08);
	border: 1px solid rgba(100, 170, 210, .24);
	border-radius: 999px;
	transition: transform .3s, border-color .3s;
}
.cbpk-hero-badge:hover {
	transform: translateY(-3px);
	border-color: rgba(100, 170, 210, .55);
}
.cbpk-hb-num {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--cb-steel, #6aaecc);
	font-variant-numeric: tabular-nums;
}
.cbpk-hb-icon { display: inline-flex; color: var(--cb-steel, #6aaecc); }
.cbpk-hb-icon svg { width: 18px; height: 18px; }
.cbpk-hb-lbl {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--cb-text);
}

/* ════════════════════════════════════════════════
   SCHEMATIC (interactive)
   ════════════════════════════════════════════════ */
.cbpk-sch-sec {
	background:
		radial-gradient(ellipse at 80% 30%, rgba(100, 170, 210, .04) 0%, transparent 50%),
		linear-gradient(180deg, var(--cb-bg, #0d1117) 0%, var(--cb-bg-deep, #0a0e14) 100%);
}

.cbpk-sch-stage {
	margin: 36px auto 0;
	max-width: 920px;
}
.cbpk-sch-frame {
	background: linear-gradient(160deg, #fafdff 0%, #e8f0f8 100%);
	border-radius: 20px;
	padding: 20px;
	box-shadow: 0 18px 50px rgba(0,0,0,.45), inset 0 0 0 1px rgba(100, 170, 210, .15);
	position: relative;
	overflow: hidden;
}
/* Industrial pinstripe overlay on schematic background */
.cbpk-sch-frame::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(transparent 0%, transparent calc(100% - 1px), rgba(100, 170, 210, .06) calc(100% - 1px));
	background-size: 100% 18px;
	pointer-events: none;
}
.cbpk-sch-imgwrap {
	position: relative;
	max-width: 720px;
	margin: 0 auto;
	z-index: 1;
}
.cbpk-sch-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
	user-select: none;
}

/* Hotspots */
.cbpk-hotspot {
	position: absolute;
	transform: translate(-50%, -50%);
	width: 28px;
	height: 28px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
	z-index: 3;
}
.cbpk-hotspot-dot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(140deg, var(--cb-steel, #6aaecc), var(--cb-steel-d, #3a7ea0));
	color: #fff;
	font-size: 0.75rem;
	font-weight: 800;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow:
		0 0 0 4px rgba(100, 170, 210, .25),
		0 4px 10px rgba(0, 0, 0, .35);
	transition: transform .25s, box-shadow .25s, background .25s;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}
.cbpk-hotspot:hover .cbpk-hotspot-dot,
.cbpk-hotspot.is-active .cbpk-hotspot-dot {
	transform: scale(1.25);
	background: linear-gradient(140deg, var(--cb-gold, #c8a84c), var(--cb-gold-m, #e8c878));
	box-shadow:
		0 0 0 6px rgba(200, 168, 76, .35),
		0 6px 14px rgba(0, 0, 0, .4);
}
/* Pulsing ring (animated, non-decorative noise) */
.cbpk-hotspot::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid var(--cb-steel, #6aaecc);
	opacity: .6;
	animation: cbpk-pulse 2.6s cubic-bezier(.36, .07, .19, .97) infinite;
	pointer-events: none;
}
@keyframes cbpk-pulse {
	0%   { transform: scale(1);   opacity: .55; }
	75%  { transform: scale(1.9); opacity: 0;   }
	100% { transform: scale(1.9); opacity: 0;   }
}
.cbpk-hotspot:hover::before,
.cbpk-hotspot.is-active::before {
	border-color: var(--cb-gold, #c8a84c);
}

/* Tooltip on hover (desktop) */
.cbpk-hotspot-tip {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%) translateY(4px);
	background: var(--cb-bg, #0d1117);
	color: #e4e8ee;
	border: 1px solid rgba(100, 170, 210, .35);
	border-radius: 10px;
	padding: 8px 12px;
	min-width: 180px;
	max-width: 240px;
	font-size: 0.78rem;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s, transform .25s;
	z-index: 4;
	box-shadow: 0 10px 24px rgba(0,0,0,.5);
	text-align: center;
	line-height: 1.5;
}
.cbpk-hotspot-tip strong {
	display: block;
	color: var(--cb-highlight, #c8e0f0);
	font-weight: 700;
	margin-bottom: 2px;
}
.cbpk-hotspot-tip small {
	color: var(--cb-steel, #6aaecc);
	font-size: 0.7rem;
}
.cbpk-hotspot-tip::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -6px;
	border: 6px solid transparent;
	border-top-color: var(--cb-bg, #0d1117);
}
.cbpk-hotspot:hover .cbpk-hotspot-tip {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
/* Hide tooltip on touch devices — drawer is used instead */
@media (hover: none) {
	.cbpk-hotspot-tip { display: none; }
}

/* Material legend (under schematic) */
.cbpk-mat-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
	margin-top: 22px;
	padding: 14px 18px;
	background: rgba(255,255,255,.025);
	border: 1px solid rgba(100, 170, 210, .15);
	border-radius: 12px;
}
.cbpk-mat-legend-title {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--cb-text);
}
.cbpk-mat-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	background: color-mix(in srgb, var(--cb-acc) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--cb-acc) 30%, transparent);
	color: var(--cb-text);
	border-radius: 999px;
	font-size: 0.78rem;
}
.cbpk-mat-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--cb-acc);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--cb-acc) 25%, transparent);
}

/* Parts table */
.cbpk-parts-wrap {
	margin-top: 48px;
	max-width: 920px;
	margin-inline: auto;
}
.cbpk-parts-title {
	margin: 0 0 18px;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--cb-highlight, #c8e0f0);
	text-align: center;
}
.cbpk-parts-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-bottom: 18px;
}
.cbpk-pf-btn {
	padding: 8px 14px;
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.08);
	color: var(--cb-text-muted, #98a2af);
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
	transition: all .25s;
	white-space: nowrap;
}
.cbpk-pf-btn:hover {
	color: var(--cb-text);
	border-color: var(--cb-acc, #6aaecc);
}
.cbpk-pf-btn.is-active {
	background: var(--cb-acc, #6aaecc);
	border-color: var(--cb-acc, #6aaecc);
	color: var(--cb-bg, #0d1117);
}

.cbpk-parts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}
@media (min-width: 720px)  { .cbpk-parts-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
@media (min-width: 1000px) { .cbpk-parts-grid { grid-template-columns: 1fr 1fr 1fr; } }

.cbpk-part {
	display: flex;
	align-items: stretch;
	gap: 12px;
	background: rgba(255,255,255,.025);
	border: 1px solid rgba(255,255,255,.06);
	border-radius: 12px;
	padding: 12px 14px;
	cursor: pointer;
	transition: background .25s, border-color .25s, transform .25s, opacity .25s;
	position: relative;
}
.cbpk-part:hover,
.cbpk-part.is-active {
	background: color-mix(in srgb, var(--cb-acc) 8%, transparent);
	border-color: var(--cb-acc);
	transform: translateY(-2px);
}
.cbpk-part.is-dim { opacity: 0.2; }
.cbpk-part-num {
	flex: 0 0 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: linear-gradient(140deg, color-mix(in srgb, var(--cb-acc) 25%, transparent), color-mix(in srgb, var(--cb-acc) 8%, transparent));
	border: 1px solid color-mix(in srgb, var(--cb-acc) 45%, transparent);
	color: var(--cb-acc);
	border-radius: 10px;
	font-size: 0.92rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}
.cbpk-part-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.cbpk-part-name strong {
	display: block;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--cb-text);
	line-height: 1.4;
}
.cbpk-part-name small {
	display: block;
	font-size: 0.7rem;
	color: var(--cb-text-muted, #98a2af);
	margin-top: 1px;
	direction: ltr;
}
.cbpk-part-mat {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.72rem;
	color: var(--cb-text-muted, #b8c2cf);
}
.cbpk-part-mat-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cb-mat);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--cb-mat) 25%, transparent);
}
.cbpk-part-mat-fa { color: var(--cb-mat); font-weight: 700; }
.cbpk-part-mat-en { color: var(--cb-text-muted, #98a2af); font-family: 'Courier New', monospace; }

/* ════════════════════════════════════════════════
   PACKAGING MODES
   ════════════════════════════════════════════════ */
.cbpk-modes-sec {
	background: linear-gradient(180deg, var(--cb-bg-deep, #0a0e14) 0%, var(--cb-bg, #0d1117) 100%);
}
.cbpk-modes-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin-top: 18px;
}
@media (min-width: 720px)  { .cbpk-modes-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .cbpk-modes-grid { grid-template-columns: repeat(3, 1fr); } }

/* Make the two "export" cards span 1.5 columns each on wide screens for emphasis */
@media (min-width: 1100px) {
	.cbpk-mode--wooden-saddle,
	.cbpk-mode--plastic-bumper {
		grid-column: span 1;
	}
}

.cbpk-mode {
	position: relative;
	background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,.005));
	border: 1px solid color-mix(in srgb, var(--cb-acc) 26%, transparent);
	border-radius: 20px;
	overflow: hidden;
	transition: transform .35s, border-color .35s, box-shadow .35s;
	display: flex;
	flex-direction: column;
}
.cbpk-mode::before {
	content: "";
	position: absolute;
	top: 0; right: 0; left: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--cb-acc), transparent);
}
.cbpk-mode:hover {
	transform: translateY(-6px);
	border-color: var(--cb-acc);
	box-shadow: 0 22px 48px color-mix(in srgb, var(--cb-acc) 18%, transparent);
}
.cbpk-mode-tag {
	position: absolute;
	top: 14px;
	right: 14px;
	background: color-mix(in srgb, var(--cb-acc) 22%, transparent);
	border: 1px solid color-mix(in srgb, var(--cb-acc) 45%, transparent);
	color: var(--cb-acc);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 4px 10px;
	border-radius: 999px;
	z-index: 3;
}
.cbpk-mode-num {
	position: absolute;
	top: 14px;
	left: 18px;
	font-size: 1.8rem;
	font-weight: 800;
	color: color-mix(in srgb, var(--cb-acc) 40%, transparent);
	font-family: 'Courier New', monospace;
	letter-spacing: -1px;
	z-index: 3;
	line-height: 1;
}

/* Photo */
.cbpk-mode-photo {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 11;
	background:
		radial-gradient(ellipse at center, color-mix(in srgb, var(--cb-acc) 15%, transparent) 0%, transparent 60%),
		linear-gradient(160deg, #fafdff, #d8e4ee);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cbpk-mode-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 16px;
	transition: transform .55s ease;
}
.cbpk-mode:hover .cbpk-mode-photo img {
	transform: scale(1.04);
}
.cbpk-mode-photo-glow {
	position: absolute;
	width: 60%;
	height: 60%;
	background: radial-gradient(circle, color-mix(in srgb, var(--cb-acc) 24%, transparent) 0%, transparent 65%);
	pointer-events: none;
	animation: cbpk-glow 4s ease-in-out infinite;
	mix-blend-mode: screen;
}
@keyframes cbpk-glow {
	0%, 100% { opacity: .5; transform: translate(-10%, -10%) scale(1); }
	50%      { opacity: .9; transform: translate(10%, 10%)  scale(1.15); }
}

/* Body */
.cbpk-mode-body {
	flex: 1 1 auto;
	padding: 20px 22px 22px;
	display: flex;
	flex-direction: column;
}
.cbpk-mode-title {
	margin: 0 0 10px;
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--cb-text);
	line-height: 1.4;
}
.cbpk-mode-title small {
	display: block;
	margin-top: 4px;
	font-size: 0.72rem;
	color: var(--cb-acc);
	font-weight: 600;
	letter-spacing: .04em;
	direction: ltr;
}
.cbpk-mode-desc {
	margin: 0 0 14px;
	font-size: 0.86rem;
	color: var(--cb-text-muted, #b8c2cf);
	line-height: 1.95;
	text-align: justify;
}
.cbpk-mode-feats {
	list-style: none;
	padding: 0;
	margin: 0 0 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.cbpk-mode-feats li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.82rem;
	color: var(--cb-text);
}
.cbpk-mode-feats svg {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	color: var(--cb-acc);
}
.cbpk-mode-use {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: color-mix(in srgb, var(--cb-acc) 10%, transparent);
	border: 1px dashed color-mix(in srgb, var(--cb-acc) 35%, transparent);
	border-radius: 10px;
	color: var(--cb-acc);
	font-size: 0.78rem;
	font-weight: 600;
	align-self: flex-start;
}
.cbpk-mode-use svg { width: 14px; height: 14px; }

/* ════════════════════════════════════════════════
   WHY / BENEFITS
   ════════════════════════════════════════════════ */
.cbpk-why-sec {
	background:
		radial-gradient(ellipse at 50% 0%, rgba(200, 168, 76, .05) 0%, transparent 50%),
		linear-gradient(180deg, var(--cb-bg, #0d1117) 0%, var(--cb-bg-deep, #0a0e14) 100%);
	padding-bottom: 96px;
}
.cbpk-why-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-top: 32px;
}
@media (min-width: 720px)  { .cbpk-why-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .cbpk-why-grid { grid-template-columns: repeat(3, 1fr); } }

.cbpk-why-card {
	background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,.005));
	border: 1px solid rgba(100, 170, 210, .2);
	border-radius: 18px;
	padding: 26px 22px;
	transition: transform .3s, border-color .3s, box-shadow .3s;
}
.cbpk-why-card:hover {
	transform: translateY(-5px);
	border-color: rgba(100, 170, 210, .5);
	box-shadow: 0 18px 38px rgba(100, 170, 210, .14);
}
.cbpk-why-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: linear-gradient(140deg, rgba(100, 170, 210, .18), rgba(100, 170, 210, .04));
	border: 1px solid rgba(100, 170, 210, .35);
	color: var(--cb-steel, #6aaecc);
	border-radius: 14px;
	margin-bottom: 16px;
}
.cbpk-why-icon svg { width: 28px; height: 28px; }
.cbpk-why-card h3 {
	margin: 0 0 10px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--cb-text);
}
.cbpk-why-card p {
	margin: 0;
	font-size: 0.85rem;
	color: var(--cb-text-muted, #b8c2cf);
	line-height: 1.95;
	text-align: justify;
}

/* ════════════════════════════════════════════════
   DRAWER (part detail)
   ════════════════════════════════════════════════ */
.cbpk-drawer {
	position: fixed;
	inset: 0;
	z-index: 9000;
	visibility: hidden;
	opacity: 0;
	transition: opacity .3s ease, visibility 0s linear .3s;
}
.cbpk-drawer[aria-hidden="false"] {
	visibility: visible;
	opacity: 1;
	transition: opacity .3s ease;
}
.cbpk-drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 8, 14, .65);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	cursor: pointer;
}
.cbpk-drawer-shell {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;   /* In RTL: visually appears on left, slides in from left */
	width: 100%;
	max-width: 420px;
	background: linear-gradient(160deg, var(--cb-bg, #0d1117) 0%, #131a25 100%);
	border-inline-end: 1px solid rgba(100, 170, 210, .25);
	box-shadow: 12px 0 40px rgba(0,0,0,.4);
	transform: translateX(-100%);
	transition: transform .4s cubic-bezier(.34, 1.16, .64, 1);
	display: flex;
	flex-direction: column;
}
[dir="rtl"] .cbpk-drawer-shell,
.cbpk-drawer-shell {
	left: auto;
	right: 0;
	border-inline-end: 0;
	border-inline-start: 1px solid rgba(100, 170, 210, .25);
	transform: translateX(100%);
}
.cbpk-drawer[aria-hidden="false"] .cbpk-drawer-shell {
	transform: translateX(0);
}
.cbpk-drawer-head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 22px;
	border-bottom: 1px solid rgba(100, 170, 210, .18);
	background: linear-gradient(180deg, rgba(100, 170, 210, .08), transparent);
}
.cbpk-drawer-num {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(140deg, var(--cb-steel, #6aaecc), var(--cb-steel-d, #3a7ea0));
	color: #fff;
	font-size: 1.25rem;
	font-weight: 800;
	border-radius: 14px;
	box-shadow: 0 8px 18px rgba(100, 170, 210, .3);
	font-variant-numeric: tabular-nums;
}
.cbpk-drawer-title-wrap {
	flex: 1 1 auto;
	min-width: 0;
}
.cbpk-drawer-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--cb-text);
	line-height: 1.4;
}
.cbpk-drawer-en {
	display: block;
	margin-top: 4px;
	font-size: 0.78rem;
	color: var(--cb-text-muted, #98a2af);
}
.cbpk-drawer-close {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(200, 88, 120, .12);
	border: 1px solid rgba(200, 88, 120, .25);
	color: #f8a8b8;
	border-radius: 10px;
	cursor: pointer;
	transition: all .2s;
}
.cbpk-drawer-close:hover {
	background: rgba(200, 88, 120, .22);
	color: #fff;
}
.cbpk-drawer-close svg { width: 18px; height: 18px; }
.cbpk-drawer-body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.cbpk-drawer-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: rgba(255,255,255,.025);
	border: 1px solid rgba(255,255,255,.06);
	border-radius: 10px;
}
.cbpk-drawer-row-lbl {
	font-size: 0.82rem;
	color: var(--cb-text-muted, #98a2af);
}
.cbpk-drawer-row-val {
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--cb-text);
	text-align: end;
}

/* Disable body scroll when drawer open */
body.cbpk-drawer-open { overflow: hidden; }

/* ════════════════════════════════════════════════
   MOBILE FINE-TUNING
   ════════════════════════════════════════════════ */
@media (max-width: 720px) {
	.cbpk-sec  { padding: 48px 0; }
	.cbpk-hero { padding: 72px 0 56px; }
	.cbpk-lede { font-size: 0.92rem; margin-bottom: 24px; }

	.cbpk-sch-frame { padding: 14px; border-radius: 16px; }
	.cbpk-hotspot { width: 24px; height: 24px; }
	.cbpk-hotspot-dot { font-size: 0.68rem; }

	/* Material legend gets cleaner spacing */
	.cbpk-mat-legend {
		padding: 12px 14px;
		gap: 6px;
	}
	.cbpk-mat-chip { font-size: 0.72rem; padding: 4px 8px; }

	.cbpk-parts-grid { gap: 8px; }
	.cbpk-part-num { flex: 0 0 32px; width: 32px; height: 32px; font-size: 0.85rem; }

	.cbpk-mode-tag { top: 10px; right: 10px; }
	.cbpk-mode-num { top: 10px; left: 14px; font-size: 1.5rem; }
	.cbpk-mode-body { padding: 18px; }
	.cbpk-mode-title { font-size: 1rem; }

	.cbpk-why-card { padding: 22px 18px; }
	.cbpk-why-icon { width: 48px; height: 48px; }
	.cbpk-why-icon svg { width: 24px; height: 24px; }

	/* Drawer becomes full-width bottom sheet on phones */
	.cbpk-drawer-shell {
		top: auto;
		bottom: 0;
		max-width: none;
		width: 100%;
		height: auto;
		max-height: 75vh;
		border-inline-start: 0;
		border-top: 1px solid rgba(100, 170, 210, .25);
		border-radius: 18px 18px 0 0;
		transform: translateY(100%);
		box-shadow: 0 -16px 40px rgba(0,0,0,.5);
	}
	.cbpk-drawer[aria-hidden="false"] .cbpk-drawer-shell {
		transform: translateY(0);
	}
}

@media (max-width: 480px) {
	.cbpk-hotspot { width: 20px; height: 20px; }
	.cbpk-hotspot-dot { font-size: 0.6rem; border-width: 1.5px; }
	.cbpk-hero-badges .cbpk-hero-badge { padding: 7px 12px; font-size: 0.78rem; }
	.cbpk-hb-num { font-size: 0.92rem; }
	.cbpk-hb-lbl { font-size: 0.78rem; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	.cbpk-hero-title em,
	.cbpk-hotspot::before,
	.cbpk-mode-photo-glow { animation: none !important; }
	.cbpk-mode,
	.cbpk-why-card,
	.cbpk-part,
	.cbpk-hotspot-dot,
	.cbpk-mode-photo img,
	.cbpk-drawer-shell { transition: none !important; }
}
