/**
 * İstanbul Av Market — Ana sayfa carousel düzeltmeleri
 * Woodmart [class*="wd-grid"] varsayılan --wd-col-lg:1 → yatay sıra zorlanır.
 */

/* ══════════════════════════════════════════════════════════════
   Bölüm genişlikleri (banner hariç — homepage-banners.css)
   ══════════════════════════════════════════════════════════════ */

body.home .iam-brands-block,
body.home .iam-categories-block,
body.home .iam-products-block,
body.home .elementor-element-5de140d,
body.home .elementor-element-3afba3d,
body.home .elementor-element-51d7c48 {
	display: block;
	width: 100%;
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(12px, 2vw, 16px);
	padding-right: clamp(12px, 2vw, 16px);
	box-sizing: border-box;
}

body.home .iam-brands-block {
	display: flex;
	flex-direction: column;
	gap: 0;
}

body.home .iam-brands-block > .elementor-element-d76e6bb,
body.home .iam-brands-block > .elementor-element-4c4b1f9 {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 auto !important;
}

/* ══════════════════════════════════════════════════════════════
   Ortak carousel yatay düzen
   ══════════════════════════════════════════════════════════════ */

body.home .wd-page-content main .wd-carousel-container {
	width: 100%;
	max-width: 100%;
	position: relative;
}

body.home .wd-page-content main .wd-carousel-inner {
	width: 100%;
	margin: 0;
}

body.home .wd-page-content main .wd-carousel.wd-grid {
	width: 100%;
	overflow: hidden;
}

body.home .wd-page-content main .wd-carousel > .wd-carousel-wrap,
body.home .wd-page-content main .wd-carousel .swiper-wrapper {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch;
	width: 100%;
}

body.home .wd-page-content main .wd-carousel-item,
body.home .wd-page-content main .wd-carousel .swiper-slide {
	flex-shrink: 0 !important;
	height: auto;
	box-sizing: border-box;
}

/* ══════════════════════════════════════════════════════════════
   MARKALAR (e3f1883) — 6 sütun
   ══════════════════════════════════════════════════════════════ */

body.home .elementor-element-e3f1883 .wd-carousel.wd-grid {
	--wd-col: 6 !important;
	--wd-col-lg: 6 !important;
	--wd-col-md: 4 !important;
	--wd-col-sm: 3 !important;
}

body.home .elementor-element-e3f1883 .wd-carousel-item,
body.home .elementor-element-e3f1883 .swiper-slide {
	flex: 0 0 calc(100% / 6) !important;
	max-width: calc(100% / 6) !important;
	width: calc(100% / 6) !important;
}

body.home .elementor-element-e3f1883 .wd-brand-item {
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 6px;
}

body.home .elementor-element-e3f1883 .wd-brand-item a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

body.home .elementor-element-e3f1883 .wd-brand-item img,
body.home .elementor-element-e3f1883 .wd-brand-item picture img {
	display: block !important;
	max-height: 52px !important;
	max-width: 100% !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
}

/* ══════════════════════════════════════════════════════════════
   YENİ GELENLER / SİZİN İÇİN SEÇTİKLERİMİZ — 5 sütun
   ══════════════════════════════════════════════════════════════ */

body.home .elementor-element-07f6fe6 .wd-carousel.wd-grid,
body.home .elementor-element-0dbf4a1 .wd-carousel.wd-grid {
	--wd-col: 5 !important;
	--wd-col-lg: 5 !important;
	--wd-col-md: 4 !important;
	--wd-col-sm: 2 !important;
}

body.home .elementor-element-07f6fe6 .wd-carousel-item,
body.home .elementor-element-07f6fe6 .swiper-slide,
body.home .elementor-element-0dbf4a1 .wd-carousel-item,
body.home .elementor-element-0dbf4a1 .swiper-slide {
	flex: 0 0 20% !important;
	max-width: 20% !important;
	width: 20% !important;
}

body.home .elementor-element-07f6fe6 .wd-product .product-wrapper,
body.home .elementor-element-0dbf4a1 .wd-product .product-wrapper {
	background: #fff;
	border: 1px solid rgba(47, 79, 47, 0.1);
	border-radius: 10px;
	padding: 10px;
	height: 100%;
}

body.home .elementor-element-07f6fe6 .wd-product .product-image-link img,
body.home .elementor-element-0dbf4a1 .wd-product .product-image-link img {
	width: 100% !important;
	height: auto !important;
	max-height: 200px !important;
	object-fit: contain !important;
}

/* Ürün başlık/kart stilleri: homepage-products.css (.iam-products-block) */

