/* Kimo Mystery Boxes - styled to match kimomobiles.com (dark theme, Space Grotesk, blue accents) */
.kimo-mb {
	--kimo-blue: #0057ff;
	--kimo-blue-soft: #6ea3ff;
	--kimo-text: rgba(255, 255, 255, .82);
	--kimo-muted: rgba(255, 255, 255, .55);
	--kimo-line: rgba(255, 255, 255, .12);
	--kimo-panel: #f2f4f9;
	max-width: 1180px;
	margin: 0 auto;
	padding: 8px 0 24px;
	color: var(--kimo-text);
	font-family: inherit;
}
.kimo-mb * { box-sizing: border-box; }

.kimo-mb__head { text-align: center; margin-bottom: 30px; }
.kimo-mb__eyebrow,
.kimo-mb__label {
	display: inline-block;
	color: var(--kimo-blue-soft);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.32px;
	text-transform: uppercase;
}
.kimo-mb__head h2 {
	margin: 6px 0 10px;
	color: #fff;
	font-size: clamp(28px, 3.4vw, 34px);
	font-weight: 600;
	letter-spacing: -.68px;
	line-height: 1.15;
}
.kimo-mb__head p { margin: 0 auto; max-width: 580px; color: var(--kimo-muted); font-size: 15px; }

.kimo-mb__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}
@media (max-width: 980px) { .kimo-mb__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kimo-mb__grid { grid-template-columns: 1fr; } }

