/* ICVI 2.7.1 — lightweight dashboard banner slider */
body.woocommerce-account .icivi-v2__banner-slider {
	position: relative;
	width: 100%;
	margin: 0 0 22px;
	border: 1px solid #e7ecf5;
	border-radius: 18px;
	background: #f7f9fd;
	overflow: hidden;
	isolation: isolate;
}
body.woocommerce-account .icivi-v2__banner-track {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 5;
	min-height: 120px;
}
body.woocommerce-account .icivi-v2__banner-slide {
	display: none;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
body.woocommerce-account .icivi-v2__banner-slide.is-active {
	display: block;
	animation: icivi-banner-fade .28s ease both;
}
body.woocommerce-account .icivi-v2__banner-link,
body.woocommerce-account .icivi-v2__banner-image {
	display: block;
	width: 100%;
	height: 100%;
}
body.woocommerce-account .icivi-v2__banner-link {
	outline-offset: -4px;
}
body.woocommerce-account .icivi-v2__banner-image {
	object-fit: cover;
	object-position: center;
}
body.woocommerce-account .icivi-v2__banner-arrow {
	position: absolute;
	z-index: 3;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(255,255,255,.75);
	border-radius: 50%;
	background: rgba(20,31,51,.58);
	color: #fff;
	font-family: inherit;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	backdrop-filter: blur(8px);
	transition: background .18s ease, transform .18s ease;
}
body.woocommerce-account .icivi-v2__banner-arrow:hover {
	background: rgba(20,31,51,.82);
	transform: translateY(-50%) scale(1.04);
}
body.woocommerce-account .icivi-v2__banner-arrow--prev { right: 14px; }
body.woocommerce-account .icivi-v2__banner-arrow--next { left: 14px; }
body.woocommerce-account .icivi-v2__banner-dots {
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 12px;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	pointer-events: none;
}
body.woocommerce-account .icivi-v2__banner-dot {
	width: 7px;
	height: 7px;
	min-width: 7px;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: rgba(255,255,255,.65);
	box-shadow: 0 1px 4px rgba(0,0,0,.18);
	pointer-events: auto;
	cursor: pointer;
	transition: width .2s ease, background .2s ease;
}
body.woocommerce-account .icivi-v2__banner-dot.is-active {
	width: 22px;
	background: #fff;
}
@keyframes icivi-banner-fade {
	from { opacity: .55; }
	to { opacity: 1; }
}
@media(max-width:767px) {
	body.woocommerce-account .icivi-v2__banner-slider { margin-bottom: 17px; border-radius: 13px; }
	body.woocommerce-account .icivi-v2__banner-track { aspect-ratio: 16 / 7; min-height: 105px; }
	body.woocommerce-account .icivi-v2__banner-arrow { width: 31px; height: 31px; font-size: 21px; }
	body.woocommerce-account .icivi-v2__banner-arrow--prev { right: 8px; }
	body.woocommerce-account .icivi-v2__banner-arrow--next { left: 8px; }
	body.woocommerce-account .icivi-v2__banner-dots { bottom: 8px; }
}
@media(prefers-reduced-motion:reduce) {
	body.woocommerce-account .icivi-v2__banner-slide.is-active { animation: none; }
}

/* 2.7.1 — protect slider pagination from theme-wide button rules. */
body.woocommerce-account .icivi-v2__banner-dots {
	z-index: 5;
	height: 12px;
	min-height: 12px;
	align-items: center;
	gap: 8px;
}
body.woocommerce-account .icivi-v2__banner-dots > button.icivi-v2__banner-dot {
	all: unset !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	box-sizing: border-box !important;
	display: block !important;
	flex: 0 0 7px !important;
	width: 7px !important;
	min-width: 7px !important;
	max-width: 7px !important;
	height: 7px !important;
	min-height: 7px !important;
	max-height: 7px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(255,255,255,.72) !important;
	box-shadow: 0 1px 4px rgba(0,0,0,.22) !important;
	font-size: 0 !important;
	line-height: 0 !important;
	cursor: pointer !important;
	transition: width .2s ease, background .2s ease, border-radius .2s ease !important;
}
body.woocommerce-account .icivi-v2__banner-dots > button.icivi-v2__banner-dot.is-active {
	flex-basis: 22px !important;
	width: 22px !important;
	min-width: 22px !important;
	max-width: 22px !important;
	height: 7px !important;
	min-height: 7px !important;
	max-height: 7px !important;
	border-radius: 999px !important;
	background: #fff !important;
}


/* Keyboard users must retain a clear focus indicator after the theme reset. */
body.woocommerce-account .icivi-v2__banner-dots > button.icivi-v2__banner-dot:focus-visible,
body.woocommerce-account .icivi-v2__banner-arrow:focus-visible {
	outline: 2px solid #fff !important;
	outline-offset: 4px !important;
	box-shadow: 0 0 0 2px #263b73 !important;
}
body.woocommerce-account .icivi-v2__banner-dot,
body.woocommerce-account .icivi-v2__banner-arrow {
	touch-action: manipulation;
}
