/* ------------------------------ */
/* КАРТОЧКА - КАТЕГОРИЯ С ИКОНКОЙ */
/* ------------------------------ */

/* Добавить в начало ярлыка:

cat-icon-card-left-
cat-icon-card-center-
cat-icon-card-right-

*/

/* ----------------- */
/* БЫСТРЫЕ НАСТРОЙКИ */
/* ----------------- */

:root {
	
	/* 1. Толщина линии */
	/* Кратность увеличения. 1- по умолчанию */
	--scale-line-cat-icon-card: .7;
	
	/* 2. Ширина линии */
	/* От 0 до 90 градусов. 0 - по умолчанию. Чем больше угол, тем короче линия */
	--width-line-cat-icon-card: 0deg;
	
	/* 3. Наклон линии */
	--rotate-line-cat-icon-card: 0deg;
	
	/* 4. Цвет линии */
	--color-line-cat-icon-card: #ffcd71;

}

/* 1. Раскомментировать, чтобы отключить ТЕНЬ при наведении на карточку */

.folders-row .col-lg-3 > a[href*="wpm-category/cat-icon-card-"][class*="folder-wrap"]:hover {
	filter: none;
}

/* Убираем рамку - ТЕНЬ вокруг карточки */

.folders-row a[href*="wpm-category/cat-icon-card-"][class*="folder-wrap"] {
	border: none;
	box-shadow: none;
	border-radius: 0;
	background: none;
	/* временный фон карточки */
    /* background: aqua;  */
}

/* Убираем ОПИСАНИЕ */

a[href*="wpm-category/cat-icon-card-"] > .folder-content {
	display: none;
}

/* Убираем СТИКЕР */

a[href*="wpm-category/cat-icon-card-"] .label {
	display: none;
}

/* Переносим карточку КАТЕГОРИЯ на новую строку */

.col-lg-3:has(a[href*="wpm-category/cat-icon-card-"][class*="folder-wrap"]) {
	display: block!important;
	width: 100%!important;
	z-index: 498!important;
}

/* ---------------- */
/* Отступы карточки */

@media (min-width: 1400px) {

.col-lg-3:has(a[href*="wpm-category/cat-icon-card-"][class*="folder-wrap"]) {
    /* margin-bottom: -3px; */
    /* margin-top: 94px; */
    margin-bottom: 15px;
    margin-top: 64px;

}
}

