/**
* 2007-2019 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2019 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.premium-categories {
	--bg-color: var(--main-color-2);

	margin-top: 50px;
	margin-bottom: 97px;
}

.premium-categories .row:not(.slick-slider) {
	margin-left: -29px;
	margin-right: -29px;
}
.premium-categories .row:not(.slick-slider)>div {
	padding-left: 29px;
	padding-right: 29px;
}

.premium-categories .selection-block {
	position: relative;
	overflow: hidden;
}

.premium-categories .slick-slide .col-md-4{
	flex: 0 0 100%;
	max-width: 100%;
	padding: 0;
}

.premium-categories .slick-list {
	margin-left: -14px;
	margin-right: -14px;
}

.premium-categories .slick-slide {
	margin: 0 29px;
}

.selection-block:before {
	position: absolute;
	content: "";
	height: 100%;
	width: 100%;
	background: var(--bg-color);
	opacity: 0;
	-webkit-transition: all ease-in-out .4s;
	transition: all ease-in-out .4s;
	z-index: 2;
}

.selection-block .selection-block--content {
	position: absolute;
	top: 50%;
	left: 0;
	-webkit-transform: translateY(-50%);
	        transform: translateY(-50%);
	width: 100%;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	z-index: 99;
	-webkit-transition: all ease-in-out .4s;
	transition: all ease-in-out .4s;
}

.selection-block .selection-block--content h2 {
	font-size: 24px;
	text-transform: uppercase;
	color: var(--white);
	margin-bottom: 24px;
	letter-spacing: 1.92px;
}

.selection-block:hover:before {
	opacity: .5;
}

.selection-block:hover .selection-block--content {
	opacity: 1;
	visibility: visible;
}

.selection-block img {
	width: 100%;
	-webkit-transition: all ease-in-out .5s;
	transition: all ease-in-out .5s;
}

.selection-block:hover img {
	-webkit-transform: scale(1.05);
	        transform: scale(1.05);
	-webkit-transition: all ease-in-out .5s;
	transition: all ease-in-out .5s;
}

@media (max-width: 767px) {
	.premium-categories {
		margin-top: 43px;
		margin-bottom: 38px;
	}

	.premium-categories .row {
		margin-left: -16px;
		margin-right: -16px;
	}

	.premium-categories .row > div{
		padding-left: 16px;
		padding-right: 16px;
	}

	.selection-block:hover:before {
		opacity: 0;
		display: none;
	}

	.selection-block .selection-block--content {
		opacity: 1;
		visibility: visible;
		top: 0;
		transform: none;
	}
	.selection-block .selection-block--content {
		position: relative;
		margin-bottom: 8px;
	}
	.selection-block .selection-block--content a{
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		text-indent: -999999px;
		margin: 0;
		background: transparent;
	}
	.selection-block .selection-block--content h2 {
		font-size: 15px;
		color: var(--main-color-2);
		margin-bottom: 5px;
		letter-spacing: 0.62px;
		font-weight: 600;
	}
	.selection-block .selection-block--content h3 {
		font-size: 13px;
		color: var(--main-color-2);
		margin-bottom: 0;
		letter-spacing: 0.75px;
	}
	.selection-block:hover img {
		transform: none;
	}
}