/* Card: same look as the store's product cards */
.kimo-mb__card {
	--kimo-tier: #6ea3ff;
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--kimo-line);
	border-radius: 20px;
	background: linear-gradient(165deg, #0b1328, #04060c 80%);
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.kimo-mb__card:hover {
	transform: translateY(-4px);
	border-color: rgba(110, 163, 255, .45);
	box-shadow: 0 18px 40px rgba(0, 87, 255, .18);
}
.kimo-mb__card--medium { --kimo-tier: #9d86ff; }
.kimo-mb__card--large { --kimo-tier: #f5b83d; }
.kimo-mb__card.is-featured { border-color: color-mix(in srgb, var(--kimo-tier) 55%, transparent); }

.kimo-mb__media { position: relative; display: block; background: var(--kimo-panel); }
.kimo-mb__media img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; padding: 10px; }
.kimo-mb__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	padding: 5px 10px;
	border-radius: 999px;
	background: #0b1328;
	color: var(--kimo-tier);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.kimo-mb__body { display: flex; flex-direction: column; padding: 16px; }
.kimo-mb__label { color: var(--kimo-tier); }
.kimo-mb__name { margin: 6px 0 4px; color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -.28px; line-height: 1.3; }
.kimo-mb__tagline { margin: 0 0 12px; color: var(--kimo-muted); font-size: 13px; }

.kimo-mb__pricerow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.kimo-mb__price { color: #fff; font-size: 26px; font-weight: 700; line-height: 1; }
.kimo-mb__price del { color: var(--kimo-muted); font-size: 15px; font-weight: 400; margin-right: 4px; }
.kimo-mb__price ins { text-decoration: none; }
.kimo-mb__worth {
	padding: 5px 10px;
	border: 1px solid color-mix(in srgb, var(--kimo-tier) 45%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--kimo-tier) 12%, transparent);
	color: var(--kimo-tier);
	font-size: 12px;
	font-weight: 700;
}

.kimo-mb ul { list-style: none; margin: 0; padding: 0; }
.kimo-mb__groups li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--kimo-line);
	font-size: 13px;
}
.kimo-mb__groups li span::before { content: "?"; display: inline-block; width: 16px; margin-right: 6px; color: var(--kimo-tier); font-weight: 700; text-align: center; }
.kimo-mb__groups em { color: #fff; font-style: normal; font-weight: 700; white-space: nowrap; }

.kimo-mb__included {
	padding: 9px 12px;
	border: 1px solid color-mix(in srgb, var(--kimo-tier) 40%, transparent);
	border-radius: 12px;
	background: color-mix(in srgb, var(--kimo-tier) 10%, transparent);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}
.kimo-mb__included span { margin-right: 6px; color: var(--kimo-tier); font-weight: 700; }
.kimo-mb__might { margin: 14px 0 4px; color: var(--kimo-muted); font-size: 12px; font-weight: 600; letter-spacing: .3px; }
.kimo-mb__groups small { color: var(--kimo-muted); font-size: 11px; }

.kimo-mb__details { margin-top: 12px; }
.kimo-mb__details summary {
	cursor: pointer;
	padding: 6px 0;
	color: var(--kimo-blue-soft);
	font-size: 13px;
	font-weight: 700;
	list-style: none;
}
.kimo-mb__details summary::-webkit-details-marker { display: none; }
.kimo-mb__details summary::after { content: " +"; }
.kimo-mb__details[open] summary::after { content: " \2212"; }
.kimo-mb__group-title {
	margin: 12px 0 4px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.kimo-mb__list li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 6px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	color: var(--kimo-text);
	font-size: 12.5px;
}
.kimo-mb__list em { color: #fff; font-style: normal; font-weight: 700; white-space: nowrap; }

.kimo-mb__btn {
	display: block;
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--kimo-blue);
	box-shadow: 0 6px 22px rgba(0, 87, 255, .35);
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	text-align: center;
	text-decoration: none !important;
	transition: filter .15s ease, box-shadow .15s ease;
}
.kimo-mb__btn:hover { filter: brightness(1.1); box-shadow: 0 8px 28px rgba(0, 87, 255, .5); }
.kimo-mb__btn.is-disabled { background: #2a2f3a; box-shadow: none; cursor: not-allowed; }

.kimo-mb__foot { margin: 22px auto 0; max-width: 720px; color: var(--kimo-muted); font-size: 12px; text-align: center; }

/* Phone model field on the product page */
.kimo-mb-phone { margin: 0 0 16px; max-width: 420px; }
.kimo-mb-phone label { display: block; margin-bottom: 6px; font-weight: 700; }
.kimo-mb-phone .required { color: #ff6b6b; }
.kimo-mb-phone input {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 12px;
	background: rgba(255, 255, 255, .06);
	color: inherit;
	font-family: inherit;
}
.kimo-mb-phone input:focus { outline: none; border-color: #0057ff; box-shadow: 0 0 0 3px rgba(0, 87, 255, .25); }
.kimo-mb-phone small { display: block; margin-top: 6px; opacity: .65; }

/* Homepage section under "Shop by category" (same spacing and heading as the category tiles) */
#kimo-mb-home { background: #000; }
.kimo-mb.kimo-mb--home {
	max-width: none;
	margin: 0;
	padding: clamp(22px, 3vw, 44px) clamp(16px, 6vw, 96px) clamp(16px, 2vw, 28px);
}
.kimo-mb--home .kimo-mb__head { text-align: left; margin-bottom: 14px; }
.kimo-mb--home .kimo-mb__head h2 {
	margin: 0 0 6px;
	font-size: clamp(20px, 2.4vw, 30px);
	font-weight: 600;
	letter-spacing: -.6px;
	line-height: 1.2;
}
.kimo-mb--home .kimo-mb__head p { margin: 0; max-width: none; font-size: 14px; }
.kimo-mb--home .kimo-mb__grid { gap: 12px; }
.kimo-mb--home .kimo-mb__card { border-radius: 18px; }
.kimo-mb--home .kimo-mb__media { background: #f2f4f9; }
.kimo-mb--home .kimo-mb__media img { aspect-ratio: 16 / 10; object-fit: contain; padding: 6px; }
.kimo-mb--home .kimo-mb__foot { text-align: left; margin: 14px 0 0; max-width: none; }
@media (max-width: 760px) {
	.kimo-mb.kimo-mb--home { padding: 20px 16px 12px; }
	.kimo-mb--home .kimo-mb__head h2 { font-size: 1.25rem; }
}

/* Homepage: hide the empty first Elementor section that sits under the category tiles
   (the theme only collapses it when it comes straight after "Shop by category"). */
#kimo-mb-home ~ #content-wrap .elementor > .elementor-section:first-child:not(:has(.elementor-widget)),
#kimo-mb-home ~ #content-wrap .elementor > .e-con:first-child:not(:has(.elementor-widget)) { display: none !important; }
.kimo-mb.kimo-mb--home { padding-bottom: clamp(4px, 1vw, 10px); }