@media (min-width: 1200px) and (max-width: 1399px) {

.col-lg-3:has(a[href*="wpm-category/cat-icon-card-"][class*="folder-wrap"]) {
    margin-bottom: 114px;
    margin-top: -25px;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

.col-lg-3:has(a[href*="wpm-category/cat-icon-card-"][class*="folder-wrap"]) {
	margin-bottom: 87px;
    margin-top: 3px;
}
}

@media (min-width: 768px) and (max-width: 991px) {

.col-lg-3:has(a[href*="wpm-category/cat-icon-card-"][class*="folder-wrap"]) {
    margin-bottom: 117px;
    margin-top: -28px;
}
}

@media (min-width: 460px) and (max-width: 767px) {

.col-lg-3:has(a[href*="wpm-category/cat-icon-card-"][class*="folder-wrap"]) {
    margin-bottom: 113px;
    margin-top: -23px;
}
}

@media (min-width: 320px) and (max-width: 459px) {

.col-lg-3:has(a[href*="wpm-category/cat-icon-card-"][class*="folder-wrap"]) {
    margin-bottom: 107px;
    margin-top: -46px;
}
}

/* ВЫСОТА карточки на разных экранах */

@media (min-width: 1400px) {

a[href*="wpm-category/cat-icon-card-"][class*="folder-wrap"] {
	height: 120px!important;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

a[href*="wpm-category/cat-icon-card-"][class*="folder-wrap"] {
	height: 110px!important;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

a[href*="wpm-category/cat-icon-card-"][class*="folder-wrap"] {
	height: 100px!important;
}
}

@media (min-width: 768px) and (max-width: 991px) {

a[href*="wpm-category/cat-icon-card-"][class*="folder-wrap"] {
	height: 80px!important;
}
}

@media (min-width: 460px) and (max-width: 767px) {

a[href*="wpm-category/cat-icon-card-"][class*="folder-wrap"] {
	height: 60px!important;
}
}

@media (min-width: 320px) and (max-width: 459px) {

a[href*="wpm-category/cat-icon-card-"][class*="folder-wrap"] {
	height: 60px!important;
}
}

/* ------- */
/* ОБЛОЖКА */

/* Убираем обрезку обложки */

a[href*="wpm-category/cat-icon-card-"] .folder-front,
a[href*="wpm-category/cat-icon-card-"] .folder-sub-front {
	z-index: 10;
	width: 100%!important;
	border-radius: 0!important;
	clip-path: none!important;
	top: 0;
	background: none;
}

/* Убираем коррекцию обложки */
	
a[href*="wpm-category/cat-icon-card-"] .folder-front path[id*="shape-front"],
a[href*="wpm-category/cat-icon-card-"] .folder-sub-front path[id*="shape-front"] {
	transform: none;
}

/* Убираем коррекцию стилей от Mozilla Firefox */

a[href*="wpm-category/cat-icon-card-"] .folder-front use[fill^="url"],
a[href*="wpm-category/cat-icon-card-"] .folder-sub-front use[fill^="url"] {
	transform: none;
}

/* Фоновая картинка ИКОНКА на разных экранах */

/* --------------------------- */
/* ВЫРАВНИВАНИЕ ИКОНКИ - СЛЕВА */

@media (min-width: 1400px) {

a[href*="wpm-category/cat-icon-card-left-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-left-"] .folder-sub-front  pattern image

{
    transform: translate(0px, 91px);
    width: 22px;
    height: 22px;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

a[href*="wpm-category/cat-icon-card-left-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-left-"] .folder-sub-front  pattern image

{
    transform: translate(0px, 89.5px);
    width: 25px;
    height: 25px;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

a[href*="wpm-category/cat-icon-card-left-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-left-"] .folder-sub-front  pattern image

{
    transform: translate(0px, 89.5px);
    width: 25px;
    height: 25px;
}
}

@media (min-width: 768px) and (max-width: 991px) {

a[href*="wpm-category/cat-icon-card-left-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-left-"] .folder-sub-front  pattern image

{
    transform: translate(0px, 88.8px);
    width: 26px;
    height: 26px;
}
}

@media (min-width: 460px) and (max-width: 767px) {

a[href*="wpm-category/cat-icon-card-left-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-left-"] .folder-sub-front  pattern image

{
    transform: translate(0px, 81px);
    width: 41px;
    height: 41px;
}
}

@media (min-width: 320px) and (max-width: 459px) {

a[href*="wpm-category/cat-icon-card-left-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-left-"] .folder-sub-front  pattern image

{
    transform: translate(0px, 81px);
    width: 41px;
    height: 41px;
}
}

/* --------------------------- */
/* ВЫРАВНИВАНИЕ ИКОНКИ - ЦЕНТР */

@media (min-width: 1400px) {

a[href*="wpm-category/cat-icon-card-center-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-center-"] .folder-sub-front  pattern image

{
    transform: translate(124px, 91px);
    width: 22px;
    height: 22px;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

a[href*="wpm-category/cat-icon-card-center-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-center-"] .folder-sub-front  pattern image

{
    transform: translate(122px, 89.5px);
    width: 25px;
    height: 25px;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

a[href*="wpm-category/cat-icon-card-center-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-center-"] .folder-sub-front  pattern image

{
    transform: translate(122px, 89.5px);
    width: 25px;
    height: 25px;
}
}

@media (min-width: 768px) and (max-width: 991px) {

a[href*="wpm-category/cat-icon-card-center-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-center-"] .folder-sub-front  pattern image

{
    transform: translate(122px, 88.8px);
    width: 26px;
    height: 26px;
}
}

@media (min-width: 460px) and (max-width: 767px) {

a[href*="wpm-category/cat-icon-card-center-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-center-"] .folder-sub-front  pattern image

{
    transform: translate(115px, 81px);
    width: 41px;
    height: 41px;
}
}

@media (min-width: 320px) and (max-width: 459px) {

a[href*="wpm-category/cat-icon-card-center-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-center-"] .folder-sub-front  pattern image

{
    transform: translate(115px, 81px);
    width: 41px;
    height: 41px;
}
}

/* ---------------------------- */
/* ВЫРАВНИВАНИЕ ИКОНКИ - СПРАВА */

@media (min-width: 1400px) {

a[href*="wpm-category/cat-icon-card-right-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-right-"] .folder-sub-front  pattern image

{
    transform: translate(248px, 91px);
    width: 22px;
    height: 22px;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

a[href*="wpm-category/cat-icon-card-right-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-right-"] .folder-sub-front  pattern image

{
    transform: translate(245px, 89.5px);
    width: 25px;
    height: 25px;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

a[href*="wpm-category/cat-icon-card-right-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-right-"] .folder-sub-front  pattern image

{
    transform: translate(245px, 89.5px);
    width: 25px;
    height: 25px;
}
}

@media (min-width: 768px) and (max-width: 991px) {

a[href*="wpm-category/cat-icon-card-right-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-right-"] .folder-sub-front  pattern image

{
    transform: translate(244px, 88.8px);
    width: 26px;
    height: 26px;
}
}

@media (min-width: 460px) and (max-width: 767px) {

a[href*="wpm-category/cat-icon-card-right-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-right-"] .folder-sub-front  pattern image

{
    transform: translate(229px, 81px);
    width: 41px;
    height: 41px;
}
}

@media (min-width: 320px) and (max-width: 459px) {

a[href*="wpm-category/cat-icon-card-right-"] .folder-front pattern image,
a[href*="wpm-category/cat-icon-card-right-"] .folder-sub-front  pattern image

{
    transform: translate(229px, 81px);
    width: 41px;
    height: 41px;
}
}

/* -------------------------- */
/* ЛИНИИ ПО БОКАМ ОТ КАРТИНКИ */

/* Общие настройки */

a[href*="wpm-category/cat-icon-card-left-"]:after,

a[href*="wpm-category/cat-icon-card-center-"]:before,
a[href*="wpm-category/cat-icon-card-center-"]:after,

a[href*="wpm-category/cat-icon-card-right-"]:after
 {
	content: "";
	display: block;
    position: relative;
    background: var(--color-line-cat-icon-card);
	border-radius: 10px;
	height: 10px;
	transform: scaleY(var(--scale-line-cat-icon-card)) rotateY(var(--width-line-cat-icon-card)) rotateZ(var(--rotate-line-cat-icon-card));
}

/* -------------------------- */
/* ВЫРАВНИВАНИЕ ЛИНИИ - СЛЕВА */

@media (min-width: 1400px) {

a[href*="wpm-category/cat-icon-card-left-"]:after {
    width: 1195px;
    top: 55px;
    left: 145px;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

a[href*="wpm-category/cat-icon-card-left-"]:after {
    width: 995px;
    top: 50px;
	left: 145px;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

a[href*="wpm-category/cat-icon-card-left-"]:after {
    width: 815px;
    top: 45px;
	left: 125px;
}
}

@media (min-width: 768px) and (max-width: 991px) {

a[href*="wpm-category/cat-icon-card-left-"]:after {
    width: 620px;
    top: 35px;
    left: 100px;
}
}

@media (min-width: 460px) and (max-width: 767px) {

a[href*="wpm-category/cat-icon-card-left-"]:after {
    width: 265px;
    top: 25px;
    left: 75px;
}
}	

@media (min-width: 320px) and (max-width: 459px) {

a[href*="wpm-category/cat-icon-card-left-"]:after {
    width: 285px;
    top: 25px;
    left: 75px;
}
}

/* -------------------------- */
/* ВЫРАВНИВАНИЕ ЛИНИИ - ЦЕНТР */

@media (min-width: 1400px) {

a[href*="wpm-category/cat-icon-card-center-"]:before{
    width: 580px;
    top: 55px;
}

a[href*="wpm-category/cat-icon-card-center-"]:after {
    width: 580px;
    top: 45px;
    float: right;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

a[href*="wpm-category/cat-icon-card-center-"]:before {
    width: 480px;
	top: 50px;
}

a[href*="wpm-category/cat-icon-card-center-"]:after {
    width: 480px;
    top: 40px;
    float: right;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

a[href*="wpm-category/cat-icon-card-center-"]:before {
    width: 390px;
    top: 45px;
}

a[href*="wpm-category/cat-icon-card-center-"]:after{
    width: 390px;
    top: 35px;
    float: right;
}
}

@media (min-width: 768px) and (max-width: 991px) {

a[href*="wpm-category/cat-icon-card-center-"]:before {
    width: 290px;
    top: 35px;
}

a[href*="wpm-category/cat-icon-card-center-"]:after {
    width: 290px;
    top: 25px;
    float: right;
}
}

@media (min-width: 460px) and (max-width: 767px) {

a[href*="wpm-category/cat-icon-card-center-"]:before {
    width: 120px;
    top: 25px;
}

a[href*="wpm-category/cat-icon-card-center-"]:after {
    width: 120px;
    top: 15px;
    float: right;
}
}

@media (min-width: 320px) and (max-width: 459px) {

a[href*="wpm-category/cat-icon-card-center-"]:before {
    width: 130px;
    top: 25px;
}

a[href*="wpm-category/cat-icon-card-center-"]:after {
    width: 130px;
    top: 15px;
    float: right;
}
}

/* --------------------------- */
/* ВЫРАВНИВАНИЕ ЛИНИИ - СПРАВА */

@media (min-width: 1400px) {

a[href*="wpm-category/cat-icon-card-right-"]:after {
    width: 1195px;
    top: 55px;
    left: 0;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

a[href*="wpm-category/cat-icon-card-right-"]:after {
    width: 995px;
    top: 50px;
    left: 0;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

a[href*="wpm-category/cat-icon-card-right-"]:after {
    width: 815px;
    top: 45px;
    left: 0;
}
}

@media (min-width: 768px) and (max-width: 991px) {

a[href*="wpm-category/cat-icon-card-right-"]:after {
    width: 620px;
    top: 35px;
    left: 0;
}
}

@media (min-width: 460px) and (max-width: 767px) {

a[href*="wpm-category/cat-icon-card-right-"]:after{
    width: 265px;
    top: 25px;
    left: 0;
}
}	

@media (min-width: 320px) and (max-width: 459px) {

a[href*="wpm-category/cat-icon-card-right-"]:after {
    width: 285px;
    top: 25px;
    left: 0;
}
}

/* -------- */
/* АНИМАЦИИ */

/* Убираем увеличение и цветокоррекцию */

a[href*="wpm-category/cat-icon-card-"]:hover .folder-sub-front pattern image,
a[href*="wpm-category/cat-icon-card-"]:hover .folder-front pattern image

 {
	filter: none;
}