/* ARAZAS Electronics tweaks on homepage-microsoft.css */

.az-ms-nav__links a[aria-current="page"] {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.1);
}

.az-ms-hero__media img {
	object-position: center 40%;
}

.el-subnav {
	background: #111111;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	color: #f5f5f5;
	position: sticky;
	top: 58px;
	z-index: 900;
}

.el-subnav__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 48px);
	min-height: 44px;
	display: flex;
	align-items: center;
	gap: 16px;
	overflow-x: auto;
	scrollbar-width: none;
}

.el-subnav__inner::-webkit-scrollbar {
	display: none;
}

.el-subnav__brand {
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #ffffff;
	white-space: nowrap;
}

.el-subnav__links {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1;
	min-width: 0;
}

.el-subnav__links a {
	display: block;
	padding: 10px 10px;
	font-size: 12.5px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.7);
	white-space: nowrap;
	border-radius: 2px;
}

.el-subnav__links a:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
}

.el-subnav__cta {
	flex-shrink: 0;
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 12px;
	font-size: 12px;
	font-weight: 700;
	border-radius: 2px;
	background: #fbbf24;
	color: #111;
	white-space: nowrap;
}

.el-subnav__cta:hover {
	background: #fcd34d;
}

.el-section-lede {
	margin: -8px 0 28px;
	max-width: 52rem;
	font-size: 16px;
	line-height: 1.55;
	color: var(--az-ink-soft, #5c5c5c);
}

.el-quick-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
	.el-quick-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1180px) {
	.el-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.az-ms-card__media img {
	object-fit: contain;
	object-position: center;
	background: #0a0a0a;
	padding: 8px;
}
