/**
 * Arisch Noc Theme — minimal chrome / homepage presentation fixes.
 *
 * Scoped to known missing assets and homepage carousel shell behavior.
 * Preserves layout boxes via visibility (not display:none).
 * No typography, color, or redesign rules.
 */

img[data-arisch-missing-asset] {
	visibility: hidden;
	display: block;
	width: 100%;
	height: auto;
}

/*
 * Scientists marquee: keep a dark 5:9 plane when Amplience photos are missing.
 * Do not use height:auto here — production sizes imgs with height:100% + aspect-ratio 5/9
 * once the slide has an explicit width (156px / 290px from layoutMarquee).
 */
.marquee-content-slider .swiper-slide .content-image {
	aspect-ratio: 5 / 9;
	background-color: #111;
	display: block;
	position: relative;
	width: 100%;
	height: auto;
}

.marquee-content-slider .swiper-slide img[data-arisch-missing-asset] {
	aspect-ratio: 5 / 9;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Concern cards are square Amplience thumbs when present. */
.ampliance_layout.layout6.concerns img[data-arisch-missing-asset] {
	aspect-ratio: 1 / 1;
}

/*
 * Hero height: production aspect-ratio rules in global.css own geometry.
 * Do not add local min-height / width overrides on hero media wrappers.
 */

/*
 * Tolstoy UGC requires a remote web component loader (blocked).
 * Keep the slot visible as an empty reserved band so layout does not jump.
 */
.homepage-slot.position7 tolstoy-carousel[data-arisch-inert] {
	display: block;
	min-height: 120px;
	width: 100%;
	background-color: #f8f8f8;
}

/* Local carousel shell (replaces Swiper runtime sizing). */
.amplience_homepage [data-arisch-carousel="1"] {
	overflow: hidden;
}

.amplience_homepage [data-arisch-carousel="1"] > .swiper-wrapper {
	will-change: transform;
}

/*
 * Source Swiper centers horizontal bullets via:
 *   .swiper-horizontal > .swiper-pagination-bullets { left:0; width:100% }
 * with .swiper-pagination { text-align:center }.
 * Local hero dots omit those Swiper runtime classes, so the pager stayed
 * content-width at left:0. Mirror the source geometry on the hero pager only.
 */
.ampliance_layout.hero-carousel-v1 .swiper > .swiper-pagination {
	left: 0;
	text-align: center;
	width: 100%;
}

.amplience_homepage .swiper-pagination [data-arisch-dot] {
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	display: inline-block;
	height: 10px;
	margin: 0 8px;
	outline: 1px solid rgba(0, 0, 0, 0.6);
	outline-offset: 1px;
	padding: 0;
	vertical-align: middle;
	width: 10px;
}

.amplience_homepage .swiper-pagination [data-arisch-dot].is-active {
	background-color: #000;
	outline-offset: 2px;
}

.amplience_homepage .categoryCarousel .swiper-nav-btn {
	cursor: pointer;
}

@media (min-width: 1024px) {
	.ampliance_layout.categoryCarousel .tab-content .swiper.standard .swiper-slide:before {
		width: 1px;
	}
}

.ampliance_layout.categoryCarousel .swiper-slide .product-grid-item {
	overflow: hidden;
}
