/* Montavio Custom — checkout, product gallery, and image stability. */

.montavio-trust-list {
	display: grid;
	gap: 10px;
	margin: 18px 0 0;
	padding: 0;
	background: none;
	color: inherit;
	border: 0;
	list-style: none;
}

.montavio-trust-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.45;
}

.montavio-trust-list__check {
	flex: 0 0 18px;
	color: #b30000;
	font-weight: 700;
}

.montavio-trust-list--compact {
	gap: 7px;
	margin-top: 14px;
	padding: 0;
}

.montavio-trust-list--compact li {
	font-size: 12px;
}

.montavio-view-all {
	display: flex;
	justify-content: center;
	margin: 34px 0 0;
}

.montavio-view-all a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 24px;
	background: #000;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	transition: background-color .2s ease;
}

.montavio-view-all a:hover,
.montavio-view-all a:focus-visible {
	background: #b30000;
	color: #fff;
}

.woocommerce-product-gallery {
	position: relative;
}

.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
	aspect-ratio: 1 / 1;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image {
	aspect-ratio: 1 / 1;
}

/* Pana porneste galeria, se vede doar prima poza (altfel pagina "sare" cand galeria se strange). */
.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(n+2) {
	display: none;
}

.montavio-gallery-arrow {
	position: absolute;
	z-index: 20;
	top: 50%;
	display: inline-flex;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .8);
	color: #fff;
	font: inherit;
	font-size: 26px;
	line-height: 1;
	transform: translateY(-50%);
	transition: background-color .18s ease, transform .18s ease;
	cursor: pointer;
}

.montavio-gallery-arrow:hover,
.montavio-gallery-arrow:focus-visible {
	background: #b30000;
	color: #fff;
}

.montavio-gallery-arrow:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.montavio-gallery-arrow--prev { left: 12px; }
.montavio-gallery-arrow--next { right: 12px; }

.montavio-gallery-count {
	margin: 9px 0 0;
	color: #555;
	font-size: 12px;
	text-align: center;
}

.product-card__img--hover[data-montavio-src] {
	opacity: 0;
}

.woocommerce-checkout .form-row {
	margin-bottom: 10px;
}

@media (max-width: 767px) {
	.montavio-gallery-arrow {
		width: 38px;
		height: 38px;
		font-size: 22px;
	}

	.montavio-gallery-arrow--prev { left: 12px; }
	.montavio-gallery-arrow--next { right: 12px; }
}
