.minimog-list {
	font-size: 0;
	max-width: 100%;

	.item {
		font-size: 0;
	}

	.list-header {
		display: flex;
		align-items: center;
	}

	.link {
		display: block;
		padding: 0;
		// Use transition of children.
		transition: none;
	}

	.icon {
		@extend %NormalTransition;
		flex-shrink: 0;
		font-size: 14px;
		margin-right: 10px;
		line-height: 1;

		svg {
			*[stroke^='#'],
			*[stroke^='url(#'] {
				stroke: currentColor;
			}

			*[fill^='#'],
			*[fill^='url(#'] {
				fill: currentColor;
			}
		}
	}

	.text {
		@extend %NormalTransition;
		font-size: 16px;
		margin-bottom: 0;
	}

	.item-order-count {
		@extend %NormalTransition;
		font-size: 24px;
		color: #000;
		min-width: 60px;
		height: 60px;
		display: inline-flex;
		border: 2px solid #c4c4c4;
		border-radius: 50%;
		align-items: center;
		justify-content: center;
		margin-right: 16px;
	}
}

.minimog-list-layout-block {
	.item + .item {
		margin-top: 6px;
	}
}

.minimog-list-layout-inline {
	.minimog-list {
		.item {
			display: inline-block;
			margin-bottom: 12px;

			+ .item {
				padding-left: 30px;
			}
		}
	}
}

.minimog-list-layout-columns {
	.minimog-list {
		position: relative;
		min-height: 1px;
		display: flex;
		flex-wrap: wrap;
		margin-left: -15px;
		margin-right: -15px;
	}

	.item {
		padding: 0 15px;
		flex-grow: 1;
		flex: 1 1 50%;

		&:nth-child(2) {
			~ .item {
				margin-top: 11px;
			}
		}
	}
}

.minimog-list-style-circle {
	.list-header {
		position: relative;
		padding: 0 0 0 16px;

		&:before {
			content: '';
			position: absolute;
			top: 50%;
			left: 0;
			transform: translate(0, -50%);
			width: 4px;
			height: 4px;
			border-radius: 50%;
			background: currentColor;
		}
	}
}

.minimog-list-style-icon-border {
	.minimog-icon {
		border: 2px solid currentColor;
		border-radius: 50%;
		padding: 0.313em;
	}
}

.minimog-list-style-hover-bottom-line {
	.text {
		@extend %LinkTransition;
	}
}

// Simple List
.minimog-simple-list {
	a {
		color: #666;
		display: block;
		line-height: 28px;

		&:hover {
			color: #000;
		}
	}

	.badge {
		position: relative;
		height: 100%;
	}

	.badge__text {
		position: absolute;
		top: -4px;
		left: 6px;
		font-size: 12px;
		text-transform: capitalize;
		line-height: 16px;
		padding: 1px 8px;
		font-weight: 500;
		border-radius: 11px;
		color: #fff;
		background-color: #f8796e;
	}
}

.minimog-simple-list--style-01 {
	.item {
		+ .item {
			margin-top: 10px;
		}
	}
}

.minimog-simple-list--style-02 {
	a {
		padding: 6px 12px;

		&:hover {
			background-color: rgba(61, 61, 80, 0.09);
		}
	}
}

.minimog-simple-list--style-03 {
	.item {
		&.truncated {
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;

			a {
				display: inline;

				&:after {
					bottom: 1px;
				}
			}
		}
	}

	a {
		display: inline-block;
		position: relative;

		&:after {
			content: '';
			width: 0;
			height: 1px;
			background-color: currentColor;
			position: absolute;
			bottom: 4px;
			right: 0;
			transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
		}

		&:hover {
			&:after {
				width: 100%;
				left: 0;
				right: auto;
			}
		}
	}
}