/* ══════════════════════════════════════════════════════════════
   Ürün kategorileri (6d61d44) — 6 sütun
   ══════════════════════════════════════════════════════════════ */

body.home .elementor-element-6d61d44 .wd-carousel.wd-grid {
	--wd-col: 6 !important;
	--wd-col-lg: 6 !important;
	--wd-col-md: 4 !important;
	--wd-col-sm: 3 !important;
}

body.home .elementor-element-6d61d44 .wd-carousel-item,
body.home .elementor-element-6d61d44 .swiper-slide {
	flex: 0 0 calc(100% / 6) !important;
	max-width: calc(100% / 6) !important;
	width: calc(100% / 6) !important;
}

body.home .elementor-element-6d61d44 .wd-cat-wrap {
	text-align: center;
	padding: 6px 4px;
}

body.home .elementor-element-6d61d44 .cat-design-replace-title .wd-cat-thumb img,
body.home .elementor-element-6d61d44 .cat-design-replace-title .category-image img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	max-height: none !important;
	object-fit: cover !important;
	margin: 0;
}

body.home .elementor-element-6d61d44 .wd-entities-title {
	font-size: 0.72rem;
	line-height: 1.25;
	margin-top: 6px;
}

/* ══════════════════════════════════════════════════════════════
   Carousel okları
   ══════════════════════════════════════════════════════════════ */

body.home .wd-page-content main .wd-nav-arrows {
	pointer-events: auto;
}

body.home .wd-page-content main .wd-nav-arrows .wd-btn-arrow {
	opacity: 1 !important;
	pointer-events: auto !important;
	cursor: pointer;
}

body.home .wd-page-content main .wd-nav-arrows .wd-arrow-inner {
	pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   Tablet
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) and (min-width: 769px) {
	body.home .elementor-element-e3f1883 .wd-carousel-item,
	body.home .elementor-element-e3f1883 .swiper-slide {
		flex: 0 0 25% !important;
		max-width: 25% !important;
		width: 25% !important;
	}

	body.home .elementor-element-07f6fe6 .wd-carousel-item,
	body.home .elementor-element-07f6fe6 .swiper-slide,
	body.home .elementor-element-0dbf4a1 .wd-carousel-item,
	body.home .elementor-element-0dbf4a1 .swiper-slide {
		flex: 0 0 25% !important;
		max-width: 25% !important;
		width: 25% !important;
	}

	body.home .elementor-element-6d61d44 .wd-carousel-item,
	body.home .elementor-element-6d61d44 .swiper-slide {
		flex: 0 0 25% !important;
		max-width: 25% !important;
		width: 25% !important;
	}
}

/* ══════════════════════════════════════════════════════════════
   Mobil
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
	body.home .elementor-element-e3f1883 .wd-carousel-item,
	body.home .elementor-element-e3f1883 .swiper-slide {
		flex: 0 0 calc(100% / 3) !important;
		max-width: calc(100% / 3) !important;
		width: calc(100% / 3) !important;
	}

	body.home .elementor-element-e3f1883 .wd-brand-item img,
	body.home .elementor-element-e3f1883 .wd-brand-item picture img {
		max-height: 38px !important;
	}

	body.home .elementor-element-07f6fe6 .wd-carousel-item,
	body.home .elementor-element-07f6fe6 .swiper-slide,
	body.home .elementor-element-0dbf4a1 .wd-carousel-item,
	body.home .elementor-element-0dbf4a1 .swiper-slide {
		flex: 0 0 50% !important;
		max-width: 50% !important;
		width: 50% !important;
	}

	body.home .elementor-element-07f6fe6 .wd-product .product-image-link img,
	body.home .elementor-element-0dbf4a1 .wd-product .product-image-link img {
		max-height: 150px !important;
	}

	body.home .elementor-element-6d61d44 .wd-carousel-item,
	body.home .elementor-element-6d61d44 .swiper-slide {
		flex: 0 0 calc(100% / 3) !important;
		max-width: calc(100% / 3) !important;
		width: calc(100% / 3) !important;
	}
}

@media (max-width: 480px) {
	body.home .elementor-element-e3f1883 .wd-carousel-item,
	body.home .elementor-element-e3f1883 .swiper-slide {
		flex: 0 0 50% !important;
		max-width: 50% !important;
		width: 50% !important;
	}

	body.home .elementor-element-6d61d44 .wd-carousel-item,
	body.home .elementor-element-6d61d44 .swiper-slide {
		flex: 0 0 50% !important;
		max-width: 50% !important;
		width: 50% !important;
	}
}
