/*
Theme Name:   Somentra Child
Theme URI:    https://themeforest.net/user/greatives
Description:  Somentra Child Theme
Version:      2.1.0
Author:       Greatives Team
Author URI:   https://greatives.eu
Template:     impeka
*/

/* * * * * * * * * * * * */
/* * * * MAGASINER * * * */
/* * * * * * * * * * * * */
.search-filter-query-posts .row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.search-filter-result-item .search-filter-result-image {
	aspect-ratio: 128/163;
	overflow: hidden;
}
.search-filter-result-item .search-filter-result-image img {
	aspect-ratio: inherit;
	object-fit: cover;
	object-position: center;
	overflow: hidden;
	transition: transform .25s ease-in;
}
/* HOVER */
.search-filter-result-item:hover .search-filter-result-image img {
	transform: scale(1.1);
}

@media screen and (min-width: 768px) {
	.search-filter-result-item {
		width: calc(50% - 8px);
	}
}
@media screen and (min-width: 999px) {
	.search-filter-result-item {
		width: calc(25% - 12px);
	}
}

/* * * * * * * * * * * * */
/* MAGASINER (ACCORDION) */
/* * * * * * * * * * * * */
.gbs-accordion>ul {
	list-style: none !important;
	padding-left: 0 !important;
}
.gbs-accordion>ul li:before {
	display: none !important;
}
.gbs-accordion .grve-accordion-content {
	max-width: 100%;
}
.gbs-accordion .grve-accordion-content-inner { 
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.gbs-accordion .grve-accordion-content-inner > a .magasin-image {
	position: relative;
	aspect-ratio: 128/163;
	overflow: hidden;
	margin-bottom:10px;
}
.gbs-accordion .grve-accordion-content-inner > a .magasin-image:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0);
	transition: all .5s ease;
}
.gbs-accordion .grve-accordion-content-inner > a .magasin-image img {
	position: relative;
	aspect-ratio: inherit;
	object-fit: cover;
	object-position: center;
	width: 100%;
	overflow: hidden;
	transition: transform .25s ease-in;
}

.gbs-accordion .grve-accordion-content-inner a {
	cursor: none !important;
}
.gbs-accordion .grve-accordion-content-inner .magasin-title {
	text-align:center;
}
/* HOVER */
.gbs-accordion .grve-accordion-content-inner > a:hover .magasin-image:after {
	background: rgba(0, 0, 0, .7);
}
.gbs-accordion .grve-accordion-content-inner > a:hover .magasin-image img {
	transform: scale(1.02);
}

@media screen and (max-width: 767px) {
	.gbs-accordion .grve-accordion-content-inner > a {
		width: calc(50% - 12px);
	}
}
@media screen and (min-width: 768px) {
	.gbs-accordion .grve-accordion-content-inner > a {
		width: calc(25% - 12px);
	}
}

/* * * * * * * * * * * * */
/* *  MAGASIN CURSOR * * */
/* * * * * * * * * * * * */
.custom-cursor.magasin-hover {
	width: 60px;
	height: 60px;
	background-color: #fff;
	border-radius: 50%;
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	transform: translate(-50%, -50%);
	transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
	z-index: 9999999;
	display: flex;
	justify-content: center;
	align-content: center;
	pointer-events: none;
}
.custom-cursor.magasin-hover img {
	width: 30px;
}